Difference between revisions of "Worksheets/Week2"
Jump to navigation
Jump to search
Kevin Dunn (talk | contribs) |
Kevin Dunn (talk | contribs) |
||
Line 28: | Line 28: | ||
# Make a prediction with this model: | # Make a prediction with this model: | ||
xT = | 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)) |