On 1/24/06, Florent Bresson <f_bresson(a)yahoo.fr> wrote:
I would like to perform a test of mean difference on a
series for different levels of a factor (usually I'm
using R, but I decided to choose gretl for my
students). Please, what's the command ?
So, you want to do a two-sample t-test. Indeed, it seems that gretl's
meantest function is only doing one-sample tests. However, a
two-sample t-test is the same as regressing the variable of interest
on a constant and the group variable. So you could do:
ols y 0 groupvar
or
ols y 0 groupvar --robust
Hope this helps,
jean