The next example puts the contents of the variable CELL23, the number 100, into the (2,3) element of the matrix A: PROC IML; a={ XXXXXXXXXX,9 91 95, XXXXXXXXXX,8 90 87, XXXXXXXXXX}; PRINT "Prior to...

The next example puts the contents of the variable CELL23, the number 100, into the (2,3) element of the matrix A: PROC IML; a={10 88 92,9 91 95,10 85 83,8 90 87,10 92 96}; PRINT "Prior to replace:" a; cell23 = 100; J.J. Perrett, A SAS/IML Companion for Linear Models, Statistics and Computing, 75 DOI 10.1007/978-1-4419-5557-9_4, C Springer Science+Business Media, LLC 2010 76 4 Matrix Manipulations in SAS/IML a[2,3] = cell23; PRINT "After replace:" a; QUIT; This also could have been accomplished directly by replacing the fourth and fifth lines of the previous code with a[2,3] = 100;.

Dec 14, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here