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
Xtile - method for choosing cutpointsI'm revising a paper for a peer-reviewed medical journal. Part of our analysis included creating "qu…
Y-Var shows trend - how to deal with it?Hello dear community, I use the following regression model of an article in JFE, this is the exact …
Command for computing effect size for paired/dependent samples t-testHello, I am trying to run some code for computing as effect size for paired sample t tests. It will…
Replace missing values per householdDear All, I would like to replace missing values per household Each household should have a similar…
Compare sum of coefficients across different regression subsamplesDear Statalisters I have looked through previous posts on suest on tests related to two coefficients…
Subscribe to:
Post Comments (Atom)
0 Response to Using weights in regression
Post a Comment