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.
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,
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,
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 16. Read more here about why you should contribute and what is in it for you!
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.