T Test Final
T Test Final
Types of t tests
There are three types of t tests which can be used for hypothesis
testing:
One sample t test
Independent Sample t test
Paired sample t test
where µ1 and µ2 are the population means for group 1 and group 2,
respectively. Notice that the second set of hypotheses can be
derived from the first set by simply subtracting µ2 from both sides
of the equation.
Data View
Variable View
Select Analyze > Compare means > Independent Sample T test
Define Group> Group 1 > Group 2
Result
Group N Mean
Std. Deviation
Male 10 31.20
7.28
Female 10 33.20
10.40
F Significant t
df
Paired t tests are also known as a paired sample t-test or a dependent samples t test.
These names reflect the fact that the two samples are paired or dependent because
they contain the same subjects. Conversely, an independent samples t test contains
different subjects in the two samples.
Data View
Variable view
Variable N Mean
Std. Deviation
Happiness 30 1.46
0.50
Productivity 30 2.13
0.81
Data View
Variable View
Value Labels
Analyze > Compare Means > One way ANOVA > Dependent List and
Factor
Drag > Dependent List > Factor
Select Option > Descriptive > Homogeneity > Means Plot >
continue > OK
Result
Group N Mean
Std. Deviation
Rural 5 13
3.46
Urban 5 16
3.08
Tribal 5 14
4.69
F t Significant
0.08 14 0.47
Chi-Square is one way to show the relationship between two categorical variables.
Generally, there are two types of variables in statistics such as numerical variables
and non-numerical variables.
The calculation of the Chi-Square statistic is quite straight-forward and intuitive:
where fo = the observed frequency (the observed counts in the cells) and f e = the
expected frequency
if NO relationship existed between the variables
As depicted in the formula, the Chi-Square statistic is based on the difference
between what is actually observed in the data and what would be expected if
there was truly no relationship between the variables.
The chi-square goodness of fit test is appropriate when the following
conditions are met:
The sampling method is simple random sampling.
The variable under study is categorical.
The expected value of the number of sample observations in each level of the
variable is at least 5
Data View
Variable View
Select Values > Enter Value > Label
Analyze > Descriptive > Crosstabs
Result
Value df Significant
0.68 1 0.87