Chapter 1. Tutorial: Regression Residuals 2

1.1 Problem Statement

{0.30, 0.35, 0.40, 0.45, 0.50}
rand(0,4)
@color[$colorindex]
{100,80,90,100,120,100,120,90,110,110}
rand(0,9)
@coordinate1[$coordinate1index]
{250,210,220,230,250,180,270,230,250,260}
@coordinate2[$coordinate1index]
{30,30,20,10,10,-40,10,30,10,20}
@residual[$coordinate1index]
{0.70, 0.65, 0.60, 0.55, 0.50}
{2,3,4,5,6,7}
rand(0,5)
@fat[$fatindex]
{10,10,10,10,10,10}
@fata[$fatindex]
{20,30,40,50,60,70}
@fatb[$fatindex]
{50,15,20,25,35,25}
@fatc[$fatindex]
{5,5,8,5,12,14}
@fatd[$fatindex]
{3,2,5,4,7,6}
rand(0,5)
@fiber[@fiberindex]
{5,4,5,5,5,5}
@fibera[$fiberindex]
{10,5,10,10,10,10}
@fiberb[$fiberindex]
{15,10,25,20,35,30}
@fiberc[$fiberindex]
{30,20,50,40,70,60}
@fiberd[$fiberindex]
{2,3,4,5,6,7}
rand(0,5)
@calories[$caloriesindex]
{130,140,150,160, 170,180}
@acalories[$caloriesindex}
{80,85,90,95,100,105}
rand(0,5)
@grams[$gramsindex]
{6,5,4,3,2,1}
@gramsa[$gramsindex]
{5,4,5,5,5,5}
@gramsb[$gramsindex]
{16,17,18,19,20,21}
@gramsc[$gramsindex]
{80,85,90,95,100,105}
@gramsd[$gramsindex]

Consider the following plot with 3 lines added:

Figure 1.1

1.2 Step 1

questions

Question 1.1

qKPS+W6qHpprzk9au6F1HyeL1DNHYTMXVJApcQ1EaMN6uHQAd6wh5EV5SkY=
Correct.
Incorrect.

Question 1.2

The line labeled 9sc3dSCnWwKkktSY is the least-squares line.

Correct.
Incorrect.

Question 1.3

eN440DHFp03SBxwSTU02+u/SC2McnsVHU5ltvf22UoNZTMUKBzfHU7Ng5+uCY1VmwzZx13frDh2Coa+z4KqP1jY9XfMXJadPRElqROHFq9o9b+/iTpJ6DA==
Correct.
Incorrect.

1.3 Step 2

Question 1.4

9eObPjPbu9jRXY/1KnW8vjZ5pMQPqZl0SBWZBD43KZCl5XHmL6FD4qTzekg2srOPy4WrUR0Z/+cA/TlUTsBtAoe6u6CdMp3PwZhIicG/65O6BAvskxxAmD7alSjrHCe5
Correct.
Incorrect.

Question 1.5

rN/JmeI1s9O9Lt4BlRF5PoUxgW4iGUnkane6p2FWEDe5ShYttwtGG/DIwGZmt5RCdoS1i3hhDtsj1UCfkMqsM6bPYW1/KPI1NF+9khGavn8+H5FK7SMbnpYV+VE=
Correct.
Incorrect.

Question 1.6

+VVTWlLsmPJ2YyttcdHnzh1LUK7Rrf013jST1/19e9BQc5nbAu8KwgTCGjlr4EYPFatQAtAsRBSqGe27B7rX0gUMRnlpm3jHYtoioZtrftBr7iAp89/gpvVFjLo=
Correct.
Incorrect.

1.4 Step 3

Question 1.7

xfzb2iVGx54WKghkcH52JeJCD092mniWELCxSrKCQvbQBMz0ij91mT67aaM6ast0l3LRTS44p57pZcGKAE52ASbzHVzdRAFPlFUYm7zLJwDJcsaOlYNijoChO8Vla4+tyzaPg11tSBG5IaV4eAuB2IIieEDOrYLJIDmSHPrdpCoC3f80Hs/GyqJ8MSCC0Jo/
Correct.
Incorrect.

Question 1.8

M+zWvfgd1xh53kB34eOhrmP1RNqOb+9SelFSEpbT4AMjhPb51k3UgHg+WEkOVlxPECcGPfIyXqf5Tpgf
Correct.
Incorrect.

Question 1.9

The least-squares line minimizes the squared residuals in the G4NkLPXJX2goMOYtUYU+RzGf8KMwqm51f+gPcOPGFaOTSAgkR8eOpA== direction from the line to the points.

Correct.
Incorrect.