Hey, i have a panel data, i need to add a Race_grade fixed effect and i have two separate variables grade and race. In order to create Race_grade fixed effect i used gen Race_grade = race*grade, seems like it worked but i was also considering to use this code egen Race_grade= group(Race grade). Which of the codes is better and if there is any difference between them?
Related Posts with Creating Fixed effect
Pre-treatment effect interpretationHello, I have a quick question regarding the pre-treatment effect and I would appreciate to get an …
Cross-sectional t test & standard deviation (event study caar)Dear all, I've got a question regarding the cross-sectional t-test when determining the significanc…
Creating panel datasetHello I am trying to create a panel dataset using Waves 1 to 5 from the South African National Inco…
Region and year fixed effects model for pooled cross sectional dataDear all, I have a dataset of pooled cross sectional data for individuals across a number of differ…
How to determine if variables are statistically different (using t-test)?Hi all, I have one more question regarding my regression analysis in the housing market. I have ge…
Subscribe to:
Post Comments (Atom)
0 Response to Creating Fixed effect
Post a Comment