Summary Data t Test

 

Menu location: Analysis_Parametric_Summary Data t.

 

StatsDirect enables you to calculate t tests from summary data. These data are entered as means and standard deviations on screen instead of being calculated from selected workbook columns.

 

Example

The single sample t test example (20 systolic blood pressures) and the unpaired t test example (weight gain of 19 rats) can be repeated from their summary statistics. Select Summary Data t from the Parametric section of the Analysis menu, then Single Sample, and enter a sample size of 20, a sample mean of 130.05, a sample standard deviation of 9.960316 and a population mean of 120:

 

Single sample t test

 

Sample name: * from summary data

Sample mean = 130.05

Population mean = 120

Sample size n = 20

Sample sd = 9.960316

 

95% confidence interval for mean difference = 5.388429 to 14.711571

 

df = 19

t = 4.512404

 

One sided P = 0.0001

Two sided P = 0.0002

 

Power (for 5% significance) = 98.97%

 

For the unpaired test select Summary Data t, then Unpaired, and enter sample sizes of 12 and 7, means of 120 and 101 and standard deviations of 21.38819 and 20.62361:

 

Unpaired t test

 

Mean of * sample 1 from summary = 120 (n = 12)

Mean of * sample 2 from summary = 101 (n = 7)

 

Assuming equal variances

Combined standard error = 10.045276

df = 17

t = 1.891436

One sided P = 0.0379

Two sided P = 0.0757

 

95% confidence interval for difference between means = -2.193681 to 40.193681

 

Power (for 5% significance) = 43.05%

 

Assuming unequal variances

Combined standard error = 9.943999

df = 13.081704

t(d) = 1.9107

One sided P = 0.0391

Two sided P = 0.0782

 

95% confidence interval for difference between means = -2.469073 to 40.469073

 

Power (for 5% significance) = 42.49%

 

Comparison of variances

Two sided F test is not significant

No need to assume unequal variances

 

These are the results of the two examples calculated from the data, apart from the last digits of the equal variances confidence interval and the unequal variances degrees of freedom, because the standard deviations were entered to five decimal places.

 

 

Single sample t test

Unpaired (two sample) t test