News
9.1 Linear Regression 9.1.1 Review of the basics The lm function in R constructs—as its name implies—a linear model from data. Recall that a linear model is of the form Y = β0+β1X1+...+βnXn Y = β 0 + ...
A closely related method is Pearson’s correlation coefficient, which also uses a regression line through the data points on a scatter plot to summarize the strength of an association between two ...
Again, we read the tilde (~) symbol as “as a function of”. So this lm call gives us a model in which variable (column) Y is a function of some other columns named X1, etc. In our first simple ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results