0% found this document useful (0 votes)
13 views2 pages

Fem3004 Practical 7 T-Test

Uploaded by

rahimah.amanurul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Fem3004 Practical 7 T-Test

Uploaded by

rahimah.amanurul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIVERSITI PUTRA MALAYSIA

FEM3004 STATISTIK SAINS SOSIAL


(SOCIAL SCIENCE STATISTIC)
PRACTICAL 7
t-TEST

1. The mean price of all school uniform was RM 72 last year. A recent sample of 65 school
uniforms produced a mean price equals to RM 75.22 with a variance of 16. One of
college lecturers claims that the current mean price of all school uniform is greater than
RM 81. Assume that the prices of all school uniforms have a normal distribution. The
significance level is 1%.
(a) State the null and alternative hypotheses.
(b) Obtain the critical value.
(c) Determine the value of the test statistics.
(d) Does the data provide sufficient evidence to support the claim?

2. One hundred auto drivers were stopped by the police to see if they were wearing seat
belts. Records of the results were given in the following table.

Wearing seat belt Not wearing seat


belt
Men 64 41
Women 52 33

Test at the 5% significance level whether gender wearing seat belt are independent.

3. A researcher wishes to see whether the mean of the heart rates (in beats per minutes) of
smokers are different from the means of heart rates of people who do not smoke. The
two samples are selected and the data are shown below. Using alpha = 0.05, is there
enough evidence to support the claim?

Smoker Non-smoker
n 60 60
Mean 72 86
s 3.20 3.18

4. By referring to the following data set that has been used in earlier practical classes,
answer the questions given after the data set.
The following data are from Parks visitors. Here are the meanings of each variable
 Family is the observation number of the questionnaire. One questionnaire was filled by
for one family, not for individual.
 Time is a quantitative data type, measured in minutes. It is the activity time of the family
in the park
 Mode is a nominal data type consist of four choice of mode to go to park:
1. walk, 2 car, 3 cycling, 4 bus.
The choice is mutually exclusive, that is only one mode for one family.
 Activity is a nominal data type consist of 6 choices of activity in the park:
1. sport, 2 picnic, 3 reading, 4 walk (including with the dog), 5 meditation, 6 jog.
The choices are multiple choices, that one family may have several activities in the park.
 Satisfaction is an ordinal scale with 5 values:
o 1 = Very dissatisfied,
o 2 = Dissatisfied,
o 3 = Indifference,
o 4 = Satisfied,
o 2 = Very satisfied.
It measures family satisfaction toward the park's services.
 Playground is a nominal scale (Yes or No) about the existence of children playground

The data is shown in this table.


Data Coding from Questionnaires. Copy and paste the data 6 times resulting in 72 data sets.

Satisfactio Satisfactio Satisfaction Playground


Family Time Mode Activity n with n with with park’s
park’s park’s size environmen
facilities t
1 30 1 1, 2, 3 3 5 3 N
2 30 3 4,6 4 4 4 Y
3 60 2 1, 2 5 5 5 Y
4 45 1 5 1 2 2 N
5 30 1 6 4 2 4 N
6 60 2 2 4 5 5 Y
7 30 3 4 4 3 4 N
8 45 2 3, 4 5 2 2 N
9 15 1 6 4 5 4 Y
10 60 2 2 5 5 5 Y
11 180 4 1, 2, 3, 4 5 4 5 Y
12 120 2 1,2,4 5 2 5 Y

Answer the following questions using two methods: using SPSS and doing manually (without
SPSS- use the values that you need to do the manual calculation from the SPSS). (The
satisfaction score must be totaled for the three aspects of satisfaction).

Determine whether the mean satisfaction score in using the playground is different for families
that have playground in their neighbourhood and those that don’t have playground. Assume that
the data have a normal distribution and the significance level is 1%.

(a) State the null and alternative hypotheses.


(b) Obtain the critical value.
(c) Determine the value of the test statistics.
(d) Does the data provide sufficient evidence that there is a different in satisfaction?

You might also like