BookmarkSubscribeRSS Feed
Turkeyboy
Calcite | Level 5

Hi,

I am estimating a non-linear seemingly unrelated regressing using proc model, as follows:

proc model data=temp2w;
   Y1= a0 + ((gamma))*(rho1)*X1+ (1-(theta))*(rho2)*X2;
   Y2= b0 + (1-(gamma))*(rho1)*X1+ (theta)*(rho2)*X2;
   fit  dPIFO dPIDOM/ sur;
run;
quit;

I need estimates of a0, b0, gamma, theta, rho1, and rho2. The model estimates the parameters as I would expect. Is there a way to adjust standard errors for clustered observations in SAS? My dataset consists of a panel of firms, and there is reason to suspect that observations are not independent within a firm.

3 REPLIES 3
kessler
SAS Employee

Unfortunately, PROC MODEL doesn't support the estimation of parameters in a system of equations with random effects.  I'm not aware of any other SAS procedures that can address this problem either.  We'll look into adding this ability to a future version of MODEL.

Turkeyboy
Calcite | Level 5

Thanks for your reply! I don't think I need random effects, however. I want the fixed effects estimates the model produces, but I want to adjust the standard errors for possible intra-cluster correlations. For example, proc genmod allows for the "repeated' command which adjusts the standard errors for non independence within the groups. Is there any way to do this in proc model?

kessler
SAS Employee

PROC MODEL can correct the standard errors for heteroscedasticity using the HCCME= option on the FIT statement.  This option does not allow you to specify the structure of the clustering of the data, but it may give you results closer to what you're looking for.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Multiple Linear Regression in SAS

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.

Discussion stats
  • 3 replies
  • 1364 views
  • 0 likes
  • 2 in conversation