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
Paired t-test for unmatched subjects impossible to compute?I know that this is Stata Forum (not SPSS)! But I came across a very interesting discussion that may…
Interrupted time series with multiple treatment periodsI am working on a sugar tax evaluation, using an interrupted time series model that accounts for two…
Create a new variable that shows the result of tabulationHello Statalist, I consider myself a beginner, so I would appreciate your help, and thank you for t…
Question about time series data with multiple factorsI am trying to format my data to allow me to designate it as time series and use the lag and lead op…
Code to be able identify treated-control firm(s) groups for matched dataHi I have a matched treated-control firm-year panel dataset which I matched on different variables …
Subscribe to:
Post Comments (Atom)
0 Response to Regression with Weight
Post a Comment