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
Error message when obtaining SVAR's IRFDear all, I am trying to obtain simple Impulse Response Functions after running a SVAR. Code: ma…
Matching data over three waves of income surveysDear all, I am conducting an analysis where I want to see the effects of weather on income in Bangl…
Stata 17 Features Leaked Default precision changed to double regress now supports multiway clustering of standard errors Dof…
ldev following logistic inconsistent with estat gof and with Hosmer & LemeshowI am trying to reproduce Hosmer & Lemeshow's example (3rd edition, Table 4.16, p115). With 'logi…
st_matrix for a rowHello everybody, I am a complete beginner to Mata.. I want to take the means from each column of ma…
Subscribe to:
Post Comments (Atom)
0 Response to How to utilise sample weights in Stata? - QUICK QUESTIONS
Post a Comment