For each set of data provided below,

  • Decide which form of the line would be the easiest to build from the available information.

  • Write a definition of the linear model in that form.

  • Translate the definition into Pyret notation.

1

scatterplot with a slope of about -0.5 and a y-intercept of -10

Linear Model: Your model slope-intercept, point-slope, or standard form - which ever is easiest!

fun f(x) : end

2

scatterplot with two identifiable points (42,300) and (57,375)

Linear Model: Your model slope-intercept, point-slope, or standard form - which ever is easiest!

fun f(x) : end

3

scatterplot with the points (0,950) and (130,0) identified amidst a point cloud that is sloping down and to the righr

Linear Model: Your model slope-intercept, point-slope, or standard form - which ever is easiest!

fun f(x) : end

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.