Homework 01

Due date: TODO 2022-09-02

  1. Download OpenIntro Statistics, 4th Edition, forevermore referred to as (OS4). A pdf of this book is free, just slide the amount you are willing to pay to $0.00.

  2. Download and install R and then RStudio

  3. Install the following R packages: tidyverse, ape, openintro.

To install the necessary packages in R, use the following code.

install.packages(c("tidyverse", "ape", "openintro")) # copy and paste this line

To make sure you installed everything correctly, run the following code. Come see me if you are having trouble.

library(ape) # copy and paste these lines
data(carnivora)
head(carnivora)
      Order SuperFamily  Family  Genus         Species   FW   SW    FB    SB
1 Carnivora  Caniformia Canidae  Canis     Canis lupus 31.1 33.1 130.0 132.3
2 Carnivora  Caniformia Canidae  Canis   Canis latrans  9.7 10.6  84.5  88.3
3 Carnivora  Caniformia Canidae  Canis   Canis adustus 10.6 11.3  53.5  51.8
4 Carnivora  Caniformia Canidae  Canis Canis mesomelas  7.2  7.7  52.0  56.8
5 Carnivora  Caniformia Canidae Lycaon   Lycaon pictus 22.2 22.0 128.0 129.0
6 Carnivora  Caniformia Canidae   Cuon    Cuon alpinus 13.8 15.8  95.0  95.0
   LS   GL  BW WA  AI  LY    AM IB
1 5.5 63.0 425 35  NA 177   913 12
2 6.2 61.5 225 98  NA  NA   365 12
3 4.3 63.3  NA NA  NA 127         
4 3.8 60.0  NA 61 270  NA   392   
5 8.8 70.5 365 77 390 132 t 132 13
6 4.3 62.0 275 NA  NA 186         
  1. OS4 Guided Practice \(1.2, 1.4, 1.11, 1.12\)