Dear STATA users,
I am trying to replicate a paper. The authors investigate the relationship between a country-level variable (say X) and a firm-level variable (say Y). The sample contains data on various countries. Each country has around 100 to 5000 firms.
Because some countries have too many firms whereas others have only 100 to 200 firms. Thus, the results may be biased.
The authors apply firm fix-effects and "weight observations by the inverse of the number of firms per country and year so that each country has the same weight in our estimations."
I have searching topic on weight and I can see there are four types of weights: fweights, pweights, aweights, and iweights. From my understanding, none of the above options can do the job.
Can you please suggest a solution for this case?
Thank you very much for your support and wishing you all the best of luck.
Related Posts with Regression with Weight
Repeated cross-section binary logit model with time dummies - Survey dataHello, when in comes to repeated cross sections it seems there is always little literature out ther…
Missing value in calculating proportion confidence intervalHi everyone, I'm very new to Stata and learning to use it myself. I am trying to use stata to run fr…
Variable generation (newbie)Hi all, Thanks for considering my question. I am quite new to Stata. I am trying to get rid of cer…
Identify values that occur only onceHi, Hopefully a simple question for you. I have a large data set on transactions, and I need to ide…
Marginsplot: two groups with 10 study years - no intersection of CI and very narrow 95% CIsHi all, Since I am not very familiar with the margin analysis, so it will be really appreciated if …
Subscribe to:
Post Comments (Atom)
0 Response to Regression with Weight
Post a Comment