Hi everyone,
I want to run a regression using weights in stata. I already know which command to use : reg y v1 v2 v3 [pweight= weights]. But I would like to find out how stata exactly works with the weights and how stata weights the individual observations.
In the stata-syntax-file I have read the attached concept.
I tried to do the regression manually in stata by first weight all variables of observation i with sqrt(wi) and then perform a multiple linear regression. However, I don't get the same results as when I do a regression by using the option [pweight = weights].
Does anyone know why the calculation is false and how stata considers the weights in the observations?
Thank you for your help!
Related Posts with Using weights in regression
twopm: Two Part ModelsI am using Stata 15 MP and my analytic data set is a geographic region-year panel, for the years 200…
Merging few observations to copy/add for other observationsHello, I am relative to Stata and I just cannot figure out how to solve the following problem. My m…
nearest neighbor matchingDear all, I know that there are a lot of topics on this matter, but unfortunately I cant figure out…
Different marginal effect for dummy variable after logit, depending on using i-prefix or notHello, I'm wondering why margins (after logit) produces different results for a dummy variable (0-1…
Trying to use pvarsoc to select lag for my pvar but error ariseI'm trying to analyze panel var model and want to select appropriate lag order for my data. But pvar…
Subscribe to:
Post Comments (Atom)
0 Response to Using weights in regression
Post a Comment