turn on suggestions

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

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Partial F-test & model mean square / model degrees...

Topic Options

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

03-24-2014 05:37 PM

Hello all!

I have a two-part question:

What is the easiest way to calculate a partial f-test for two or more variables from a model estimated via proc autoreg? My current idea was to just estimate the model with all variables and then with the variables in question removed, and then divide the marginal mean square model by the full model mean square to get the value for the f-test of the variables in question, and then use sas function "probf(x,df1,df2)" to get the p-value to determine significance of variables in question. - If there is a better/easier way, please let me know (I couldn't find an option in autoreg to do this for me, but perhaps I overlooked something?)

- If this is the way to go about this then I have a further question:

To go about this method, I need the Model Mean Square, or the Model Sum of Squares & Model Degrees of Freedom from autoreg, but it seems that it only output the Mean Square Error / Error Degrees of Freedom. Is there any way that I can get Model Mean Square from autoreg?

Thanks!!!

-Ryan