Skip to content
Prev 32291 / 398513 Next

regression coefficients

Why is s assumed known and common to the k groups?  I doubt if that is 
what was meant (although it was too imprecise to be at all sure).

If `common' is a viable assumption, you can just fit a model with by-group
regressions vs one with a common regression (which seems to be what you
are testing) and use anova().

If not, the case k=2 encompasses the Welch t-test so exact distribution
theory is not going to be possible, but by fitting a common model and
three separate models and summing the -2log-lik for the latter you can
easily get the LT test and refer it to its `standard' (asymptotic)
Chi-squared distribution.
On Tue, 20 May 2003, Spencer Graves wrote:

            
You have assumed s is known, in which case it is a Chi-squared 
distribution.  If s is unknown, you need to maximize over it to get an LR 
test (separately under the null and the alternative).