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
F test and Chi2 testHi everyone: I would like to verify the relationship between F and chi2. But it is found that they …
Ask for Help with Computation of Running Sum of a Variable within Multiple Variables in Stata.The long format dataset is presented as follows. It has 3 columns, gender (male=1; female=2), period…
counting based on groupsDear Statalists, I'm having problem counting based on groups. I have quite a large dataset, around …
Panel model - Heteroskedasticity and Graphical representationHi everyone! I am conducting my masters degree thesis, performing a panel model in Stata. The panel …
How to compute the sum of the first occurence within Group(s) in Stata?I have a small long format dataset below. * Example generated by -dataex-. For more info, type help …
Subscribe to:
Post Comments (Atom)
0 Response to Using weights in regression
Post a Comment