Am 09.01.2018 um 21:44 schrieb Allin Cottrell:
On Fri, 5 Jan 2018, A. T. wrote:
> 1) accessor for p-values and test-statistics; in my case, for
instance,
> I just need information about Pearson's chi^2-test.
> 2) --silent option
>
> Is there a way to access these statistics somehow?
Not at present. And given that the "xtab" command accepts lists for both
Hm, BTW more warning messages might be useful:
<hansl>
open credscore.gdt
list x = Acc Age # Acc is binary, Age is positive integers
xtab MDR x # w/o comment only reports the combination MDR vs. Acc
discrete Age # necessary because Age has many values
xtab MDR x # reports both combinations
</hansl>
x and y arguments it's not obvious that it could be easily
arranged.
I guess it could be as symmetric matrices, similar to the arrangement of
a covariance matrix. The diagonal could be left empty or the p-values
there could be set to 0. ($test and $pvalue are already sometimes
matrices as per the doc.)
guess we could offer a --silent option and storage of (Pearson) $test
and $pvalue conditional on getting just one x and y.
'--silent' sounds good.
While we're at it, getting the Fisher test results (if applicable, 2x2
crosstab) would also be nice. I guess this could really be made
conditional on just a single x and y variable.
thanks,
sven