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, 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2064 views
  • 0 likes
  • 2 in conversation