Difference between revisions of "Worksheets/Week2"

From Statistics for Engineering
Jump to navigation Jump to search
 
Line 28: Line 28:


# Make a prediction with this model:
# Make a prediction with this model:
xT = -1   # corresponds to 110 minutes
xT = +2   # corresponds to 110 minutes
xF = -1  # corresponds to 20 grams of fat
xF = -1  # corresponds to 20 grams of fat
y.hat = predict(model_crispy, data.frame(T = xT, F = xF))
y.hat = predict(model_crispy, data.frame(T = xT, F = xF))

Latest revision as of 13:33, 26 September 2019