Week 13 - Causal-Comparative Research T-Test
Week 13 - Causal-Comparative Research T-Test
CAUSAL-COMPARATIVE
RESEARCH
• The purpose of the One sample t-test is to compare the mean of the
sample under study with the mean of the existing population.
• One sample t-test is part of the parametric statistical test with the
basic assumptions that must be met, namely the research data must
be normally distributed, the research data is at least interval data.
Case 1
• According to a marketing manager's report at a
cellphone sales center, the average daily sales of
"oddo" brand mobile phones in all stores is 85 units.
• You, as a researcher, are interested in testing the
truth of the report, whether it is true that the daily
sales of Odo brand mobile phones are 85 units. For
that, you need to test it using a sample of 30 stores
at random (simple random sampling).
• The average daily sales data from 30 sample stores is
in the Microsoft excel file
Research Question & Hypothesis
• RQ
Was the average daily sales of “oddo” brand mobile phones is 85 units
per day?
• Hypothesis
H0 = there is no difference in the average daily sales of "oddo" brand
mobile phones between the average in the population and the
average in the sample (= 85)
Ha = there is a difference in the average daily sales of "oddo" brand
mobile phones between the average in the population and the
average in the sample (≠ 85)
Steps of Analysis
• To find out the result, whether there is a difference in the average daily sales
between the sample and the population, it can be seen from the sig score. (2-tailed)
compared to 0.05
• If the score sig. (2-tailed) > 0.05 there is no difference (H0 accepted, Ha rejected)
• If the score sig. (2-tailed) < 0.05 there is a difference (Ha accepted, H0 rejected)
• The results show a score of sig. (2-tailed) = 0.004 (< 0.05)
• It means; there is a difference in the average daily sales between the sample and the
population
• H0 is rejected, Ha is accepted
Independent Sample t-test
Independent sample t-test
• Independent sample t-test is used to determine whether there is a
difference in the mean of two sample groups that are separate or
unpaired from each other.
• The requirements for independent sample t-test are: test for
normality
Case 2
• During the pandemic, the university implemented two learning
models; online and offline. A statistics lecturer wants to know the
difference in statistical learning outcomes between online and offline
learning models. Class A represents the online learning model, and
class B represents the offline learning model.
• Class A and B learning outcomes data are in the Microsoft excel file
Research question & Hypothesis
• RQ
Is there a difference in statistical learning outcomes between class A
using the online learning model and class B using the offline learning
model?
• Hypothesis
H0 = There is no difference in statistical learning outcomes between the
online learning model and the offline learning model
Ha = There is a difference in statistical learning outcomes between the
online learning model and the offline learning model
Steps of analysis
• Click “Variable view” and make
adjustment
• For Values column type “1” for
“Online model” and”2” for “Offline
model
• Click “OK”
• Enter all data in excel to data view.
• In the outcome column, enter the
statistical value data for all
students, and in the model column
enter the code "1" for online
classes and "2" for offline classes.
Normality test
• Click “analize” “descriptive statistics”
“explore”
• Move “statistics learning outcome” to
Dependent list box and “model of
learning” to Factor list
• Click “plots” click “Normality test
with plots” “continue”
• Click “OK”
Output of normality test
• We use the Shapiro-wilk because the data size is less than 50 data
• If the sig value > 0.05 then the selected sample is normally distributed
• If the value of sig < 0.05 then the selected sample is not normally
distributed
• Both online and offline model are normally distributed because all the
score are > 0.05
Independent sample t-test
• Click “Analize” “Compare mean”
“Independent sample t-test”
• Move “statistics Learning Outcome” to Test
variable(s) box and “Model” to Grouping
variable box
• Click “define group”
• Put “1” for Group 1 and “2” for Group 2
“continue”
• Click “OK”
Output of Independent sample t-test
• Based on the output above, the score of sig.(2-tailed) is 0.051 (> 0.05) it means that
there is no difference in Statistics learning outcome between online learning model
and offline learning model H0 accepted, Ha rejected
Paired Sample t-test
Paired sample t-test
• Is a comparison test that aims to find out whether there is a
difference in the mean between two sample data that are related to
each other
• The paired sample t-test has a precondition that the distribution of all
data must be normal so it is necessary to test for normality.
Case 3
• Because the outcome of statistics courses is always low, the lecturer think
a special training is needed to improve the understanding and outcome of
statistics for communication students. For this reason, special training in
statistics courses was given .
• To find out whether the special training has an impact to students, it is
necessary to measure the students' outcome before and after the
training.
• lecturer want to know whether there are differences in the statistical
outcome of communication students before and after being given special
training
• Pretest and posttest data on learning outcomes can be seen in the excel
file
Research Question & Hypothesis
• RQ
Is there any differences in the statistical outcome of communication
students before and after given special training?
• Hypothesis
H0 = there is no difference statistical outcome of communication students
before and after given special training (there is no influence of special
training toward statistical outcome of communication students)
Ha = there is a difference statistical outcome of communication students
before and after given special training (there is an influence of special
training toward statistical outcome of communication students)
Steps of analysis
• We use the Shapiro-wilk because the data size is less than 50 data
• If the sig value > 0.05 the selected sample is normally distributed
• If the value of sig < 0.05 the selected sample is not normally distributed
• From the output above we can read that those data are normally
distributed because all the score are 0.334 and 0.245 (> 0.05)
Paired sample t-test
• Click “Analize” “compare mean”
“Paired sample t-test”
• Move “PreTest” and “PostTest” to
Paired Variables box
• Click “OK”
Output of Paired sample t-test
• Based on the output above, the score of sig.(2-tailed) is 0.000 (< 0.05) it means that
there is a difference in Statistics learning outcome of communication students before
and after given special training (there is an influence of special training toward
statistical outcome of communication students)
• Ha accepted, H0 rejected
Lampiran
Thank You