Quotes help make search much faster. Example: "Practice Makes Perfect"

Monday, September 9, 2019

Codecademy Hypothesis Testing With R ANOVA 13/14


#Sample Solution
---
title: "Hypothesis Testing in R"
output: html_notebook
---

```{r message = FALSE}
# load data
load("dist_one.Rda")
load("dist_two.Rda")
load("dist_three.Rda")
load("dist_four.Rda")
```

```{r}
# plot histograms and define not_normal here:
hist(dist_one)
hist(dist_two)
hist(dist_three)
hist(dist_four)
not_normal <- 4
```

```{r}
# define ratio here:
ratio <- sd(dist_two)/sd(dist_three)
ratio
```

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts