数据分析|ST104A ZB

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

ST104A ZB
BSc DEGREES AND GRADUATE DIPLOMAS IN ECONOMICS, MANAGEMENT,
FINANCE AND THE SOCIAL SCIENCES, THE DIPLOMA IN ECONOMICS AND
SOCIAL SCIENCES AND THE CERTIFICATE IN EDUCATION IN SOCIAL SCIENCES
Summer 2021 Online Assessment Instructions
ST104A Statistics 1
Tuesday, 4 May 2021: 06:00 – 10:00 (BST)
The assessment will be an open-book take-home online assessment within a 4-
hour window. The requirements for this assessment remain the same as the closed book exam, with an expected time/effort of 2 hours.
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.
You should complete this paper using pen and paper. Please use BLACK INK only.
Handwritten work then needs to be scanned, converted to PDF and then uploaded to
the VLE as ONE individual file including the coversheet. Each scanned sheet should
have your candidate number written clearly in the header. Please do not write your
name anywhere on your submission.
You have until 10:00 (BST) on Tuesday, 4 May 2021 to upload your file into the VLE
submission portal. However, you are advised not to leave your submission to the last
minute.
Workings should be submitted for all questions requiring calculations. Any necessary
assumptions introduced in answering a question are to be stated.
A list of formulae and extracts from statistical tables are provided after the final question
of this paper.
You may use any calculator for any appropriate calculations, but you may not use any
computer software to obtain solutions. Credit will only be given if all workings are shown.
University of London 2021
Page 1 of 9
UL21/0185
If you think there is any information missing or any error in any question, then you
should indicate this but proceed to answer the question stating any assumptions you
have made.
The assessment has been designed with a duration of 4 hours to provide a more
flexible window in which to complete the assessment and to appropriately test the
course learning outcomes. As an open-book exam, the expected amount of effort
required to complete all questions and upload your answers during this window is no
more than 2 hours. Organise your time well.
You are assured that there will be no benefit in you going beyond the expected 2 hours
of effort. Your assessment has been carefully designed to help you show what you
have learned in the hours allocated.
This is an open book assessment and as such you may have access to additional
materials including but not limited to subject guides and any recommended reading. But
the work you submit is expected to be 100% your own. Therefore, unless instructed
otherwise, you must not collaborate or confer with anyone during the assessment. The
University of London will carry out checks to ensure the academic integrity of your work.
Many students that break the University of London’s assessment regulations did not
intend to cheat but did not properly understand the University of London’s regulations
on referencing and plagiarism. The University of London considers all forms of
plagiarism, whether deliberate or otherwise, a very serious matter and can apply severe
penalties that might impact on your award.
The University of London 2020-21 Procedure for the consideration of Allegations of
Assessment Offences is available online at:
Assessment Offence Procedures – University of London
Page 2 of 9
UL21/0185
SECTION A
Answer all parts of question 1 (50 marks in total).
1. (a) Suppose that x1 = 5, x2 = 36, x3 = 4, and y1 = 7, y2 = 0.5, y3 = 1.
Calculate the following quantities:
i.
3
X
i=2
pxi ii.
3
X
i=1
xiyi
!2
iii. |y1| +
3
X
i=2
y3
i
y2
i
.
(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. Exchange rate between two currencies.
ii. Candidate number in an examination.
iii. University degree type (in terms of Bachelors, Masters, Ph.D.).
(6 marks)
(c) State whether the following statements are true or false, and provide a brief
explanation. (No marks will be awarded for a simple true/false answer.)
i. For a set of observations x1, x2,…,xn, with mean ˉx, then:
nX
i=1
(xi ˉx) < 0. ii. For two mutually exclusive events A and B, then: P(A [ B) > P(A) + P(B).
iii. For a random variable X, (E(X))2 can be greater than E(X2).
iv. Failure to reject a false null hypothesis is known as the power of a test.
v. A 5-by-3 contingency table which results in a χ2 test statistic value of
15.312 is statistically significant at the 1% significance level.
(10 marks)
(d) X is a normal random variable with a mean of μ = 7. If P(X < 4) = 0.40, approximately what is the value of the variance, σ2 (5 marks) (e) The probability distribution of a random variable X is given below. X = x 10 20 30 40 50 P(X = x) k 3k 12k 3k k i. Explain why k = 0.05. (2 marks) ii. Calculate the variance of X. (3 marks) iii. Calculate P(X > E(X)| X > 10).
(3 marks)
iv. Does X have a normal distribution Briefly explain your answer.
(2 marks)
(f) Based on the central limit theorem, you are told that a 99% confidence interval
for a population proportion is (0.5782, 0.7018).
i. What was the sample proportion which resulted in this confidence interval
(2 marks)
ii. What was the size of the sample used
(4 marks)
(g) It is assumed that investors are equally split between those who prefer ‘growth’
stocks and those who prefer ‘value’ stocks. In a random sample of 500 investors,
255 agreed with the statement ‘Growth stocks are better than value stocks’.
i. Conduct a two-sided hypothesis test, at the 10% significance level, to
test whether in the population of investors there are equal preferences
for growth and value stocks. Show all steps of your calculation and use
the ‘critical value’ approach to perform the test.
(5 marks)
ii. Calculate the p-value of the test statistic value calculated in part i.
(2 marks)
SECTION B
Answer two out of the three questions from this section (25 marks each).
2. A study is made for a particular allergy medication in order to determine the length
of relief it provides, y (in hours), in relation to the dosage of medication, x (in mg).
For this reason, ten patients were given di erent doses of the medication and were
asked to report back when the medication seemed to wear o .
Patient #1 #2 #3 #4 #5 #6 #7 #8 #9 #10
Dosage (x) 3 3.5 4 5 6 6.5 7 8 8.5 9
Relief Hours (y) 9.1 5.5 12.3 9.2 14.2 16.8 22.0 18.3 24.5 22.7
The summary statistics for these data are:
Sum of x data: 60.5 Sum of the squares of x data: 406.75
Sum of y data: 154.6 Sum of the squares of y data: 2,767.3
Sum of the products of x and y data: 1,049.1
(a) i. Draw a scatter diagram of these data. Label the diagram carefully.
ii. Calculate the sample correlation coefficient. Interpret your findings.
iii. Calculate the least squares line of y on x and draw the line on the scatter
diagram.
iv. Suppose that you observe more data and when you draw the corresponding
scatter diagram a non-linear association is revealed. Discuss how this can
be interpreted in the context of the problem.
(13 marks)
(b) A study focused on the perception of life satisfaction that may vary between
older and younger people. For this reason, at random 12 adults over the age of
70 and 16 adults aged between 18 and 30 took a life satisfaction questionnaire
that gave a score for each one of them (high values of the score indicate higher
life satisfaction). Summaries of these scores are presented below.
Sample size Sample mean Sample variance
Older adults 12 33.5 16.0
Younger adults 16 29.0 15.3
i. Use an appropriate hypothesis test to determine whether the mean life
satisfaction scores di er between the age groups. Test at two appropriate
significance levels, stating clearly the hypotheses, the test statistic and its
distribution under the null hypothesis. Comment on your findings.
ii. State clearly any assumptions you made in part i.
iii. Is it possible that there is no di erence between older and younger adults
in terms of their life satisfaction Discuss.
(12 marks)
3. (a) A variety of a broad bean plant is studied and the number of beans per plant
is counted and listed below.
71 94 62 74 106
76 87 94 76 78
83 56 78 79 80
60 92 54 81 45
72 54 45 85 72
74 65 68 55 66
i. Carefully construct, draw and label a stem-and-leaf diagram of these data.
ii. Find the mean (given that the sum of the data is 2,182), the median and
the modal stem.
iii. Comment on the data based on the shape of the stem-and-leaf diagram
and the measures you have calculated.
iv. Name two other types of graphical displays that would be suitable to
represent the data.
(12 marks)
(b) A researcher is interested in determining whether a particular pill provides
e ective treatment for stomach pain. A randomised experiment was conducted
to address this question. The study randomly allocated 200 people to either
a group where the pill was administered, or a group where a placebo pill was
given. These people were monitored and the numbers of those who got better
(or did not) were recorded. The results are summarised below:
Did not get better Got better
Pill 21 74
Placebo 50 55
i. Give a 95% confidence interval for the di erence in the probabilities of
getting better from stomach pain between those who took the pill and the
placebo group.
ii. Carry out an appropriate hypothesis test at the 5% significance level to
determine whether the probability of getting better is higher in the pill
group, compared to the probability in the placebo group. State the test
hypotheses, and specify your test statistic and its distribution under the
null hypothesis. Comment on your findings.
iii. State any assumptions you made in part ii.
iv. On the basis of the data alone, would you conclude that the particular
pill increases the chances of getting better from stomach pain Provide an
explanation with your answer.
(13 marks)
4. (a) A study looked into the views of workers towards a government policy of school
closures in order to reduce coronavirus transmission. 300 participants from
three sectors (hospitality, banking and construction) were interviewed and their
responses were classified into three categories, namely positive, neutral and
negative. The data are shown below.
View Towards School Closure
Positive Neutral Negative Total
Hospitality 35 25 40 100
Banking 28 47 25 100
Construction 38 22 40 100
Total 101 94 105 300
i. Based on the data in the table, and without conducting a significance test,
describe the di erences of views across the di erent sectors.
ii. Calculate the χ2 statistic and use it to test for independence, using a 5%
significance level. What do you conclude
(13 marks)
(b) i. Describe what selection bias is and when it may occur. Give an example.
ii. You have been asked to design a nationwide survey in your country to
find out about working conditions among employees in the postal offices.
Provide a probability sampling scheme and a sampling frame that you
would like to use. Identify a potential source of response bias that may
occur and discuss how this issue could be addressed.
(12 marks)
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
Sp
2(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

发表回复