Question: This project uses the same sleep data as was used in Mini Project 1 B . If you haven't already, enter the data into statistical

This project uses the same sleep data as was used in Mini Project 1B. If you haven't already,
enter the data into statistical software; see Mini Project IB Part 3 for instructions, or check if
your instructor has additional instructions and has provided the data in an easy to copy and
paste format. If so, then copy and paste the data according to the instructions provided online
by your instructor.
PART 1. FINDING CONFIDENCE INTERVALS
A confidence interval is an inference. This means that while a confidence interval uses a
sample mean and standard deviation for computations, the resulting interval is an estimate
of the population mean. This data has measurements from 39 species of non-human mam-
mals. If these data are a sample, what is the population? Be specific. (Record your answer in
the answer template if one is provided by your instructor.)
Use what you learned in Mini Project 1 to use R (or other software) to compute the mean
and standard deviation of the three sleep variables; the dreaming times, the non-dreaming
times, and the total sleep times.
a. If your instructor has an answer template for you to record your work online, then copy
and paste your results there. If not, record your results below.
Most researchers have to compensate for missing data. Sometimes, statistical software has a default way
to adjust,
Every NA in the data indicates that researchers don't have that information.
Sometimes R does computations by ignoring all NA values (like when it made the graphs above), and
The inclusion it doesn't, like when using the sd() command.
the computation of na.rm=TRUE inside the sd() command tells R to remove any NA values and do
the computation with the remaining data. Review the instructions for Mini Project IB if Using r studio with input:
mammals = structure(list(species = structure(1:62,.Label = c("Africanelephant", "Africangiantpouchedrat", "ArcticFox", "Arcticgroundsquirrel", "Asianelephant", "Baboon", "Bigbrownbat", "Braziliantapir", "Cat", "Chimpanzee", "Chinchilla", "Cow", "Deserthedgehog", "Donkey", "EasternAmericanmole", "Echidna", "Europeanhedgehog", "Galago", "Genet", "Giantarmadillo", "Giraffe", "Goat", "Goldenhamster", "Gorilla", "Grayseal", "Graywolf", "Groundsquirrel", "Guineapig", "Horse", "Jaguar", "Kangaroo", "Lessershort-tailedshrew", "Littlebrownbat", "Man", "Molerat", "Mountainbeaver", "Mouse", "Muskshrew", "NAmericanopossum", "Nine-bandedarmadillo", "Okapi", "Owlmonkey", "Patasmonkey", "Phanlanger", "Pig", "Rabbit", "Raccoon", "Rat", "Redfox", "Rhesusmonkey", "Rockhyrax(Heterob)", "Rockhyrax(Procaviahab)", "Roedeer", "Sheep", "Slowloris", "Starnosedmole", "Tenrec", "Treehyrax", "Treeshrew", "Vervet", "Wateropossum", "Yellow-belliedmarmot"), class = "factor"), body_wt = c(6654,1,3.385,0.925,2547,10.555,0.023,160,3.3,52.16,0.425,465,0.550,187.1,0.075,3,0.785,0.2,1.41,60,529,27.66,0.12,207,85,36.33,0.101,1.04,521,100,35,0.005,0.01,62,0.122,1.35,0.023,0.048,1.7,3.5,250,0.48,10,1.62,192,2.5,4.288,0.28,4.235,6.8,0.75,3.6,14.83,55.5,1.4,0.06,0.9,2,0.104,4.19,3.5,4.05), brain_wt = c(5712,6.6,44.5,5.7,4603,179.5,0.3,169,25.6,440,6.4,423,2.4,419,1.2,25,3.5,5,17.5,81,680,115,1,406,325,119.5,4,5.5,655,157,56,0.14,0.25,1320,3,8.1,0.4,0.33,6.3,10.8,490,15.5,115,11.4,180,12.1,39.2,1.9,50.4,179,12.3,21,98.2,175,12.5,1,2.6,12.3,2.5,58,3.9,17), non_dreaming = c(NA,6.3, NA, NA,2.1,9.1,15.8,5.2,10.9,8.3,11,3.2,7.6, NA,6.3,8.6,6.6,9.5,4.8,12, NA,3.3,11, NA,4.7, NA,10.4,7.4,2.1, NA, NA,7.7,17.9,6.1,8.2,8.4,11.9,10.8,13.8,14.3, NA,15.2,10,11.9,6.5,7.5, NA,10.6,7.4,8.4,5.7,4.9, NA,3.2, NA,8.1,11,4.9,13.2,9.7,12.8, NA), dreaming = c(NA,2, NA, NA,1.8,0.7,3.9,1,3.6,1.4,1.5,0.7,2.7, NA,2.1,0,4.1,1.2,1.3,6.1,0.3,0.5,3.4, NA,1.5, NA,3.4,0.8,0.8, NA, NA,1.4,2,1.9,2.4,2.8,1.3,2,5.6,3.1,1,1.8,0.9,1.8,1.9,0.9, NA,2.6,2.4,1.2,0.9,0.5, NA,0.6, NA,2.2,2.3,0.5,2.6,0.6,6.6, NA), total_sleep = c(3.3,8.3,12.5,16.5,3.9,9.8,19.7,6.2,14.5,9.7,12.5,3.9,10.3,3.1,8.4,8.6,10.7,10.7,6.1,18.1, NA,3.8,14.4,12,6.2,13,13.8,8.2,2.9,10.8, NA,9.1,19.9,8,10.6,11.2,13.2,12.8,19.4,17.4, NA,17,10.9,13.7,8.4,8.4,12.5,13.2,9.8,9.6,6.6,5.4,2.6,3.8,11,10.3,13.3,5.4,15.8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!