[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confidence interval is mathematically equivalent to hypothesis test
From: |
John Darrington |
Subject: |
Re: Confidence interval is mathematically equivalent to hypothesis test |
Date: |
Sun, 14 Oct 2018 08:46:02 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sat, Oct 13, 2018 at 04:04:41PM +0200, Werner LEMBERG wrote:
> SORT CASES BY var1 [var2].
> SPLIT FILE LAYERED BY?? var1 [var2].
>
> T-TEST /TESTVAL=0
> ?????? /VARIABLES= dependent variables ???? /MISSING=ANALYSIS
> ?????? /CRITERIA=CI(insert your confidence level here, e.g. 0.95).
Very nice, thanks!
> Then you can use the means and the bounds of the confidence
> intervals to draw your own graphs outside PSPP.
How do I get the results of the T-TEST command shown on the console
into the current dataset so that I can export them to a CSV file?
If I understand the use case properly, I think that you can do what you
want with with an aggregate followed by a few simple compute commands:
AGGREGATE OUTFILE * MODE ADDVARIABLES
/BREAK=g
/Mean = mean(V)
/sd = sd(v)
/n = n(v)
.
compute ci_upper=mean + sd/sqrt(n).
compute ci_lower=mean - sd/sqrt(n).
list.
You might want to check out the continuous distribution functions too.
See section 7.7.10 of the user manual.
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
- Re: getting the confidence interval, (continued)
- Re: getting the confidence interval, Alan Mead, 2018/10/12
- Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/12
- Re: Confidence interval is mathematically equivalent to hypothesis test, Mark Hancock, 2018/10/12
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/12
- Re: Confidence interval is mathematically equivalent to hypothesis test, Werner LEMBERG, 2018/10/12
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/12
- Re: Confidence interval is mathematically equivalent to hypothesis test, Werner LEMBERG, 2018/10/13
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/13
- Re: Confidence interval is mathematically equivalent to hypothesis test, Werner LEMBERG, 2018/10/13
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/13
- Re: Confidence interval is mathematically equivalent to hypothesis test,
John Darrington <=
- Re: Confidence interval is mathematically equivalent to hypothesis test, Werner LEMBERG, 2018/10/14
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/14
- Re: Confidence interval is mathematically equivalent to hypothesis test, John Darrington, 2018/10/14
- Re: Confidence interval is mathematically equivalent to hypothesis test, Dr. Oliver Walter, 2018/10/14
- Re: Confidence interval is mathematically equivalent to hypothesis test, John Darrington, 2018/10/14
- CSV Generation Loading Entire SAV, Dave Trollope, 2018/10/16
- Re: CSV Generation Loading Entire SAV, John Darrington, 2018/10/16
- Re: CSV Generation Loading Entire SAV, Ben Pfaff, 2018/10/16