Is it possible to put standard deviations or variances into a linear model, as the data to be explained? I have a predictor which I think will linearly increase the standard deviation of a measure, and it is this variability that is of interest.
For each condition, I calculated the standard deviation, so that I have a vector of standard deviations which I'd like to model. I then fed this into a linear model
std_k( y_ik ) = X_ij * beta_j + error_ij
where X is something like
[ 1 -2
1 -1
1 0
1 1
1 2 ]
I realise that standard deviations are not normally distributed, so this isn't quite right. Can I transform the variable so that the error terms would be normally distributed? Or can I use a "generalised" linear model with a link function?
(I actually want to feed it into a mixed model, since several subjects perform the experiment. Each subject will have a different baseline variability, and I want to look at the variability across subjects by condition. I will also need to compare groups of subjects. Mixed model seems appropriate for that purpose)