degrees female
96.3
96.4
96.7
96.7
96.8
96.9
97
97.1
97.1
97.1
97.2
97.2
97.2
97.3
97.4
97.4
97.4
97.4
97.4
97.5
97.5
97.6
97.6
97.6
97.6
97.7
97.7
97.7
97.8
97.8
97.8
97.8
97.8
97.8
97.8
97.9
97.9
97.9
97.9
97.9
98
98
98
98
98
98
0
1
0
1
1
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
1
1
0
0
0
0
1
1
1
0
0
1
1
1
0
0
0
0
0
0
98
98
98
98
98
98.1
98.1
98.1
98.2
98.2
98.2
98.2
98.2
98.2
98.2
98.2
98.2
98.2
98.3
98.3
98.3
98.3
98.3
98.4
98.4
98.4
98.4
98.4
98.4
98.4
98.4
98.4
98.5
98.5
98.5
98.6
98.6
98.6
98.6
98.6
98.6
98.6
98.6
98.6
98.6
98.7
98.7
1
1
1
1
1
0
0
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
1
1
1
1
0
0
98.7
98.7
98.7
98.7
98.7
98.7
98.8
98.8
98.8
98.8
98.8
98.8
98.8
98.8
98.8
98.8
98.9
98.9
99
99
99
99
99
99.1
99.1
99.1
99.2
99.2
99.2
99.3
99.3
99.4
99.4
99.5
99.9
100
100.8
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
1
0
1
0
0
0
1
1
0
1
1
0
1
1
0
1
0
1
0
1
1
1
The data for this lab exercise are from an article in the Journal of the American Medical
Association entitled “A Critical Appraisal of 98.6 Degrees F, the Upper Limit of the
Normal Body Temperature, and Other Legacies of Carl Reinhold August Wunderlich”
(Mackowiak, Wasserman, and Levine 1992). The data are contained in a Microsoft
Excel spreadsheet called temps.xlsx.
1. Import the data into R to create a R data frame called temps.
Recall that you can use the edit (temps) command to open up a spreadsheet in
R to see if you have imported the data correctly or use head (temps) to see the
first six rows of the data frame, but I would delete these command from your R
script after you’ve checked to make sure that it imported correctly. You can use
the rio package to import an Excel file into R with the import () command as
shown in “Getting Started with R.”
2.
Use R and the entire sample (n = 130) to test whether the true population mean
for human body temperatures is 98.6 degrees Fahrenheit.
Ho: μ = 98.6
H: μ # 98.6
Test the null and alternative hypotheses above at the 1-percent level of
significance using the critical value approach, the p-value approach, and the
confidence interval approach.
What can you conclude with each approach and why? Intuitively explain how
you made your decisions for all three approaches. No credit will be given
without an explanation.
13.
Use R to test whether there is a difference in the population variances of body
temperatures by gender. That is, use an F-test to test this hypothesis as a one-
tailed (right-tailed) test:
Ho: 0 ≤ 0
H₁: o2 > 0²
Groups A and B in this case are males and females, or vice versa. Recall to put
the larger sample variance in the numerator when conducting the F-test.
Test the null hypothesis at the 5-percent level of significance. What can you
conclude and why? No credit will be given without an explanation.
The first step is to create two separate data frames in R from the original data
frame: one data frame with the 65 female observations which includes the
variable degrees and another data frame with the 65 male observations which
includes the variable degrees. This can be done with the subset () command
as shown below with the edit () command added to check that it was done
correctly:
tempsfemale
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.