Dear Statalisters,
I am currently working on a project with cross-country data. In order to examine my research question, I initially intented to use a regular OLS regression. However, since the number of observations by country vary substantially (e.g. U.S.: over 10,000 obs. and Mexico less than 100 obs.), I think that the weighted least squares approach would be more appropriate. I already familiarized myself with some possible Stata commands (wls0; regwls; aweights). In order to ensure that each country receives equal weight in the estimation, I want to conduct WLS, where the weight of each observation is the inverse of the number of observations in each country.
However, I am currently struggling with finding a way to do this with the given Stata commands. Has anyone conducted a similar analysis and can help me? Or does this kind of analysis makes even sense in your opinion?
Comments or suggestions are highly appreciated :-)
TM
Related Posts with Weighted Least Squares Regression
Help via mergeI have 2 datasets: HEIGHT AGE SCORE x z x y HEIGHT AGE Controls x z x x y x Ho…
Mean difference testhello there , I have an unbalanced panel data of banks comprising of 21 public,42 foreign and 21 pri…
Create a rate variable for population as a whole with sample weightsDear Stata users, I am new to stata and am working on a dataset with 20 mio. people for two years w…
Adding suffix or prefix to each element of a global varlistHello, I have a core set of variables and for each of them I generated several secondary variables.…
IV regression,the independent variable is Non-negative integer, endogenous variable is ordinary, which command can I use?Thanks a lot, Now, I am facing a problem, the problem is just like the title said. I want to conduct…
Subscribe to:
Post Comments (Atom)
0 Response to Weighted Least Squares Regression
Post a Comment