[A, SfS] Chapter 6: Hypothesis Testing: 6.8: Tests & Confidence Intervals in R
Hypothesis Tests and Confidence Intervals in R
Copy the following data vectors into #\mathrm{R}#:
X = c(56.93,61.43,62.88,56.77,55.13,56.71,56.20,59.78,58.42,55.52,56.34,51.71,48.67,55.92,51.93)
Y = c(50.14,50.53,58.93,48.20,58.51,53.95,52.88,56.71,58.81,58.84,49.87,49.45,54.08,55.08,53.30,52.34,52.91,53.86)
Use the #\mathtt{t.test()}# function in #\mathrm{R}# to assess the hypothesis test of #H_0 : \mu_X = 53# against #H_1 : \mu_X \neq 53# where #\mu_X# is the population mean of the variable represented by the measurements found in data vector #X#.
Report the P-value of the test, using #4# decimal places.
#P=# | (#4# decimals) |
Unlock full access
Teacher access
Request a demo account. We will help you get started with our digital learning environment.
Student access
Is your university not a partner?
Get access to our courses via Pass Your Math independent of your university. See pricing and more.
Or visit omptest.org if jou are taking an OMPT exam.
Or visit omptest.org if jou are taking an OMPT exam.