Hello,
I have a question regarding accessing variance estimates from mean command. In my data, there are treatment and control groups over 6 years. I want to test if the variance estimates are different between two groups in each year.
After this very simple code, I get mean and variance estimates for two groups separately in each year. I am trying to use test command to do a Wald test to see if the variance estimates of the two groups are different. I acknowledge this is just an approximation, and other tests may be better, but this is irrelevant for my question.
When I use a regression, I used something like
to do the Wald test. How can I do this after mean command?
Thanks,
Sun
I have a question regarding accessing variance estimates from mean command. In my data, there are treatment and control groups over 6 years. I want to test if the variance estimates are different between two groups in each year.
Code:
mean outcome, over(year group) estat sd, variance
When I use a regression, I used something like
Code:
test [RP1]var(treatment group) = [RP2]var(control group)
Thanks,
Sun
Comment