Chapter 1. Tutorial Regression

1.1 Problem Statement

{0.30, 0.35, 0.40, 0.45, 0.50}
rand(0,4)
@color[$colorindex]
{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}
@caloriesanswer[$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]

A dataset consists of the composition of 77 breakfast cereals. For each cereal, the following variables were measured:

  • Calories/serving
  • Fat/serving (g)
  • Fiber/serving (g)

Separate regression lines were obtained as follows:

(a) Calories = 110 + 10 (grams of fat)

(b) Calories = 110 – 5 (grams of fiber)

1.2 Step 1

questions

Question 1.1

For every additional gram of fat, the number of calories LAb8lW5PWbPeH7VQv3812YI7RMM5lR7Ww7N98INvQdeNWrb1yIn3lbi0N3mMDtqv6PEMbPruE2U=.

Correct.
Incorrect.

Question 1.2

For every additional gram of fiber, the number of calories QWxP0KamkH6V+W8g/rwH13CNxbm1icubUpgJnTT6/AYQ2taciE9L8Q86UgoxX0QObuDQzg==

Correct.
Incorrect.

Question 1.3

4Bor+P1DNwCSgiHMiedqDeTddz0IcDQbLqC0OeoANQLEKGq3gwYaYZ1k1brbpnpBPvRligC2pQ75ZwvciYGDrrtJcByhCQQb
Correct.
Incorrect.

Question 1.4

YF2Flc16l2/YW9X728lsQkV87dltfMjQSL+iSooL7sjAZfk+6mOrVPfpzCPv7E7pW6lqzL3bNHJtsKMkGbpISGnho9FuFaq/rG3q9g==
Correct.
Incorrect.

1.3 Step 2

Question 1.5

EQA77b/HogjZZj6jMtHs137pN+jggAF/QIQjPvlU9gX8qYRQLBJwhVrMWzLa3gLHlT6yoUllfRxR9HxU8Wgm1zBJsme2QDT8xiIh8tqC+wDMWG9T18mHT5ZSUgoy/fBcrFNPelku3Lll9EchgOfBjjmclCxe94zpF/605UHLId0rYzoUhjT9W9QGBzr9MDmy4ONJaLCfClHVKKsCNRaNXXxr5sL1lPv59rhpTyVw6h0aq64vQg3r/oqfS9NU/Vxy
Correct.
Incorrect.

Question 1.6

CEL+uiRFfMhlF988vuNnPf4iWxA0o98aXdSCBouBklkNJxFwOU1N/62sftNt8+VAhZ5kXnJL6Dxr5d5qUx4Sm6hUoXU+ZuvgjHv5lDH7YKemHEexaUzrgP6q4T5m9fa9zIGzixo3HYuAWKoZPMEss3xxCXHFxzU12ZrNkkm5JitGA7NiEO5XxebzwycjRGfmfFYkzAPcKAkqknxyoPX+Aulbhjq1syKa0QxkbaMUzrMN3r5z5ddRNe4do378ql/vWOidjXu03f1KYUx9
Correct.
Incorrect.

1.4 Step 3

Question 1.7

AYp2gKOnkEkg6weVOyM27NoGiQRDW0VHTa1USJ+VtamxzxDk3sVPgQd+AC/qEBpykE+NsuOcHDrqHzG0AEcJLf7waJP43dP5a6ESwgzMOvTAq4LbgxbvBauNlhU+yzORO6B9P2Td1gXBUeivtN269qDps74=
Correct.
Incorrect.

Question 1.8

BU4SDZaoAFvtggbysoef/bZK/6CjUqdm+6epJtjEa0hh5FmbVMQt2ozoF+MhFAk3c0yghk7iqYui5+EYWFpkX/Da4MFMnouA8F6gLho1nn+xwzfwBBbTeNWXI4ZawjTz7OrHNZAknNJZd5UysptXdE7ZY3mj0RgV5Fxm2h1A07I=
Correct.
Incorrect.