Dear all,
I am currently working with the user written program -ineqrbd- (for regression-based decomposition, available at ssc). As my data set comes with probability weights, I am a bit stuck now. According to the help file, ineqrbd does not support pweights. After a quick look in the ado-file, I assume that this stems from the fact that ineqrbd uses the summarize and correlate commands which do not support pweights either. However, as pointed out here, you can use the summarize command with pweights by "pretending" them to be aweights and you will still get the right point estimates and SD. Same holds true for the correlate command. With the regress comand, you get the right estimates for the coefficients, however, you will end up with the wrong std. errors.
Thus, I was wondering whether using my pweights as aweights would lead to the correct results, apart from the regression output which could be omitted anyway and replaced by running the regression manually using pweights.
Related Posts with Using ineqrbd with pweights
Making loops to create 2 groups of variablesHello all, I have data that is set out with columns divided into Sex; then Labour Force Status (8 c…
Replace a value of multiple observations for one variableDear all, I have a variable name "village", and wanted to replace the name of village in observation…
lowess with confidence intervalsDear Stata users, I am wondering is it possible to graph the lowess smoothing function with confide…
Sorting issue when sort is expanded by a variableHello, I have an issue running the following command Code: sort id _mi_m survey expectation gift…
How to compare statistical difference between coefficients of two regressionsDear Stata Users, Please, help me with the following. How do I compare statistical difference betw…
Subscribe to:
Post Comments (Atom)
0 Response to Using ineqrbd with pweights
Post a Comment