I am running a simple weighted regression as follows:
reghdfe y i.treatment [weight=size], noa vce(robust)
My treatment variable has 4 categories, and I would like to test if the pairwise mean differences in y are different for each of the pairs (1 vs. 4, 2 vs. 4, etc.). Normally, I would do something like this:
test 1.treatment = 2.treatment
I am wondering if this command is still valid with weighted least squares. If not, is there another way to do this test?
Related Posts with Test with weighted regression
Exporting what was done on Stata onto MathlabDear Stata users, Code: * Example generated by -dataex-. To install: ssc install dataex clear inp…
Marginal Effects after running -glm- estimatorI want to calculate the marginal effects of my control variables after regressing my dependent varia…
Nothing to graph after loopHi everyone, I'm working on ESS data and I want to graph the ESeC occupational class for all the 5 r…
Simple parallel trends for Difference in DifferenceHello, I am doing a very basic Difference in Difference. I get my results for the DD fine, but for m…
Graphing Coefficients by Year-Hi All, A snippet of my data resembles the following: Code: * Example generated by -dataex-. To…
Subscribe to:
Post Comments (Atom)
0 Response to Test with weighted regression
Post a Comment