BookmarkSubscribeRSS Feed
quocphan
Calcite | Level 5

Hello,

I want to run a model that allow the coefficient to vary by Industry, and also control for firm and time fixed effect. I know the second part can be use PROC with FIXTWO, but I don't know how to do the first one.

 

Data is at firm level

 

Model: Y = α + (β + Σθ*Indus)*X + ΣγC

Where:

  - Y: Independent var

  - X: Dependent var (firm level data)

  - C: Control var

  - Indus: dummy variable for each industry

  - β: Coefficient average

  - θ: Coefficient adjusted by Industry

 

I am looking for how to code the θ*Indus

Thank you

 

1 REPLY 1
SteveDenham
Jade | Level 19

Since you are using PROC PANEL (I think), you will probably get more specific results if you post this to the Analytics>SAS Forecasting and Econometrics community.

 

SteveDenham

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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