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 B If you haven't already,
enter the data into statistical software; see Mini Project IB Part 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 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 species of nonhuman 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 to use R or other software to compute the mean
and standard deviation of the three sleep variables; the dreaming times, the nondreaming
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 narmTRUE inside the sd command tells 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 structurelistspecies structure:Label cAfricanelephant "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", "Lessershorttailedshrew", "Littlebrownbat", "Man", "Molerat", "Mountainbeaver", "Mouse", "Muskshrew", "NAmericanopossum", "Ninebandedarmadillo", "Okapi", "Owlmonkey", "Patasmonkey", "Phanlanger", "Pig", "Rabbit", "Raccoon", "Rat", "Redfox", "Rhesusmonkey", "RockhyraxHeterob "RockhyraxProcaviahab "Roedeer", "Sheep", "Slowloris", "Starnosedmole", "Tenrec", "Treehyrax", "Treeshrew", "Vervet", "Wateropossum", "Yellowbelliedmarmot" class "factor" bodywt c brainwt c nondreaming cNA NA NA NA NA NA NA NA NA NA NA NA NA NA dreaming cNA NA NA NA NA NA NA NA NA NA NA NA totalsleep c NA NA NA
