Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here we are going to test a couple of hypotheses about the Old Faithful data in R. Remember, this is the faithful data frame


Here we are going to test a couple of hypotheses about the Old Faithful data in R. Remember, this is the faithful data frame that is built in to R. You can use data (faithful) to load data set. First split faithful into two separate data frames: (1) those entries with eruption times less than 3 minutes (eruptions < 3) and (2) those entries with eruption times greater than or equal to 3 minutes (eruptions >= 3). Answer the following about the entry wait time (waiting): (a) For the entries with short eruption times, you want to test the hypothesis that the associated waiting last on average less than 60 minutes. What is the null hypothesis? What is the alternative hypothesis? (Write your own code) (10 pt) (b) Give R commands to compute the statistic that you used in (a) and the resulting p-value. What values did you get? Would you reject the null hypothesis at the a = 0.05 level? (15 pt) (c) For the entries with long eruption times, you want to test the hypothesis that the associated waiting time last on average shorter than 80 minutes. What is the null hypothesis? What is the alternative hypothesis? (Write your own code) (10 pt) (d) Give R commands to compute the statistic you used in (c) and the resulting p-value to test the hypothesis you came up with in part (c). What values did you get? Would you reject the null hypothesis at the a= 0.05 level? (15 pt)

Step by Step Solution

3.38 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

Null hypothesis Y 60 Alternative hypothesis Y60 Y waitings resultmean sdY mu0 5357 ... 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

Document Format ( 1 attachment)

Word file Icon
6287894d4f1de_664584.docx

120 KBs Word File

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

Elementary Statistics Picturing The World

Authors: Ron Larson, Betsy Farber

6th Edition

0321911210, 978-0321911216

More Books

Students also viewed these Marketing questions