Difference between revisions of "Worksheets/Week2"

From Statistics for Engineering
Jump to navigation Jump to search
Line 31: Line 31:
interaction.plot(T, F, y)
interaction.plot(T, F, y)
interaction.plot(F, T, y)
interaction.plot(F, T, y)
# Make a prediction with this model:
xT = -1  # corresponds to 110 minutes
xF = -1  # corresponds to 20 grams of fat
y.hat <- predict(model_crispy, data.frame(T = xT, F = xF))
paste0('Predicted value is: ', y.hat, ' crispiness.')




     </code>
     </code>
</div></html>
</div></html>

Revision as of 08:19, 26 September 2019

Worksheets Next step: Week3 →

A baked food product:

  • T = time used to bake the product
  • F = quantity of fat added