Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Re: How to predict the fixed effects and fixed & random effects when u...

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 12-07-2019 05:20 PM
(923 views)

I am using PROC MIXED in SAS Studio. When looking through communities here, I found this one response that sort of answers my question, but the problem is, I don't understand how to use it.

The OUTM= option on the model statement gives you just the predicted fixed-effects means (and associated statistics, such as standard errors). The OUTP= option gives you the predictions for fixed and random effects (i.e., the EBLUPS), with associated statistics.

The following is my current code, and I don't quite understand how to put the OUTM and the OUTP options in my model.

PROC MIXED data=bmi METHOD=ML COVTEST; CLASS studyid; MODEL ChildhoodBMIz = age sex age*age /SOLUTION; RANDOM INTERCEPT age /SUB=studyid TYPE=UN G GCORR; RUN;

**However, if there is another, easier way to do accomplish what I am trying to do, then I will gladly do that instead. **

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

`MODEL ChildhoodBMIz = age sex age*age /SOLUTION outp=sas_data_set_name outpm=sas_data_set_name2;`

--

Paige Miller

Paige Miller

3 REPLIES 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

The OUTP= option and the OUTPM= option (no such option as OUTM=) go in the MODEL statement.

--

Paige Miller

Paige Miller

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Okay, thank you for the link, but I still do not understand how to put it into my code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

`MODEL ChildhoodBMIz = age sex age*age /SOLUTION outp=sas_data_set_name outpm=sas_data_set_name2;`

--

Paige Miller

Paige Miller

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

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.