---
title: "ADA1: Class 10, Logarithmic Transformation"
author: anonymous
date: "9/22/2016"
output:
html_document:
toc: true
---
# Rubric
1. (2 p) Read and plot data, with $x$ = `Avg_Mercury` vs $y$ = `Alkalinity`.
2. (1 p) Describe the relationship you see.
3. (3 p) Determine an appropriate transformation of the $x$-variable, $y$-variable, or both
in order to have a straight-line relationship.
4. (1 p) Plot the data on the transformed scale
If you want to make 3 more plots,
then choose the one you want to interpret, that will be fine.
Consider $(\log(x), y)$, $(x,\log(y))$, and $(\log(x), \log(y))$.
5. (3 p) Interpret the slope on the transformed scale.
Add to this file under the appropriate subsections below, then submit your results to UNM Learn ...
## 1. Read and plot data
Read the data.
```{R}
dat <- read.table("ADA1_WS_10_Data-FishMercury.txt", skip = 25, header = TRUE)
str(dat)
```
Plot $x$ = `Avg_Mercury` vs $y$ = `Alkalinity` on their natural (original) scales.
## 2. Describe the relationship you see
## 3. Transform
## 4. Plot transformed data
## 5. Interpret slope on the transformed scale