BookmarkSubscribeRSS Feed
aminkarimid
Lapis Lazuli | Level 10

Hello everybody,

I want to run a regression between volume and time, including a fixed effect for each firm (firm_code). So, I use two ways to estimate parameters which are shown below:

 

Proc glm DATA=Sampledata;
	class time firms;
	model volume = time firms / solution;
run;

And another approach is:

proc tscsreg data= Sampledata;
	model volume = time1 time2 time_3 time_4
time_5 time_6/ fixone;
	id firms datetime;
run;

Time1, time2, ... are dummy variables based on time.

However, estimated parameters and their t values are so different in two procedures.

So, what is the problem? because both of them use OLS to estimate and these are same procedures to consider firm fixed effect.

 

Thanks in advance

1 REPLY 1
aminkarimid
Lapis Lazuli | Level 10

Hello everybody.
I have no response until now.
Is my question hard or vague to answer?
Please tell me to correct it if needs be.
Thanks

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 665 views
  • 0 likes
  • 1 in conversation