You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Step 4.5]: Regression model
Using the data as-is, fit a regression model to the data using lm and save it as a variable called model1
Summarise the the model fit using OLSRR What do you mean by "summarise"
I just mean get the code working to show the OLSRR version of the summary (see Tutorial 8 on regression). It's not meant to be a lot of points, I just want you to get used to the OLSRR universe as we will use more of it in future weeks.
Note, the olsrr commands might not work if you have written your lm() command as lm(tablename$X ~ tablename$Y) You need the format lm(X~Y,data=tablename)
The text was updated successfully, but these errors were encountered:
[Step 4.5]: Regression model
Using the data as-is, fit a regression model to the data using lm and save it as a variable called model1
Summarise the the model fit using OLSRR
What do you mean by "summarise"
I just mean get the code working to show the OLSRR version of the summary (see Tutorial 8 on regression). It's not meant to be a lot of points, I just want you to get used to the OLSRR universe as we will use more of it in future weeks.
Note, the olsrr commands might not work if you have written your
lm()
command aslm(tablename$X ~ tablename$Y)
You need the format
lm(X~Y,data=tablename)
The text was updated successfully, but these errors were encountered: