CS1B Y1 Assignment Questions 2022 V01 2 PDF
CS1B Y1 Assignment Questions 2022 V01 2 PDF
If you are having your assignment marked by ActEd, please follow these instructions carefully:
Download and open the Word document ‘CS1 Assignment Y1 2022 Answer Booklet
12345’. This can be found on the ActEd website at
www.ActEd.co.uk/paper_assignments.html. Follow the instructions provided in the
template and enter your answers where indicated.
In your submission, include sufficient R code for the markers to work out how you arrived
at your answers. In addition to providing your R code and output, you should separately
state any numerical answers or conclusions.
Begin your answer to each question on a new page. Only send ActEd one Word file
(created using the template) when you have completed the assignment.
Please use a minimum font size of 11pt.
When submitting your script, email your Word file to [email protected]. Please
title your email ‘CS1 Assignment Y1 No. 12345’, inserting your ActEd Student Number for
12345.
Assignment marking is not included in the price of the course materials. Please purchase
Series Y Marking or a Marking Voucher before submitting your script.
We only accept the current version of assignments for marking, and so you can only
submit this assignment in the sessions leading to the 2022 exams.
We only accept Word files produced in Office 2010 or later. Submitted assignments will
not be marked if any of the files are suspected to have been affected by a computer virus
or to have been corrupted.
You should aim to submit this script for marking by the recommended submission date.
The recommended and deadline dates for submission of this assignment are listed on our
website at www.ActEd.co.uk (Products, Marking).
Scripts received after the deadline date will not be marked, unless you are using a
Marking Voucher. It is your responsibility to ensure that scripts reach ActEd in good time.
If you are using Marking Vouchers, then please make sure that your script reaches us by
the Marking Voucher deadline date to give us enough time to mark and return the script
before the exam.
This study source was downloaded by 100000769278864 from CourseHero.com on 12-14-2022 07:48:18 GMT -06:00
This study source was downloaded by 100000769278864 from CourseHero.com on 12-14-2022 07:48:18 GMT -06:00
Y1.1 In a particular portfolio of 1,000 life assurance policyholders, deaths are assumed to occur
independently with a probability of 0.05.
(ii) Calculate the probability that the number of deaths, D , lies between 45 and 59 inclusive:
(a) exactly
Y1.2 (i) (a) Calculate 1,000 simulated values from a U(0,1) distribution using set.seed(13).
(b) Hence, determine 1,000 simulations from the distribution which has cumulative
distribution function:
1
F (x) 1 , x 0 [7]
1 x
(a) plot a labelled graph of the empirical PDF of the simulations for the range
x (0,200)
(b) calculate the empirical mean, standard deviation and coefficient of skewness and
comment on the shape of the distribution. [13]
[Total 20]
Y1.3 A company that makes Gizmos™ is trying to ascertain the percentage of consumers who are
aware of the existence of its product. A study is to be carried out in which a random sample of
the population will be interviewed and asked whether or not they are aware of it.
(i) In a sample of 20 people, 10 had heard of Gizmos™. Determine the width of an exact 95%
confidence interval for the underlying population proportion. [5]
(ii) Show exhaustively for a sample of size 20 that the greatest width of an exact binomial
confidence interval occurs when half of the sample have heard of Gizmos™. [8]
[Total 13]
This study source was downloaded by 100000769278864 from CourseHero.com on 12-14-2022 07:48:18 GMT -06:00
Y1.4 An insurer is measuring the inter-arrival times between notification of consecutive claims from a
portfolio of policies with a low claim rate. The insurer believes that these inter-arrival times may
have an exponential distribution with unknown parameter . A random sample gives the
following time periods (in days) between consecutive claims:
14, 4, 3, 2, 3, 1, 5, 10, 4, 23
(i) Derive a 99% confidence interval for the exponential parameter using a non-parametric
bootstrap and set.seed(17), based on a sample of 1,000 values. [10]
After extensive analysis it is decided that the inter-arrival times have an exponential distribution
with parameter 0.145.
(ii) (a) Determine 1,000 simulated means from samples of size 10 from this exponential
distribution using set.seed(19).
(c) Use the results of part (ii)(a) to calculate the empirical probability that the sample
mean is less than 5. [13]
(iii) Plot the PDF of the appropriate gamma distribution on the histogram of part (ii)(b) and
comment. [6]
(iv) Calculate the exact probability that the sample mean is less than 5 using this result and
compare to part (ii)(c). [5]
(v) (a) Determine 1,000 simulated values from the appropriate gamma distribution using
set.seed(21).
(b) Plot a Q-Q plot of the sample means from part (ii)(a) and the simulations from
part (v)(a) and comment on the result. [13]
[Total 47]
END OF PAPER
This study source was downloaded by 100000769278864 from CourseHero.com on 12-14-2022 07:48:18 GMT -06:00