On Wed, 29 Nov 2017, Sven Schreiber wrote:
Am 29.11.2017 um 01:34 schrieb Allin Cottrell:
> On Tue, 28 Nov 2017, Sven Schreiber wrote:
>> 1) Can we have a --quiet or --silent switch to access only the $test and
>> $pvalue accessors in a script?
>
> OK, you now have "diffest ... --quiet" in git.
Thanks!
>> 3) Could the parametric t-test of differing means in (paired) samples be
>> subsumed under difftest? (Currently there is no direct scripting way of
>> performing it, I think.)
>
> lib/src/nonparam.c: have at it!
The idea was to use _existing_ code that is used in the test statistic
calculator ("2 means") and hook that up to difftest. I guess that would be
do_two_means_test in gui2/calculator.c.
I'll just address this point for now. Yes, maybe it is worth exposing
the (unpaired) two-means t-test that's in calculator.c as an option
under "difftest".
The paired two-means t-test is trivial in hansl:
d = x - y
ols d const
Allin