Programming the statistical procedures from SAS

PROC MI TO PROC MIXED

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

PROC MI TO PROC MIXED

I am trying to run a proc mixed statement, after performing a proc mi on my original dataset. However, I can't find an option for output for the proc mixed statement in the SAS references. The example I have been seeing is from a proc reg statement, using "outest=". This does not work with proc mixed. Any suggestions?

 

Below is the code I have so far, going from the proc mi to the proc mixed. I am trying to get output from the proc mixed statement, so I can go on to perform a proc mianalyze. 

 

proc mi data=CE.merge nimpute=20 seed=111111

out=CE.Imputed_Data2;

var MADRS BMI;

title 'PROC MI on Transposed Adiponectin File: MADRS and BMI';

run

 

ods graphics off;

proc mixed data=CE.Imputed_Data2 

<where I will insert a data ouput option> covout;

model <where I will insert variables for the model>;

by isid;

run; quit;

 

Thanks,

Jamie


Accepted Solutions
Solution
‎02-21-2017 03:40 PM
Respected Advisor
Posts: 2,655

Re: PROC MI TO PROC MIXED

Look at the following thread to see if anything there helps you out:

 

https://communities.sas.com/t5/SAS-Statistical-Procedures/Proc-Mianalyze-with-mixed-models/m-p/15577...

 

Steve Denham

View solution in original post


All Replies
Solution
‎02-21-2017 03:40 PM
Respected Advisor
Posts: 2,655

Re: PROC MI TO PROC MIXED

Look at the following thread to see if anything there helps you out:

 

https://communities.sas.com/t5/SAS-Statistical-Procedures/Proc-Mianalyze-with-mixed-models/m-p/15577...

 

Steve Denham

☑ This topic is SOLVED.

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

Discussion stats
  • 1 reply
  • 93 views
  • 1 like
  • 2 in conversation