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
outreg2 add columns with addstatAfter a logit regression, I am doing a bunch of estimations, and outputting it all with outreg2 Cod…
egen rowtotal VS. genHi Statalist, Could you please explain it to me why the following commands don't have the same resu…
Calculating global score for an indicatorI'd like to request for some explanation on how to calculate GLOBAL SCORE in Stata. I am not sure if…
invalid 'Mylastname' while executing foreachDear Statalist, I am working with an around 30 years' data from an annual survey. Each year-wave is…
rename variable with ChineseDear All, I have this data (with simplified Chinese variable name) to be reshaped. Code: * Example…
Subscribe to:
Post Comments (Atom)
0 Response to Weighted Least Squares Regression
Post a Comment