Sta 404 - Test - Aug 2023
Sta 404 - Test - Aug 2023
Sta 404 - Test - Aug 2023
Matrix # :
Course :
Program :
Group :
Test at 5% level of significance whether mean weight of students for two groups of
students is different? (4 marks)
QUESTION 2
ANOVA
customer
Sum of Squares df Mean Square F Sig.
Between Groups 9.667 10 .967 C .085
Within Groups A B .333
Total 12.000 17
The number of customers served by the four tellers during each of observed hours is shown
below
a) Find the values of A, B and C (3 marks)
b) State the null and alternative hypothesis (4 marks)
c) Using F test, test whether there is a difference in number of customers served by the
four tellers α = 0.05 (3 marks)
QUESTION 3
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square .833a R .361
Continuity Correctionb .533 1 .465
Likelihood Ratio .834 1 .361
Fisher's Exact Test .465 .233
Linear-by-Linear Association .827 1 .363
N of Valid Cases 130
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 23.50.
b. Computed only for a 2x2 table
a sample of 130 workers were asked about their views on company scheme
a) Using an appropriate formula, calculate the value of P, Q and R (6 marks)
b) State the null and alternative hypothesis ( 4 marks)
c) State your decision and conclusion for the above test (α=0.05) (4 marks)
QUESTION 4
Temperate (F) 61 70 50 65 48 75 53
Attendance 10 16 12 15 8 20 18
The following shows the temperatures (F) and the attendance in baseball match on 7
randomly selected days
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) -2.227 8.705 -.256 .808
temp .272 .143 .648 1.904 .115
a. Dependent Variable: attendance
a) Based on the scatter plot, describe the relationship between age and price
(2 marks)
b) Calculate the correlation coefficient and explain the value obtained (4 marks)
c) Based on the output, write the least square regression equation (2 marks)
d) Calculate the value of coefficient of determination and interpret (2 marks)
e) Predict the attendance if temperature is 80 F (2 marks)