Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Experimental Design and Analysis - Practise Exam with answers

Rating
-
Sold
-
Pages
10
Uploaded on
31-12-2024
Written in
2023/2024

A practise exam with answers for the course Experimental Design and Analysis, MSc AI.

Institution
Course

Content preview

Question 1
Birthweights a) The vector birthweight contains the birthweights (in grams) of 188 newborn
babies. Denote the underlying mean birthweight by μ. Suppose we implemented the following
commands in R:
> mean(birthweight)
2913.293
> var(birthweight)
486506.6
> qnorm(0.96)
1.750686
> qnorm(0.98)
2.053749

Assuming normality, construct a bounded 96% confidence interval (CI) for μ:
[2805, 3010.4] - [2806.19, 3015.5] - [2808.08, 3018.5] - [2800.19, 3011.5]
. Evaluate the sample size needed to provide that the length of the 96%-CI is at most 100:
830 - 813 - 798 - 821 - 578
. Would it be possible to compute a bootstrap 92%-CI for μ by using the sample birthweights?
Not relevant - yes - no

Question 2
Birthweights b) The vector birthweight contains the birthweights (in grams) of 188 newborn
babies. Denote the underlying mean birthweight by μ. An expert claims that the mean
birthweight is bigger than 2800 gram. We want to verify this claim by using relevant test(s).

Choose the correct claim(s).
We can use the following sign test
binom.test(sum(birthweight<=2800),n,0.5,alt="l").
We can use the following sign test
binom.test(sum(birthweight>2800),n,0.5,alt="g").
Under normality, we can use the following t-test t.test(birthweight,mu=2800,alt="l")
Under normality, we can use the following t-test
t.test(birthweight,mu=2800,alt="g")
We cannot perform a sign tests for this problem.
We can use the following sign test binom.test(sum(birthweight<2800),n,0.5,alt="g").

Question 3
Birthweights c) The vector birthweight contains the birthweights (in grams) of 188 newborn
babies. Denote the underlying mean birthweight by μ. An expert claims that the mean
birthweight is bigger than 2800 gram. We want to verify this claim by using relevant test(s).

Suppose we have two tests to verify the claim of the expert. One test has the significance
alpha=0.3 and the power 0.78, the second test has the significance alpha=0.4 and the error of
the second kind 0.25. Which of the two tests is preferable?

, 1st - 2nd - cannot say
.

Suppose we use a t-test to verify the claim of the expert, then
We can estimate - we cannot estimate - we can compute
its power for
All parameter values from the null hypothesis - All parameter values - All parameter values
from the alternative hypothesis
.

Question 4
Birthweights d) The vector birthweight contains the birthweights (in grams) of 188 newborn
babies. Let p be the probability that birthweight of a newborn baby is less than 2600 gram.
Suppose we implemented the following command in R:
> p=sum(t<2600)/n; p
0.3522727

Suppose further that, using asymptotic normality, the expert computed the left end pl=0.25 of
the confidence interval [pl,pr] for p. We recover the whole confidence interval as
[0.15, 0.39] - [0.25, 0.41] - [0.23, 0.45] - [0.19, 0.44]
(rounded to two decimal digits) and its confidence level we recover as
q=(p+0.25)/sqrt(p*(1-p)/n); 1-2*(1-pnorm(q))
q=(p+0.25)/sqrt(p*(1-p)/n); 1-2*(1-qnorm(q))
q=(p-0.25)/sqrt(p*(1-p)/n); 1-(1-pnorm(q))
q=(p-0.25)/sqrt(p*(1-p)/n); 1-2*(1-pnorm(q))


Question 5
Birthweights e) The vector birthweight contains the birthweights (in grams) of 188 newborn
babies. An expert reports that there were 34 male and 28 female babies among 62 who
weighted less than 2600 gram, and 61 male and 65 female babies among the remaining 126
babies. The expert claims that the mean weight is different for male and female babies. We
want to verify this claim by an appropriate test. To test the claim, represent the data in the form
of contingency table.

male female
weight<2600g V1 V2
weight>2600g V3 V4

Determine the values of the above contingency table.
V1= 28 - 61 - 65 - 68 - 34
V2= 28 - 61 - 65 - 68 - 34
V3= 28 - 61 - 65 - 68 - 34
V4= 28 - 61 - 65 - 68 - 34

Written for

Institution
Study
Course

Document information

Uploaded on
December 31, 2024
Number of pages
10
Written in
2023/2024
Type
OTHER
Person
Unknown

Subjects

$10.27
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
tararoopram Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
26
Member since
4 year
Number of followers
2
Documents
38
Last sold
6 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions