Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
BeeBop9
Calcite | Level 5

I want to build a regression model (OLS) with the following:

 

My data set is at the medical provider level (N=10,000 approx).  I have several providers within each US state, sometimes hundreds.

My dependent variables is "hours worked (for various categories of worker) per patient".  This is at the provider level.

My independent variables are:  state (I have 52 states), and the minimum wage in each state (state level variable).

 

I want state to be a fixed effect, since there are many providers in each state.

 

How do I specify this model --PROC GLM?   Or is there another proc that's more appropriate? 

 

Thanks!    

 

 -Dave  

1 REPLY 1
PaigeMiller
Diamond | Level 26

Yes, you can do this in PROC GLM.

 

If you don't specifically designate variable STATE to be random, then it is assumed to be fixed.

 

I want state to be a fixed effect, since there are many providers in each state.

 

As far as I know, this is not a reason for variable STATE to be fixed. (It should be fixed, but not for that reason).

--
Paige Miller

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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.

Discussion stats
  • 1 reply
  • 598 views
  • 0 likes
  • 2 in conversation