Programming the statistical procedures from SAS

Proc Mixed ODS TESTS3 Output

Accepted Solution Solved
Reply
Contributor
Posts: 59
Accepted Solution

Proc Mixed ODS TESTS3 Output

As part of the output from a Proc Mixed model, I am requesting that the ODS table TESTS3 be ouput. This table contains summary statistics wrt the performance of the independent variables in the model. However, when I run this module on data, I get an error that TESTS3 could not be created without an explanation, here's what SAS says, "WARNING: Output 'tests3' 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."


Otherwise, the model converges and does everything else it's supposed to do. Here is my code:

 


proc mixed data=resids covtest noclprint namelen=50 METHOD=MIVQUE0;
class day month year networktype orig_acq genre net;
model LOGLIVE7RATING2=trend programtenure totallynewprogram censored
dayssincelastbroadcastrecp nads_sqrt trend*nads_sqrt
day month*year networktype ORIG_ACQ genre
/solution s ddfm=bw notest
outp=residsx(keep=net pgm trend pred live7rating loglive7rating2 where=(loglive7rating2=.));
random intercept trend/sub=net type=un g;
ods output tests3=tests;*summary stats;
run;

 

I have highlighted the offending line of code. 

 

Any ideas as to what's going on?

 

Thank you!

 


Accepted Solutions
Solution
‎03-09-2016 05:38 PM
Grand Advisor
Posts: 16,872

Re: Proc Mixed ODS TESTS3 Output

Just a guess, but the NOTEST option in your MODEL statement is probably supressing creation of the table.

model LOGLIVE7RATING2=trend programtenure totallynewprogram censored
dayssincelastbroadcastrecp nads_sqrt trend*nads_sqrt
day month*year networktype ORIG_ACQ genre
/solution s ddfm=bw notest
outp=residsx(keep=net pgm trend pred live7rating loglive7rating2 where=(loglive7rating2=.));

NOTEST

specifies that no hypothesis tests be performed for the fixed effects

 

View solution in original post


All Replies
Solution
‎03-09-2016 05:38 PM
Grand Advisor
Posts: 16,872

Re: Proc Mixed ODS TESTS3 Output

Just a guess, but the NOTEST option in your MODEL statement is probably supressing creation of the table.

model LOGLIVE7RATING2=trend programtenure totallynewprogram censored
dayssincelastbroadcastrecp nads_sqrt trend*nads_sqrt
day month*year networktype ORIG_ACQ genre
/solution s ddfm=bw notest
outp=residsx(keep=net pgm trend pred live7rating loglive7rating2 where=(loglive7rating2=.));

NOTEST

specifies that no hypothesis tests be performed for the fixed effects

 

Contributor
Posts: 59

Re: Proc Mixed ODS TESTS3 Output

Right you are! Thank you.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 227 views
  • 0 likes
  • 2 in conversation