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
Using loop to import and merge excel filesHi, Please, I have 5 excel files: "File1.xls" to "File5.xls". Each file contains only 1 sheet: "She…
Transpose and CollapseGood Morning Stata Members, Below is an example of my data structure: SchoolCode,CourseCode, V1, …
Power Analysis [power] in Context of Regression Analysis and Robust Standard ErrorsHi, Based on the results of a regression analysis, I would like to perform a power analysis that ac…
table / collect - odd behaviourI am trying to construct a simple table following a paired -test to show the mean difference, p valu…
Quantify the effect size of an interaction termHello, I have a doubt that it is not specific about Stata. However, I would like to ask you for an…
Subscribe to:
Post Comments (Atom)
0 Response to Using ineqrbd with pweights
Post a Comment