BookmarkSubscribeRSS Feed
PaigeMiller
Diamond | Level 26

Show the log for PROC MIXED where you used the SOLUTIONF option and it didn't work.

--
Paige Miller
lkjjl
Fluorite | Level 6

I run:

 

data a;
input x1 y study;
id = _n_;
datalines;
0 2 1
1 4 1
2 3 1
3 6 2
4 6 2
5 5 2
6 8 3
7 10 3
8 9 3
9 9 3
;
run;

proc mixed data=a;
ods output solutionF=parms;
class study;
model y = x1;
RANDOM study / SOLUTION;
run;

 

and the log was:

 

 
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
NOTE: Las sentencias ODS en el entorno SAS Studio podrían deshabilitar algunas características de salida.
73
74 data a;
75 input x1 y study;
76 id = _n_;
77 datalines;
 
NOTE: The data set WORK.A has 10 observations and 4 variables.
NOTE: DATA statement ha utilizado (Tiempo de proceso total):
real time 0.00 seconds
cpu time 0.00 seconds
 
 
88 ;
89 run;
90
91 proc mixed data=a;
92 ods output solutionF=parms;
93 class study;
94 model y = x1;
95 RANDOM study / SOLUTION;
96 run;
 
NOTE: Criterio de convergencia cumplido.
NOTE: La matriz G estimada no se ha definido positiva.
WARNING: Output 'solutionF' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,
verify that the appropriate procedure options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used.
NOTE: PROCEDURE MIXED ha utilizado (Tiempo de proceso total):
real time 0.16 seconds
cpu time 0.17 seconds
 
 
97
98 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
PaigeMiller
Diamond | Level 26

The SOLUTION option is needed in the MODEL statement. (You may also want it in the RANDOM statement, but that doesn't seem to be what you are asking for in this thread)

--
Paige Miller
lkjjl
Fluorite | Level 6
I am go try your suggestion and I will give you a feedback. Many thanks for your help.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 18 replies
  • 3599 views
  • 2 likes
  • 6 in conversation