Confidence Interval and Prediction Interval – Learn It 1

  • Find and interpret the confidence interval for the mean response
  • Find and interpret the prediction interval for an individual response
  • Identify whether a confidence interval or a prediction interval is more appropriate in context of the problem

Penguins

Research question: How much do we expect a penguin to weigh based on the length of its flipper?

To answer this question, we will look at the “Penguins” data set.[1] It contains characteristics for a sample of [latex]342[/latex] penguins observed near Palmer Station, Antarctica. We will focus on the following two variables:

  • flipper_length_mm: Flipper length in millimeters
  • body_mass_g: Body mass (weight) in grams
Step 1: Access spreadsheet Penguins.
Step 2:
Under “Enter Data,” select “Enter Own.”
Step 3: Copy and paste the appropriate explanatory variable ([latex]x[/latex]) and response variable ([latex]y[/latex]).


[Trouble viewing? Click to open in a new tab.]


  1. Horst, A. M., Hill, A. P., & Gorman, K. B. (2020). palmerpenguins. palmerpenguins 0.1.0. https://allisonhorst.github.io/palmerpenguins/