This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
It is a positive relationship, it is linear. There are a few outliers but it does not seems critical.
Weight_hat = -105.0113 + 1.0176 x height.
Slope: For each additional centimeter in height,the model predicts the average weight to be 1.0176 additional kilograms.
Intercept: when it is 0 centimeters tall, the weight will be -105.0113 kilograms. This is obviously not possible.
Ho: the true slope coefficient of height is 0
Ha: the true slope coefficient of height is greater than 0
R-square = 0.72*0.72=0.52.