Skip to content

Ch16 Alt Text #236

Description

@pancakereport
  • 16.1 draw_and_compare(4, -5, 10)
  • 16.2 scatter_fit(baby, 'Gestational Days', 'Birth Weight')
  • 16.2 matplotlib after "That is because some of the original points do not get selected in the samples."
  • 16.2 Table().with_column('Bootstrap Slopes', slopes).hist(bins=20)
  • 16.2 bootstrap_slope(baby, 'Gestational Days', 'Birth Weight', 5000)
  • 16.2 scatter_fit(baby, 'Maternal Height', 'Birth Weight')
  • 16.2 bootstrap_slope(baby, 'Maternal Height', 'Birth Weight', 5000)
  • 16.2 draw_and_compare(0, 10, 25)
  • 16.2 scatter_fit(baby, 'Maternal Age', 'Birth Weight')
  • 16.2 bootstrap_slope(baby, 'Maternal Age', 'Birth Weight', 5000)
  • 16.3 matplotlib after "The figure below shows where the prediction lies on the regression line. The red line is at x=300."
  • 16.3 matplotlib after "The figure below shows 10 such lines, and the corresponding predicted birth weight at 300 gestational days."
  • 16.3 bootstrap_prediction(baby, 'Gestational Days', 'Birth Weight', 300, 5000)
  • 16.3 bootstrap_prediction(baby, 'Gestational Days', 'Birth Weight', 285, 5000)
  • 16.3 matplotlib after Typically, the lines are farther apart at x=300 than at x=285, and therefore the predictions at x=300 are more variable."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions