Question

The built-in R dataset swiss gives Standardized fertility measure and socio-economic indicators for each of 47...

The built-in R dataset swiss gives Standardized fertility measure and socio-economic indicators for each of 47 French-speaking provinces of Switzerland at about 1888. The dataset is a data frame containing 6 columns (variables). The column Infant.Mortality represents the average number of live births who live less than 1 year over a 3-year period. We are interested in the Infant.Mortality column. We can convert the data in this colun to an ordinary vector x by making the assignment x <- swiss$Infant.Mortality. Then we can easily access the data. We can also get the data by entering the values 1 by 1. (You would be wise to not do the 1 by 1 entry.) The following is a screen print of the data values:

[1] 22.2, 22.2, 20.2, 20.3, 20.6, 26.6, 23.6, 24.9, 21.0, 24.4, 24.5, 16.5, 19.1, 22.7
[15] 18.7, 21.2, 20.0, 20.2, 10.8, 20.0, 18.0, 22.4, 16.7, 15.3, 21.0, 23.8, 18.0, 16.3
[29] 20.9, 22.5, 15.1, 19.8, 18.3, 19.4, 20.2, 17.8, 16.3, 18.1, 20.3, 20.5, 18.9,, 23.0
[43] 20.0, 19.5, 18.0, 18.2, 19.3

Assume these values are a random sample from a normal population with unknown mean μ and unknown standard deviation σ.
Let x be the vector created by the assignment x <- swiss$Infant.Mortality.

k) Using this data, create a 99% confidence interval for μ, noting that the sample size is large enough so we can use a normal distribution critical value zstar.

l) Using this data, create a 99% prediction interval for μ, noting that the sample size is large enough so we can use a normal distribution critical value zstar.

m) Using this data, we create a 1% level test of H0: μ=21 versus the alternative Ha: μ < 21. We will reject H0if z = ((x-21)/s)/√47 < zstar where s is the sample standard deviation. What is the value of zstar? (Calculate from normal distribution)

n) Continuing from part m, what is the value of z?  

o) Continuing from parts m and n, what is the p value of the test.

Homework Answers

Answer #1

Calculating the given sample data

Sample size (n)=47

Sample mean

Sample Variance

Sample Standard deviation

k) Confidence level =99%

hence

Now Z critical value for is

since the Sample size is greater than 30 so it is large enough so we can use a normal distribution critical value z star

Z=2.576

Now margin of error

Confidence interval

l)

since the Sample size is greater than 30 so it is large enough so we can use a normal distribution critical value z star

prediction level =99%

hence

Now Z critical value for is

Z=2.576

Now margin of error

prediction interval

m)

Now given that

Now test statistic

Significance level =1%

Since it is a upper tail test so The Z star for is

Since

so we can say that we have enough evidence to reject the null hypothesis

n)

Value of Z= - 2.495

o) from the standard probability distribution table the probability value for the Z is greater than -2.495 is

p=(1-0.0062)=0.9938

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The built-in R dataset swiss gives Standardized fertility measure and socio-economic indicators for each of 47...
The built-in R dataset swiss gives Standardized fertility measure and socio-economic indicators for each of 47 French-speaking provinces of Switzerland at about 1888. The dataset is a data frame containing 6 columns (variables). The column Infant.Mortality represents the average number of live births who live less than 1 year over a 3-year period. We are interested in the Infant.Mortality column. We can convert the data in this colun to an ordinary vector x by making the assignment x <- swiss$Infant.Mortality....
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma...
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma in the UK, 19741979, both sexes. We can easily access this data with the assignment x <- as.vector(ldeaths). We can also get the data by entering the values 1 by 1. (You would be wise to not do the 1 by 1 entry.) The following is a screen print of the data values:s: [1] 3035 2552 2704 2554 2014 1655 1721 1524 1596 2074...
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma...
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma in the UK, 19741979, both sexes. We can easily access this data with the assignment x <- as.vector(ldeaths). We can also get the data by entering the values 1 by 1. (You would be wise to not do the 1 by 1 entry.) The following is a screen print of the data values:s: [1] 3035 2552 2704 2554 2014 1655 1721 1524 1596 2074...
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma...
The built-in ldeaths data set contains measurements giving the monthly deaths from bronchitis, emphysema and asthma in the UK, 19741979, both sexes. We can easily access this data with the assignment x <- as.vector(ldeaths). We can also get the data by entering the values 1 by 1. (You would be wise to not do the 1 by 1 entry.) The following is a screen print of the data values:s: [1] 3035 2552 2704 2554 2014 1655 1721 1524 1596 2074...
This is meant for R. AirPassengers is a time series giving the monthly totals (in thousands)...
This is meant for R. AirPassengers is a time series giving the monthly totals (in thousands) of international airline passengers, 1949 to 1960. We may convert the time series to a vector,x, with the assignment x <- as.vector(AirPassengers). Let the random variable X represent a random observation from the values in AirPassengers. Assume X has mean mu and standard deviation sigma and that there is no trend in the data and values are independent from one another. Think of x...
*Answer all questions using R-Script* Question 1 Using the built in CO2 data frame, which contains...
*Answer all questions using R-Script* Question 1 Using the built in CO2 data frame, which contains data from an experiment on the cold tolerance of Echinochloa crus-galli; find the following. a) Assign the uptake column in the dataframe to an object called "x" b) Calculate the range of x c) Calculate the 28th percentile of x d) Calculate the sample median of x e) Calculate the sample mean of x and assign it to an object called "xbar" f) Calculate...
Problem #1 Confidence Interval for Means using the t and z Distribution.    Psychologists studied the percent...
Problem #1 Confidence Interval for Means using the t and z Distribution.    Psychologists studied the percent tip at a restaurant when a message indicating that the next day’s weather would be nice was written on the bill. Here are tips from a random sample of patrons who received such a bill, measured in percent of the total bill: 20.8     18.7     19.9     20.6     21.9     23.4     22.8     24.9     22.2     20.3   24.9     22.3     27.0     20.4     22.2     24.0     21.1     22.1     22.0     22.7 Open an...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT