Lily K.

asked • 01/31/24

How can i do the following problem in r studio?

Problem I.

It was reported on the local news that Gen Zers consider it rude if someone takes over 20 minutes to reply to a text message. To test this statement, you randomly select 30 Gen Zers to interview. You ask them, ”What is the longest length of time, in minutes, to reply to a text before you consider a person rude?” You calculated the following summary statistics: mean = 17.75 minutes and standard deviation = 3.0 minutes.

You set up the following pairs of hypotheses:

Ho : µ = 20 and Ha : µ > 20

  1. What is the sample variance of the times?
  2. Calculate the value of the test statistic.
  3. Compute the p-value.
  4. Test using α = 0.05. What is your conclusion about the statistical test and whether the length of time exceeds 20 minutes?
  5. Compute a 95% confidence interval for µ to determine whether the news reported was correct. You may use the distribution multiplier of 2.045 (based on the t29 distribution). Interpret your results.


1 Expert Answer

By:

Nathaniel Z. answered • 06/09/24

Tutor
5 (1)

Ph.D. Candidate in Economics with 4+ Years of Teaching Experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.