数据分析|ST104A Statistics 1

联系我们: 手动添加方式: 微信>添加朋友>企业微信联系人>13262280223 或者 QQ: 1483266981

ST104A
ST104A Statistics 1
Candidates should answer THREE questions: all parts of Section A (50 marks
in total) and TWO questions from Section B (25 marks each). Candidates are
strongly advised to divide their time accordingly.
Please find questions on the following page.
A list of formulae and extracts from statistical tables are provided after the
final question of this paper.
University of London 2023
SECTION A
Answer all parts of question 1 (50 marks in total).
1. (a) Suppose that x1 = 3, x2 = 2, x3 = 5, and y1 = 2, y2 = 8, y3 = 20.
Calculate the following quantities:
i.
3
X
i=1
6yi
ii.
3
X
i=2
p
|xiyi
| iii. x
3
1 +
3
X
i=2
yi
xi
.
(6 marks)
(b) Classify each one of the following variables as either measurable
(continuous) or categorical. If a variable is categorical, further classify it as
either nominal or ordinal. Justify your answer. (No marks will be awarded
without a justification.)
i. Market shares of electric vehicle companies.
ii. Different textbook publishers.
iii. The demographic groups ‘Gen X’, ‘Millenials’, ‘Gen Z’ and ‘Gen Alpha’.
(6 marks)
(c) State whether the following are true or false and give a brief explanation.
(No marks will be awarded for a simple true/false answer.)
i. The interquartile range is not sensitive to outliers.
ii. If A and B are independent events, then P(A ∪ B) = P(A) + P(B).
iii. Increasing the sample size will increase the width of a confidence interval
for a population mean (assuming that everything else remains constant).
iv. In a sample survey assume that some sampled individuals did not reply at
all. The non-responses are called ‘item non response’.
v. If two variables are uncorrelated then it must be that they have a
non-linear relationship.
(10 marks)
(d) An urn contains 36 balls numbered 1 to 36. One ball is selected at random
and its number observed. Let A denote the event that the number on the ball
is divisible by 3, and let B denote the event that the number on the ball is
divisible by 4. Calculate P(A ∪ B).
(5 marks)
Page 2 of 6
(e) Let X be a normal random variable with mean 3 and variance 16. Calculate
to four decimal places:
P(X > 3 | X > 1).
(5 marks)
(f) The probability distribution of a random variable X is given below.
X = x 5 3 0 3 5
P(X = x) 0.10 0.15 0.50 0.15 0.10
i. Without performing any calculation, explain why the expected value of X
is E(X) = 0.
(2 marks)
ii. Calculate the standard deviation of X to four decimal places.
(3 marks)
iii. Calculate P(X > 0 | X ≥ 0).
(3 marks)
(g) Based on the central limit theorem, you are told that a 90% confidence interval
for a population proportion is (0.3724, 0.4876). What was the size of the sample
used
(5 marks)
(h) A linear regression of weekly sales on a popular e-commerce website, y in
thousands of dollars, on the number of website visitors, x, produced the
following estimated model:
b
y = 4.75 + 0.26x.
The y-intercept of the estimated regression line is 4.75. Interpret this value
and discuss whether this is a concern. Justify your view.
(5 marks)
Page 3 of 6
SECTION B
Answer two out of the three questions from this section (25 marks each).
2. (a) In a study of pollution in a water stream, the concentration of pollution (y)
is expected to be associated with the distance from the pollution source (x),
measured in kilometres. For this reason, 12 different measurements on the
water stream were taken on different areas and times, the values of x and y
were measured and are reported in the table below:
Area A B C D E F G H I J K L
Distance (x) 5 7 5 7 8 3 2 8 11 4 5 8
Pollution (y) 20 22 15 17 19 25 32 13 11 23 21 23
The summary statistics for these data are:
Sum of x data: 73 Sum of the squares of x data: 515
Sum of y data: 241 Sum of the squares of y data: 5197
Sum of the products of x and y data: 1345
i. Draw a scatter diagram of these data. Label the diagram carefully.
(4 marks)
ii. Calculate the sample correlation coefficient. Interpret your findings.
(3 marks)
iii. Calculate the least squares line of y on x and draw the line on the scatter
diagram.
(4 marks)
iv. Using the equation you found in iii., obtain the predicted concentration
of pollution for a water stream location 10 kilometres from the pollution
source. Do you think this value is realistic Justify your answer.
(2 marks)
(b) i. Define simple random sampling and cluster random sampling.
(4 marks)
ii. Why might a researcher prefer to take a cluster random sample rather than
a simple random sample Give two reasons.
(3 marks)
iii. You have been asked to design a nationwide survey in your country to find
out about the internet usage among students. Give two types of clusters
you might use, and explain why you have chosen them.
(5 marks)
Page 4 of 6
3. (a) A survey asked participants whether they monitor their daily calorie intake
and also recorded if they were adults, to explore potential differences. The
data are summarised in the following table, together with row percentages.
Monitoring Calorie Intake
Age Frequently Rarely Never Total
Aged under 18 52 (26%) 94 (47%) 54 (27%) 200 (100%)
Adults 47 (39%) 52 (43%) 21 (18%) 120 (100%)
Total 99 (31%) 146 (46%) 75 (23%) 320 (100%)
i. Based on the data in the table, and without conducting a significance
test, how would you describe the relationship between being adult and
monitoring calorie intake
(4 marks)
ii. Calculate the χ
2
statistic and use it to test for independence between being
adult and monitoring calorie intake, using a 5% significance level. What
do you conclude
(9 marks)
(b) A course evaluation survey is conducted to compare student satisfaction in two
similar Statistics courses taught in two different universities. The survey was
administered to randomly selected students of this course from each university
over the past 5 years, who were asked if they were overall satisfied with the
course. The results of this survey are shown in the following table.
Sample size Number satisfied
University A 153 115
University B 188 120
i. You are asked to consider an appropriate hypothesis test to determine
whether there is a difference between the two universities regarding the
proportion of satisfied students for this course. Test at two appropriate
significance levels and comment on your findings. Specify the test statistic
you use and its distribution under the null hypothesis.
(7 marks)
ii. State clearly any assumptions you made in part i.
(2 marks)
iii. Compute a 98% confidence interval for the proportion of satisfied students
in both universities A and B combined, assuming the respective sample
sizes are proportional to population sizes.
(3 marks)
Page 5 of 6
4. (a) i. The following data reflect monthly sales of flats for a real estate branch.
Carefully construct a boxplot to display these data.
3 2 4 8 7 19 2 5 3 4 10 12.
(8 marks)
ii. Describe the distribution of the data based on the boxplot you have drawn.
(2 marks)
iii. Name two other types of graphical displays that would be suitable to
represent the data and their distribution. Provide a justification for your
answers.
(3 marks)
(b) Nine randomly chosen 100-metre runners are recording their performances
using shoe types A and B. The data are shown below. The aim is to
determine whether shoe type A is more effective in terms of reducing the
average times of the runners.
Shoe type A 13.5 10.6 11.0 12.3 10.9 12.3 11.5 11.6 13.0
Shoe type B 13.3 11.0 10.8 12.0 10.9 12.4 11.8 11.3 13.1
i. Carry out an appropriate hypothesis test at two appropriate significance
levels to determine whether shoe type A is effective in reducing the average
times of the runners. State the test hypotheses, and specify your test
statistic and its distribution under the null hypothesis. Comment on your
findings.
(6 marks)
ii. State any assumptions you made in part i.
(2 marks)
iii. Compute an 80% confidence interval for the difference in the means of the
times.
(2 marks)
iv. On the basis of the data alone, would you recommend shoe type B to a
100-metre runner Explain why or why not.
(2 marks)
Page 6 of 6
End of paper
ST104a Statistics 1
Examination Formula Sheet
Expected value of a discrete random
variable:
μ = E(X) =
N
X
i=1
pixi
Standard deviation of a discrete random
variable:
σ =
√
σ
2 =
v
u
u t
N
X
i=1
pi(xi μ)
2
The transformation formula:
Z =
X μ
σ
Finding Z for the sampling distribution
of the sample mean:
Z =
ˉX μ
σ/√
n
Finding Z for the sampling distribution
of the sample proportion:
Z =
P
p
π(1

π
π)/n
Confidence interval endpoints for a
single mean (σ known):
ˉx ± zα/2 ×
σ
√
n
Confidence interval endpoints for a
single mean (σ unknown):
ˉx ± tα/2, n 1 ×
s
√
n
Confidence interval endpoints for a
single proportion:
p ± zα/2 ×
r
p(1
n
p)
Sample size determination for a mean:
n ≥
(zα/2
)
2
σ
2
e
2
Sample size determination for a
proportion:
n ≥
(zα/2
)
2
p(1 p)
e
2
z test of hypothesis for a single mean (σ
known):
Z =
ˉX μ0
σ/√
n
t test of hypothesis for a single mean (σ
unknown):
T =
ˉX μ0
S/√
n
z test of hypothesis for a single
proportion:
Z ~=
P π0
p
π0(1 π0)/n
z test for the difference between two means
(variances known):
Z =
ˉX1 ˉX2 (μ1 μ2)
p
σ
2
1
/n1 + σ
2
2
/n2
t test for the difference between two means
(variances unknown):
T =
ˉX1 ˉX2 (μ1 μ2)
q
S2
p
(1/n1 + 1/n2)
Confidence interval endpoints for the
difference between two means:
ˉx1 ˉx2±tα/2, n1+n2 2×
s s
2
p
n
1
1
+
1
n2

Pooled variance estimator:
Sp
2 =
(n1 1)S
2
1 + (n2 1)S2
2
n1 + n2 2
t test for the difference in means in
paired samples:
T =
ˉXd μd
Sd/
√
n
Confidence interval endpoints for the
difference in means in paired samples:
ˉxd ± tα/2, n 1 ×
s
√
d
n
z test for the difference between two
proportions:
Z =
P1 P2 (π1 π2)
p
P(1 P)(1/n1 + 1/n2)
Pooled proportion estimator:
P =
R1 + R2
n1 + n2
Confidence interval endpoints for the
difference between two proportions:
p1 p2±zα/2×
s
p1(1 p1)
n1
+
p2(1 p2)
n2
χ
2
statistic for test of association:
rX
i=1
cX
j=1
(Oij Eij )
2
Eij
Sample correlation coefficient:
r =
n
i
P=1
xiyi nˉxyˉ
s

n
i
P=1
x
2
i nˉx
2

n
i
P=1
yi
2 nyˉ
2

Spearman rank correlation:
rs = 1
6
n
i
P=1
d
2
i
n(n2 1)
Simple linear regression line estimates:
b =
n
i
P=1
xiyi nˉxyˉ
n
i
P=1
x
2
i nˉx
2
a = ˉy bˉx
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.
Dennis V. Lindley, William F. Scott, New Cambridge Statistical Tables, (1995) Cambridge University Press, reproduced with permission.

发表回复