Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 . 1 The length of the skulls of 1 2 collected fossil skeletons of an extinct species of bird has sample mean 5

Question 1.1
The length of the skulls of 12 collected fossil skeletons of an extinct species of bird has sample mean 5.68cm. The standard deviation of the sample is 0.29cm. Assuming that
such measurements are normally distributed, find a 95% confidence interval for the mean length of the skulls of this species of bird. Create R vector Cl of length two, so that the
first and the second entries are the lower and the upper end points of your confidence interval, respectively.
Do not round your answer.
Make sure R code passes ALL test provided by the following code:
## check whether Cl is a numeric vector of length 2
if (test_that(desc="", code={
expect_equal( is.numeric(CI), TRUE)
})!= TRUE) stop("Sorry,Cl is not a numeric vector.")
if (test_that(desc="", code
expect_equal( length(CI)==2, TRUE)
})!= TRUE) stop("Sorry,Cl is not of length 2.")
And
## check whether whether 6 th and 7th dec. digits of CI[1] and CI[2] are 27 and 72, respectively
if (test_that(desc="", code
expect_equal((floor(CI[1]*10^7)%100==27), TRUE)
})!= TRUE) stop("Sorry, your Cl is incorrect.")
if (test_that(desc="", code={
expect_equal((floor({:CI[2]**10???7)%100==72), TRUE)
})!= TRUE) stop("Sorry, your Cl is incorrect.")
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Science Project Ideas In Health Care Volume 1

Authors: Zemelak Goraga

1st Edition

B0CPX2RWPF, 979-8223791072

More Books

Students also viewed these Databases questions