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
create a table with mean sd and t-test ==0I would like to create a table with the variables as columns and the mean, the standard deviation an…
one year entry for each variableDear all, I'm having a problem with the shape of my data. It is formatted as follows: YEAR id1 i…
How do I graph a parameter t distributionDear Statalisters, I have a regression coefficient x2=.2227885 with a SE=.056563 and a 95% Conf. In…
Pre and post policy countHI, So I have panel data for 5 years (4,5,6,7,8) and I am evaluating a policy change that happened …
weird characters of ChineseI have used the following codes to translate the Chiense characters in my dataset (attached). But it…
Subscribe to:
Post Comments (Atom)
0 Response to Weighted Least Squares Regression
Post a Comment