The datafile Gestation06 lists the average gestation period (in days) and longevity (in years) for a sample of animals, as reported in The World Almanac and Book of Facts 2006.Use the least squares line to calculate the fitted value and residual for a polar bear. [Hint: First, find the polar bear's longevity and gestation period in the datafile.]

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

The datafile Gestation06 lists the average gestation period (in days) and longevity (in years) for a sample of animals, as reported in The World Almanac and Book of Facts 2006.Use the least squares line to calculate the fitted value and residual for a polar bear. [Hint: First, find the polar bear's longevity and gestation period in the datafile.]

A
В
C
D
E
F
G
1
Animal
Gestation
Longevity
2
baboon
187
20
bear, black
bear, grizzly
bear, polar
219
18
4
225
25
240
20
beaver
105
7
buffalo
285
15
8
camel
406
12
9.
cat
63
12
chimpanzee
chipmunk
10
230
20
11
31
12
Cow
284
15
13
deer
201
14
dog
donkey
elephant
61
12
15
365
12
16
645
40
17
elk
250
15
18
fox
52
7
giraffe
goat
gorilla
guinea pig
hippopotamus
19
457
10
20
151
8
21
258
20
22
68
4
23
238
41
24
horse
330
20
25
kangaroo
leopard
lion
36
7
26
98
12
27
100
15
28
monkey
164
15
29
moose
240
12
30
mouse
21
3
31
opossum
13
1
32
pig
112
10
33
90
12
puma
rabbit
34
31
5
35
rhinoceros
450
15
sea lion
sheep
squirrel
tiger
36
350
12
37
154
12
38
44
10
39
105
16
40
wolf
63
41
zebra
365
15
42
43
Gestation 06 ▼
+
Transcribed Image Text:A В C D E F G 1 Animal Gestation Longevity 2 baboon 187 20 bear, black bear, grizzly bear, polar 219 18 4 225 25 240 20 beaver 105 7 buffalo 285 15 8 camel 406 12 9. cat 63 12 chimpanzee chipmunk 10 230 20 11 31 12 Cow 284 15 13 deer 201 14 dog donkey elephant 61 12 15 365 12 16 645 40 17 elk 250 15 18 fox 52 7 giraffe goat gorilla guinea pig hippopotamus 19 457 10 20 151 8 21 258 20 22 68 4 23 238 41 24 horse 330 20 25 kangaroo leopard lion 36 7 26 98 12 27 100 15 28 monkey 164 15 29 moose 240 12 30 mouse 21 3 31 opossum 13 1 32 pig 112 10 33 90 12 puma rabbit 34 31 5 35 rhinoceros 450 15 sea lion sheep squirrel tiger 36 350 12 37 154 12 38 44 10 39 105 16 40 wolf 63 41 zebra 365 15 42 43 Gestation 06 ▼ +
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman