Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PiotrLewczuk
Fluorite | Level 6

Good morning,

How can I store effects from the "missmodel" of the proc gee to be able to use them in proc mianalyze?

Briefly, I have imputed M=10 (works fine) then I have run:

 

proc gee data=d;
by _imputation_;
class output t_class id;
model output = t v1 v2 v3 / dist=bin;                                   /* These effects seem to be stored */
repeated subject=id / within=t_class corr=un ecovb;
missmodel t v1 v2 v3 prev / type=obslevel;                        /* These effects I would like to store, too */
ods output GEEEmpPEst=gmparms_mi_1 parminfo=gmpinfo_mi_1
modelinfo=modelinfo_mi_1 GEERCov=gmcovb_mi_1;
run;

 

Now when I run proc mianalyze I get an error "The effect prev is not in the PARMINFO= data set."

Could you kindly help?

Thanks in advance,

Piotr Lewczuk

 

1 ACCEPTED SOLUTION

Accepted Solutions
MichaelL_SAS
SAS Employee

The table name for the missingness model parameter estimates is MissModelPEst, they are not included in the response model parameter estimates table (the GEEEmpPEst table). 

 

Note you can always use the  ODS TRACE statement to request a record of each output object that's produced. That information will be written to the SAS log and it will include the table name. Also at the end of the details section for SAS/STAT procedures there will be a section on ODS Table Names that will summarize the table names and the statement/option that requests the table. Here is that section for PROC GEE

View solution in original post

2 REPLIES 2
MichaelL_SAS
SAS Employee

The table name for the missingness model parameter estimates is MissModelPEst, they are not included in the response model parameter estimates table (the GEEEmpPEst table). 

 

Note you can always use the  ODS TRACE statement to request a record of each output object that's produced. That information will be written to the SAS log and it will include the table name. Also at the end of the details section for SAS/STAT procedures there will be a section on ODS Table Names that will summarize the table names and the statement/option that requests the table. Here is that section for PROC GEE

PiotrLewczuk
Fluorite | Level 6

Thank you very much! This is very helpful.

Piotr

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1030 views
  • 2 likes
  • 2 in conversation