project_two.Rmd
Due Oct. 21 at 11:59 PM.
For this first part of the exam, you can either use
surveys_complete.csv
or your own data. If you are using
your own data, you must have data in which you think you have a
numerical predictor variable and a numerical response variable. If you
are using surveys_complete
, you can use weight and
hindfoot_length for this.
Save this file in your projects
directory. You can
either save it in a project two subdirectory, or just put it in
projects. Either way is fine.
# read in data here
# Answer which column is predictor and which is response
# Plot here
#Answer here
# Code here
# Answer here
# Code here
#Code here
Why is normality of residuals important?
#Answer here
surveys_complete
: Is there
interspecific variation in the linear model? Hint: look at our prior
work with facet plots. (15 pts)If you are not using surveys_complete
: Do you
think there are groupings within your data that may have a separate
linear model? Try grouping the data by that variable and redoing the lm.
If this would not make sense for your data, you may also attempt to do
multiple predictor variables. (15 pts)
#code here
In this portion, you are free to use your own data if you have a
categorical predictor variable and a response variable. Otherwise, you
may use the columns sex and weight in surveys_complete
# plot code here
# ANOVA code here
#Code here
#Answer here
#Plot code here
# LM Code Here
# Plot Code Here
# Text answer here