 
Ryan's SSR
 =
 Q_{b(m,df)
}  √
 
MS_{error
} 

n

where
 Q_{b(m,df)} is the value of the studentized range statistic for the number of means spanned in the particular comparison (m) at the adjusted α level (b). b is equal to 1  (1α)^{m/k}. df are the same as for MS_{error},
 MS_{error} is the mean square error from the ANOVA table. For oneway ANOVA df = k(N1), where k is the number of treatments, and N is the total number of observations,
 n is the sample size.

