BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
lyton80
Obsidian | Level 7

I am using proc genmod and proc mianalyze. There is a discrepancy between the number of parameters in the genmod (with noscale option) and Cov parameter list.

 

proc genmod data=Edeathm2;
class issstg mmtg;
model pdgrp1 = mmtg issstg ECOGG cyto2rg ldhg/dist=bin noscale lrci covb;
by _Imputation_;
ods output ParameterEstimates=lgparms CovB=lgcovb parminfo= parmdata;
run;

 

proc mianalyze parms(classvar= level)= lgparms covb=lgcovb parminfo=parmdata;
class issstg mmtg;
modeleffects Intercept mmtg issstg ECOGG cyto2rg ldhg;
ods output ParameterEstimates=est1;
run;

 

I am returning this error: "ERROR: The parameter Prm4 in the PARMINFO= data set is not in the COVB= data set".

when I run proc mianalyze. Thanks in advance for the assistance.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

All MIANALYZE needs is the PARMS= data set.  The only time you need the other two data sets is when you have a TEST statement or use the MULT option, neither of which are available with a CLASS statement.

 

This should work:

 

proc mianalyze parms(classvar= level)= lgparms;
class issstg mmtg;
modeleffects Intercept mmtg issstg ECOGG cyto2rg ldhg;
ods output ParameterEstimates=est1;
run;

 

 

That being said, 

View solution in original post

1 REPLY 1
SAS_Rob
SAS Employee

All MIANALYZE needs is the PARMS= data set.  The only time you need the other two data sets is when you have a TEST statement or use the MULT option, neither of which are available with a CLASS statement.

 

This should work:

 

proc mianalyze parms(classvar= level)= lgparms;
class issstg mmtg;
modeleffects Intercept mmtg issstg ECOGG cyto2rg ldhg;
ods output ParameterEstimates=est1;
run;

 

 

That being said, 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 1953 views
  • 0 likes
  • 2 in conversation