#Sample Solution
---
title: "Hypothesis Testing in R"
output: html_notebook
---
```{r message = FALSE}
# load and view data
load("ages.Rda")
ages
```
```{r}
# calculate ages_mean here:
ages_mean <- mean(ages)
ages_mean
```
```{r}
# perform t-test here:
results <- t.test(ages,mu=30)
results
```
No comments:
Post a Comment