Help using Base SAS procedures

Random Effects Model

Not applicable
Posts: 0

Random Effects Model

I want to run a random effects model, but due to a lack of statistical knowledge I don't know exactly how I should specify that in SAS and which procedure I should use.

My dataset exists of panel data covering 10 years and 39 companies. The dependent variable is continuous, as well as most of the independent variables.

Can someone advise me what to do?

Super Contributor
Super Contributor
Posts: 3,176

Re: Random Effects Model

Posted in reply to deleted_user
There is much (and it's free) information at the SAS Support website with SAS-hosted documentation and supplemental technical / reference material for your reference and use.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic / post:

random effects model
Regular Contributor
Posts: 171

Re: Random Effects Model

Posted in reply to deleted_user
You state that the data cover 10 years and 39 companies, but you don't state whether that is one measurement per company per year or one measurement in each company in the first year and again in year 10 or something else entirely. Thus, it is hard to gauge the extent to which this is a problem where the residuals should be treated as coming from a time series vs a problem where the residuals covariance matrix can only be treated as being correlated.

I would direct you to the TSCSREG procedure in the ETS module or the MIXED procedure in the STAT module as places to start. The TSCSREG procedure is designed specifically to model time series data for multiple cross-sectional units (companies). The MIXED procedure has some functionality for handling time series data, but has capability for more general modeling of residual covariance structures. One or the other of those ought to handle your data pretty nicely.
Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation