Appex 07
STA 112 - Fall 2023
Part 1
- Create a new project from this template in RStudio Pro:
https://github.com/sta-112-f23/appex-07.git
- Run the
load-packages
andload-data
chunks. - Go to: https://lucy.shinyapps.io/sta-112-f23-id-lookup/
- Enter your email address to look up your ID
- Update the
filter(id == 9)
line in thefilter-data
chunk to your ID and run this chunk.
Part 2
- Fit an intercept only model to calculate the average leaf length in your sample
- Use the
summary
function on the linear model you fit - What is the standard error for the mean length? Interpret this value.
Part 3
- Open
appex-07.qmd
- Calculate the \(t^*\) value for your confidence interval
- Calculate the confidence interval “by hand” using the \(t^*\) value from exercise 2 and the mean and standard error from the previous application exercise
- Calculate the confidence interval using the
confint
function - Interpret this value