3) Let's examine the levels of levels of sodium in the blood. 20 people yield the following results (in mEq/L): ̄y = 136.95 s = 2.544 (a) Test H0: μ = 140 using α = 0.001 (that's not a typo). (b) Figure out the p-value. To do this, take the t value that you calculated in (a) and use R: pt(absolute-value-of-your-t*, df, lower.tail = FALSE)*2 Since it's a two-sided test, you need to multiply by 2 at the end. We'll talk more about this in lecture when we do one sided tests; for now just realize that without the “*2” at the end R gives you a one sided p-value. For example, if your t* = 4.65 and you have 67 degrees of freedom you would do: pt(4.65,67,lower.tail = FALSE)*2 and you would get back 1.609352e-05

College Algebra
1st Edition
ISBN:9781938168383
Author:Jay Abramson
Publisher:Jay Abramson
Chapter3: Functions
Section3.3: Rates Of Change And Behavior Of Graphs
Problem 45SE: A driver of a car stopped at a gas station to fill up his gas tank. He looked at his watch, and the...
icon
Related questions
Question

3) Let's examine the levels of levels of sodium in the blood. 20 people yield the following results (in mEq/L): ̄y = 136.95 s = 2.544

(a) Test H0: μ = 140 using α = 0.001 (that's not a typo).
(b) Figure out the p-value. To do this, take the t value that you calculated in (a) and use R:

pt(absolute-value-of-your-t*, df, lower.tail = FALSE)*2

Since it's a two-sided test, you need to multiply by 2 at the end. We'll talk more about this in lecture when we do one sided tests; for now just realize that without the “*2” at the end R gives you a one sided p-value.

For example, if your t* = 4.65 and you have 67 degrees of freedom you would do: pt(4.65,67,lower.tail = FALSE)*2

and you would get back 1.609352e-05

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Numerical Differentiation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781337278461
Author:
Ron Larson
Publisher:
Cengage Learning