Hi everyone,
I'm currently using Stata to test the effect of an independent variable X on a dependent variable Y while controlling for a number of other potential explanatory variables. I'm testing both linear and non-linear relationships.
I'm wondering if there is a way for me to specifically examine the effect of X on the variance of Y. The theory that I am testing predicts that an increase in X leads to an increase in the mean of Y, but also that an increase in X leads to an increase in the variance of Y. That is, as X increases, the average value of Y increases, but the spread of Y also increases.
Is there a good way to test (ideally in Stata) for how the variance of Y responds to X?
Thanks for the help!
I'm currently using Stata to test the effect of an independent variable X on a dependent variable Y while controlling for a number of other potential explanatory variables. I'm testing both linear and non-linear relationships.
I'm wondering if there is a way for me to specifically examine the effect of X on the variance of Y. The theory that I am testing predicts that an increase in X leads to an increase in the mean of Y, but also that an increase in X leads to an increase in the variance of Y. That is, as X increases, the average value of Y increases, but the spread of Y also increases.
Is there a good way to test (ideally in Stata) for how the variance of Y responds to X?
Thanks for the help!
Comment