Applied Statistical Methods - Solution 3
Problem 1: Simple Linear Regression
Use the data on Width
and Height
that we collected during the class to fit a linear regression model to the data. Use the formula derived in class to compute estimates lm()
in R.
Tasks
- Read data from
https://charlotte-ngs.github.io/asmasss2024/data/asm_width_height.csv
using the functionread.table()
- Compute estimate
for the slope using the formula from class given as
- Compute estimate
for the slope using the formula from class given as
- Validation with R