{
  "icon" : "chart.xyaxis.line",
  "id" : "B7C27C8D-AE28-5110-884F-6EB278864C41",
  "lines" : [
    {
      "id" : "2719407E-C308-557C-AE8E-285353505110",
      "source" : "# Study time and quiz scores"
    },
    {
      "id" : "024FB5D0-C274-5F24-940B-DF1059DD84B8",
      "source" : "\/\/ Five students: (1 h, 62), (2 h, 71), (3 h, 76), (4 h, 80), (5 h, 86)."
    },
    {
      "id" : "103EB172-1847-5B88-939D-2C6BE849D48A",
      "source" : "\/\/ Scores rise as hours rise: a positive association."
    },
    {
      "id" : "5299DA37-98D4-5992-8DAD-69F4C689280B",
      "source" : "hours = [1, 2, 3, 4, 5]"
    },
    {
      "id" : "5E2A6F33-73F8-5852-8609-A1D49AD669C1",
      "source" : "scores = [62, 71, 76, 80, 86]"
    },
    {
      "id" : "34537936-69E8-5AC8-8B68-354EFAD65D1B",
      "source" : ""
    },
    {
      "id" : "27125059-28D1-54C7-8164-9DE69CDE71B5",
      "source" : "# A trend line"
    },
    {
      "id" : "C3688D32-15A1-52FF-8C5E-BF637FB79009",
      "source" : "\/\/ Draw a line through the first and last points."
    },
    {
      "id" : "0B33A818-596B-5625-9477-B3659B817A21",
      "source" : "slope = (86 - 62)\/(5 - 1)"
    },
    {
      "id" : "2877FA37-A854-5405-A2A5-CF76AA7375A5",
      "source" : "start = 62 - slope*1"
    },
    {
      "id" : "ABF1B362-DF4F-5855-9D83-F4102525EEF4",
      "source" : "trend(h) = slope*h + start"
    },
    {
      "id" : "85F5CF5E-1314-581B-B242-B0C6B0D328C1",
      "source" : "plot(trend(h), h, 0, 6)"
    },
    {
      "id" : "AB0E5D68-A83C-5B2C-9D49-9E6F1E6585D7",
      "source" : ""
    },
    {
      "id" : "0C42302C-5794-5E30-B26A-C39F5E921AE5",
      "source" : "# Predict"
    },
    {
      "id" : "786B521C-862D-54FF-9D5C-0525E18A1930",
      "source" : "study = 3.5 in 0 … 8"
    },
    {
      "id" : "46EA73A3-E74B-57FD-9F5C-538727990D1A",
      "source" : "predicted score = trend(study)"
    },
    {
      "id" : "BA9030B8-73DC-5B6F-97D5-82E64863AEDD",
      "source" : "\/\/ The 3-hour student scored 76. How far is that from the line?"
    },
    {
      "id" : "F36CF91A-19FA-5ADC-9FD8-75C894841FC6",
      "source" : "miss = 76 - trend(3)"
    }
  ],
  "numberStyle" : {
    "decimal" : ".",
    "grouping" : ",",
    "secondaryGroupSize" : 3
  },
  "title" : "Trend lines"
}