Hello Community,
I'm trying to perform a partial F-test. My question is: Is a specific group of variables together significant?
As an example: Test for the variables jan-dez (dummy-variables for each month):
y= ß1*did+ß2*treatment+ß3*secyear+ß4*jan+ß5*feb+...+ß15*dez
F-test:
ß4=ß5=...=ß15=0
I can do that in PROC REG with TEST, but in PROC PANEL it does not work.
Hope someone can help me.
Kind regards,
Emanuel
Have you tried:
Test: jan=0, feb=0,mar=0,..., dez=0;
It appears that the syntax for PROC PANEL uses the variable names rather than the beta's associated with the variables.
Steve Denham
Hi,
I tested that today, but I get an error: "the test ... cannot be implemented due to collinearity problems"
jan is not in the sample!
Emanuel
This is likely because Jan is not in the model as it was dropped due to the "dummy variable trap." Make sure your tests refer to parameters that were actually estimated. -Ken
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!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.