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
Coefficient of level and lagged explanatory variable with different signHi, Estimating by system GMM and treating the variable of interest as exogenous, without including …
calculating marginal effect of logged independent variableDear Statalists, I have a question which I tried to look it up here to see if anyone has asked befo…
Instrumental Variable Estimation with binary iv and categorical dependent variableDear Sir/Madam, Thank you very much for providing this kind of forum. By this post, I would like to…
Different way of clustering with reghdfeHello everyone! I'm currently running a multi-way fixed effect regression using the command reghdfe…
How to restructure aggregated count data as individual observation?Hi altruist, I am just wondering whether STATA has any function to convert aggregated count data in…
Subscribe to:
Post Comments (Atom)
0 Response to Test with weighted regression
Post a Comment