Hi,
I want to run the macro Jointpair to fix a Random-Effects Model for Multiple Characteristics. The input data has three variables,19 units and 14 moments of observation (longitudinal data) but the results show errors associated to matrix operations. Share with you the output log. May someone knows how to save the error.
Thanks!
The error says that the ESTIMATE variable is not in a data set that you are reading. Theerror is most likely occuring on Line 1754:
1748 /*---------------------------------------*/
1749 /* Construction of pair specific D */
1750 /*---------------------------------------*/
1751 /*Dpair(k)*/
1752
1753 use _covariantieD where (pair=&k);
1754 read all var{estimate pair r c};
1755 close _covariantieD;
A few lines later you get another error:
1776 use _covariantieerror where (pair=&k);
1777 read all var{estimate pair r c};
1778 close _covariantieerror;
WARNING: Data set WORK._COVARIANTIEERROR is empty.
There is no way for me to determine why these errors are occuring, but you might try inserting a PROC PRINT or PROC CONTENTS on Line 1732 to see what these files contain before the program enters PROC IML.
Hi, I´ll try to insert those sentences. Thanks for you advice!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.