Hi Everybody,
I am running a regression analysis using HLFS on Stata. I have been told that I need to use sample weights to have reliable estimates. The HLFS data has a "factor weight" column for each observation. My questions are as follows:
1) Does it mean that HLFS data already provide me with the sample weights? So, I don't need to calculate it?
2) If the answer is yes to (1), how do I use this on Stata?
I am writing a command as below, but I am not quite sure if I am weighting twice. [pweight=weights] --> The bold represents the factor weight column on HLFS data.
oaxaca LnWage var1 var2 var3 var4 var5 [pweight=weights], by(Gender) pooled
3) If answer to (1) is no, then how can I calculate the sample weights, as I don't know the total population of a sector?
Any suggestion would be much appreciated!
Thank you very much for your time and effort.
Related Posts with How to utilise sample weights in Stata? - QUICK QUESTIONS
Making foreach go through multiple variables but stops when one criteria is metHi, I am trying to program a code that goes through variables pr1-25 (procedure codes) to create a n…
Overlaying plots created with adjustrcspline and mfxrcsplineHi all, I've recently started using Maartin Buis's excellent tools for interpreting the results of …
Panel Unit Root TestHello Everyone, I am working on studying the relationship between military expenditure (independent …
Using Interaction terms of independent variables and estimated values in fixed-effects regression using xtregGood evening, I am trying to estimate a fixed-effects model using xtreg command in stata 17.0. My …
Deleting the missing values (not entire observations) of a variableSuppose I have the following table: ID Preferences 1 2 1 . 1 . 2 . 2 3 3 . 3 . 3 …
Subscribe to:
Post Comments (Atom)
0 Response to How to utilise sample weights in Stata? - QUICK QUESTIONS
Post a Comment