Professional Documents
Culture Documents
Nur Ayunanie Najua Abdul Hamid - 2021106069
Nur Ayunanie Najua Abdul Hamid - 2021106069
INSTRUCTIONS TO CANDIDATES
NAME:
Nur Ayunanie Najma Binti Abdul Hamid
STUDENT NO:
2 0 2 1 I 0 6 0 6 9
GROUP:
AM 228 BB
QUESTION 1
A researcher wanted to determine the relationship between the number of drinks sold in a
café of small theme park with the number of visitors. The data of a week has been
collected:
Correlations
DRINK VISITOR
DRINK Pearson Correlation 1 A
Sig. (2-tailed) .000
N 7 7
VISITOR Pearson Correlation A 1
Sig. (2-tailed) .000
N 7 7
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 35.834 9.792 3.660 .015
VISITOR B .056 .974 9.660 .000
a. Dependent Variable: DRINK
b) Compute the B value. Hence, interpret the value in the context of the problem.
(3 marks)
FSKM, UiTM Cawangan Negeri Sembilan (Seremban 3) CONFIDENTIAL
① a) father
r-assny.sn:1134#fSyyEnt-
.
211446
&y= 868
r -
-
Eng - Ga)Gg )
sjh.46288fzw-CEI%FF-E.IT
2Ny=t557l2
155112-(11%1.868)
=
hit
r=
ÉÉTFÉ- 18687] T
a-
09742 .
valnetbb-Y.sn?---?Yn,-!Y#?)-:forweylday
T
interest 'The
number of visitors the number
/
will increase by
=
155712-1113471868 ) of drinks sold
2"Y46-¥É\
0.5441 .
c) y=atbN
-0-5442
'
. = 35-884-10-544212671
+181.1354 .
CONFIDENTIAL 3 CS/JUL 2022/STA404
c) Using the regression equation obtained from the output, estimate the number of drinks
sold if there are 267 visitors in a day.
(2 marks)
QUESTION 2
A large food processing firm is considering a new recipe for its cheese cake. However the
manager from the food processing department believes that the existing recipe is better
than the new recipe. To investigate this belief, the firm conducting a preliminary trial. In a
preliminary trial, a panel of 10 tasters was asked to score cake made from both the existing
and the new recipe for sweetness. The results, on a scale from 0 to 100 of the tastes
preferences when given a cheese cake. The following results are as follows:
Group Statistics
Std. Error
Recipe N Mean Std. Deviation Mean
Score Existing Recipe 10 82.40 3.134 .991
New Recipe 10 78.00 4.761 1.506
Lower Upper
a) State the null and alternative hypothesis statement for the test.
(1 mark)
b) Based on the result, what is the assumption for the variances of the score between the
existing and the new recipe? Use α = 0.05.
(3 marks)
FSKM, UiTM Cawangan Negeri Sembilan (Seremban 3) CONFIDENTIAL
② a) Ho hi M2
:
=
Hi hi:
> My .
b) Ito : of = o ?
Hi :O : to !
P -
value = 0-927
-
✗ =p og -
, so .
c) Hoshi =
hi
Hulk >Mr
4-Mme
0%25=0-0125
=
✗
'
05
=
o
-
c) Using the p-value, do the data provide sufficient evidence to indicate that the existing
recipe is better than the new recipe? Use α = 0.05.
(3 marks)
QUESTION 3
A mobile company held an end-of-year clearance sale. Listed are sale prices (RM) for
random samples of different tablets for three different brands. The price of the products is
shown in table below.
Brand
HUYEI SHAMSON LEMON
494 1685 3499
2355 4699 2769
2069 4849 1779
1088 4779 1898
681 2199 1898
587 2999 2699
379 4599 1898
1388 4549 2599
1539 954 3499
The data were analysed by using SPSS and the following result were produced.
ANOVA
PRICE
Sum of Squares df Mean Square F Sig.
Between Groups 24066394.963 2 12033197.481 Q .000
Within Groups O P 1112764.278
Total 50772737.630 26
c) Assume the sales price of tablet is normally distributed. At the 5% significance level, are
the researchers’ claimed that there is significant different in each brand is true? Show
the relevant steps.
(4 marks)
factor :b mad .
b) ralne 0 :
50772737 -630 -
29066394 963 .
=
26706342 Gf -
.
Value P : 26-2
=
24 .
value Q
-420331974 A
fat 2764-273
=
to 81378844 .
c) Ho = Mi alla Ms =
Iti =
hit Maths , at least that two mean differ .
Ps :
Fo =
10-181378844
V4 f- ✗ Klinik F
=
=
, o or 2,24 =3 -40
-
Fo -40-88378844
guv =3 yo -
, to
inject to .
Condition then is
:
QUESTION 4
A researcher believes more than half of clients in CIIMK Bank have waits before being
served by the executives is more than 16 minutes. Hence, in order to prove her claim, he
selects a sample of ten clients. The data recorded as in the following table.
Clients 1 2 3 4 5 6 7 8 9 10
Waiting Time
17 15 27 25 32 12 40 49 34 25
(in minutes)
Assume the waiting time is normally distributed. Do these data provide sufficient evidence
to prove the researcher believes’? Use α=0.05.
(7 marks)
QUESTION 5
A random sample of 60 students are asked regarding the type of platform they usually used
in watching movie. The data were collected and analyzed using SPSS. The results are
shown in the crosstabulation are as follow.
:
movie Expected Count 8.1 X 22.0
Disney+ Hotstar Count 5 4 9
Expected Count 3.3 5.7 9.0
iQiyi Count 1 8 9
Expected Count 3.3 5.7 9.0
Viu Count 5 3 8
Expected Count 2.9 5.1 8.0
Physical cinema Count 2 Y 6
Expected Count 2.2 3.8 6.0
Others Count 2 4 6
Expected Count 2.2 3.8 6.0
Total Count 22 38 60
Expected Count 22.0 38.0 60.0
10
* =
27-6
N' =
8818 2--27.6 -
:fÉn)2 FEE
,
s
'
S = 11.54 .
Ito =M -46
He =M # 16
b- = u -
U 27.6 -16 -11--6
-
HIS =3 .
17861 > for -4.833 / ,
so
Yat Ho .
i.
thump enough evidence to
prove the retractive clients
wat
Chi-Square Tests
Asymptotic
Significance (2-
Value df sided)
Pearson Chi-Square 6.493a Z .261
Likelihood Ratio 6.832 5 .233
Linear-by-Linear Association .053 1 .818
N of Valid Cases 60
d) Given the p-value provided in the output, can it be concluded that the gender and the
type of platform watching movie are related? Use α=0.05.
•
-
(4 marks)
QUESTION 6
As an aid for improving students’ study habit, twenty students were randomly selected to
attend a seminar on the importance of education in life. Each students give their
responses on the number of hours they studied per week before the seminar and after the
seminar. The data were analyzed and the result as follow.
By assuming the time required to complete the hike t is normally distributed. Answer the
following questions.
b) ✗ = 22-0-8-1
=
13.9
Y = 6- 2
=
4
2 = IF = IR 1) -
G- 1)
(6-1) (2-1)
(e) G)
df : 5-
'
c) no =
Eloij -
Ei g)
Ei
9) G- 2.272
4%337+15Iq
" a
)
4¥
" 't 2-
l÷%
= -
+
+ +
I
7+14-571
'
"÷;) ¥: :
I
'
I -1
+
" "
+
I 4- 3. 8) '"
'
÷;)
+
Is
=
6.54b¥
d) Ho the two variables have relationship
.
: no
aw related .
P-value = 0-261 .
✗ =
0 -05
(O
'
c) Using p-value method, at the 10% significance level, can it be concluded that attending
the seminar increase the number of hours the students studied per week.
(4 marks)
b) t :-D Ud -
6.00000-07.
1975/520lt
=
:3 6164 -
c) Ho :
old =
0
Hi : Md > O
p -
value =
-0%001
= 0.00005
✗ I 0.10
seminar
APPENDIX 1 (1)
HYPOTHESIS TESTING
H0 : = 0 x − 0
t= ; df = n – 1
σ2 unknown, small samples s n
( x 1 − x 2 ) − (1 − 2 )
t= ; df = n1 + n2 – 2
1 1
sp +
H0 : 1 - 2 = 0 n1 n 2
12 = 22 and unknown (n1 − 1)s12 + (n 2 − 1)s 22
sp =
n1 + n 2 − 2
( x 1 − x 2 ) − (1 − 2 )
t=
s12 s 22
+
n1 n 2
H0 : 1 - 2 = 0 2
s12 s 22
n +
12 22 and unknown
1 n2
df = 2 2
s12 s 22
n1 n2
+
n1 − 1 n2 − 1
d − d
H0 : d = 0 t= ; df = n – 1, where n is no. of pairs
sd n
(o ij − e ij ) 2
Hypothesis for categorical data 2 = e ij
APPENDIX 1 (2)
Let:
k = the number of different samples (or treatments)
ni = the size of sample i
Ti the sum of the values in sample i
=
n = the number of values in all samples
= n1 + n2 + n3 + ...
x = the sum of the values in all samples
= T1 + T2 + T3 + ...
x 2
= the sum of the squares of values in all samples
( x) 2
Total sum of squares: SST = x 2
−
n
Between-samples sum of squares:
T2 T2 T2 ( x)
SSB = 1 + 2 + 3 + ... −
2
n1 n 2 n 3 n
SSB
Variance between samples: MSB =
(k − 1)
SSW
Variance within samples: MSW =
(n − k )
MSB
Test statistic for a one-way ANOVA test: F =
MSW
M
u
k
a
s
u
r
a
t 3)
FSKM, UiTM Cawangan Negeri Sembilan (Seremban CONFIDENTIAL
CONFIDENTIAL 10 CS/JUL 2022/STA404
APPENDIX 1 (3)
SS xy = xy −
( x)( y)
n
SS xx =x −
x)
2
( 2
and SS yy =y −
y)
2
( 2
n n
Y = a + bx
n
SS xy
Linear correlation coefficient: r =
SS xx SS yy