Hi all,
I have a question on the meantest command:
https://gretl.sourceforge.net/gretl-help/cmdref.html#meantest
It's not clear to me whether this command refers to the version for
paired or unpaired samples. Here is some more background information:
https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/t_test...
I've programmed the t-test for paired samples, for which the code can be
found here:
https://gist.githubusercontent.com/atecon/f1864d66ce76c45b783ec2839360dd5...
This replicates what is named as "Program 3" on the nist-page (search
for the expression "Example of paired t-test from p. 178 of Bowker and
Lieberman")
Given that the meantest command returns a different test statistics and
p-value, I assume the meantest covers the unpaired sample case. If so,
this should be mentioned in the help.
Also, do you think it's worth to create a package out of my code?
Let me add another point. Currently, we have the following packages:
- Friedman.gfn
- KruskalWallis.gfn
Just for completeness, apart from the meantest command, there is also
the difftest command:
https://gretl.sourceforge.net/gretl-help/cmdref.html#difftest
All variations are general tests on central tendency (I haven't found a
more common or more general term for this). Here is a nice illustration
of some existing tests (in German though):
https://www.methodenberatung.uzh.ch/de/datenanalyse_spss/unterschiede/zen...
Having a common "access point" may be useful as the current state is
somehow confusing. What do you guys think about a new package combining
at least the user-contributed packages "Friedman", "KruskalWallis" and
optionally my test for the paired t-test?
Best
Artur