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
mrgraph error - variables R _variables do not uniquely identify the observationsI am trying to get a graph for a multiple response question. I have read the resource and the mrtab …
gtfpch and teddf - Malmquist–Luenberger productivity indexHi I have been trying to use the gtfpch command in STATA 17, but I am continually returning the sam…
Running time for QUAIDSHi, I'm currently running QUAIDS estimation for 300K households and 215 food items. I wonder how lon…
New version of wridit on SSCThanks as always to Kit Baum, a new version of the wridit package is now available for download from…
Problems collect commandHi all, I would like to use the collect command to customise how my regression table looks. However…
Subscribe to:
Post Comments (Atom)
0 Response to Regression with Weight
Post a Comment