Question 3. Table 1 shows the mileage and the price of Japanese automobiles. Japanese Car Brands Vehicle Mileage Price (mpg) ($'000) 19 14.944 Mazda MPV V6 Nissan Van 4 Acura Legend V6 19 14.799 20 Mitsubishi Wagon 4 20 20 Nissan Axxess 4 Mitsubishi Sigma V6 21 21 Nissan Stanza 4 Mazda 929 V6 8 Nissan Maxima V6 21 22 23 24 25 25 27 28 32 33 34 35 i Mean Mileage Toyota Cressida Nissan 240SX 4 Subaru Loyale 4 Mitsubishi Galant 4 Honda Prelude Si 4WS 4 (1) Determine the following: ii Median Mileage Subaru XT 4 Mazda Protege 4 Honda Civic CRX Si 4 iii Mean Absolute Deviation Subaru Justy 3 Toyota Tercel 4 TABLE 1. Mileage and Price of Japanese automobiles iv Mean Squared Deviation v Sample Variance vi Sample Standard deviation median = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 SM = where the following table may be useful: MAD = M fmiddle observation if n odd; average of middle two observations if n even MSD SM n = SM 1 n 1 n-1 n 24.76 14.929 13.949 17.879 11.65 23.3 17.899 21.498 13.249 9.599 10.989 13.945 13.071 6.599 9.41 5.866 6.488 n ΣΜ i=1 i=1 n n ΣΜ; - M| i=1 n 1 n-1 (M₁ - M)² Σ(M₁ - M)² i=1 n Σ(Μ; – Μ)2 i=1

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
100%
8
i
(2) Determine the following:
Covariance between M and P
ii Correlation between M and P TMP
or
i
1
2
3
4
5
6
220
(3) Consider the following:
Determine the following:
COVMP Cov(M, P)
i Estimated Slope
P₁ = a + b x M₁,
ii Estimated Intercept
COV MP
SPSM
=
Price = a + bx mileage
iv Standard error of the regression (SER)
where the following table may be useful:
i Mi P₁
1 19 14.944
2 19 14.799
3 20 24.76
4 20 14.929
5 20 13.949
6 21 17.879
7 21 11.65
8 21 23.3
9 22 17.899
10 23 21.498
11 24 13.249
12 25
9.599
13 25 10.989
14 27 13.945
15 28
13.071
16 32 6.599
17 33
9.41
18 34 5.866
19 35 6.488
1,
b
1
n-1
where the following table may be useful:
Mi Pi M₁ – M P₁ – P (M; – M)² (P; – P)² (M; – M)(P; – P)
-
19
14.944
19 14.799
20
24.76
14.929
13.949
21
17.879
7
21
11.65
8
21
23.3
9 22 17.899
10 23 21.498
11 24
13.249
12 25
9.599
13 25 10.989
14 27 13.945
15 28 13.071
16 32
6.599
17 33
9.41
18 34 5.866
19 35 6.488
Sû =
19
iii Estimated Coefficient of Determination R² = rí
2
PP
n-
1
n - 1
n
1
n -
n
1
Σ(M₂ - M) (P₁-P)
i=1
1
n
Σ(M₁ - M)(P; - P)
i=1
2
n
Σ(Μ; – Μ)2
i=1
a = P - bM
n
n
Σ(M₁-M) (P;-P)
i=1
(M₂ - M)², Σ(P₁-P)²
i=1
n
Σ(P₁-P)²
i=1
PP-PP-PP-P
Σ(P₁-P)²
1
n 1
n
Σ(P₂ - P.) ²
i=1
n
i=1
Transcribed Image Text:8 i (2) Determine the following: Covariance between M and P ii Correlation between M and P TMP or i 1 2 3 4 5 6 220 (3) Consider the following: Determine the following: COVMP Cov(M, P) i Estimated Slope P₁ = a + b x M₁, ii Estimated Intercept COV MP SPSM = Price = a + bx mileage iv Standard error of the regression (SER) where the following table may be useful: i Mi P₁ 1 19 14.944 2 19 14.799 3 20 24.76 4 20 14.929 5 20 13.949 6 21 17.879 7 21 11.65 8 21 23.3 9 22 17.899 10 23 21.498 11 24 13.249 12 25 9.599 13 25 10.989 14 27 13.945 15 28 13.071 16 32 6.599 17 33 9.41 18 34 5.866 19 35 6.488 1, b 1 n-1 where the following table may be useful: Mi Pi M₁ – M P₁ – P (M; – M)² (P; – P)² (M; – M)(P; – P) - 19 14.944 19 14.799 20 24.76 14.929 13.949 21 17.879 7 21 11.65 8 21 23.3 9 22 17.899 10 23 21.498 11 24 13.249 12 25 9.599 13 25 10.989 14 27 13.945 15 28 13.071 16 32 6.599 17 33 9.41 18 34 5.866 19 35 6.488 Sû = 19 iii Estimated Coefficient of Determination R² = rí 2 PP n- 1 n - 1 n 1 n - n 1 Σ(M₂ - M) (P₁-P) i=1 1 n Σ(M₁ - M)(P; - P) i=1 2 n Σ(Μ; – Μ)2 i=1 a = P - bM n n Σ(M₁-M) (P;-P) i=1 (M₂ - M)², Σ(P₁-P)² i=1 n Σ(P₁-P)² i=1 PP-PP-PP-P Σ(P₁-P)² 1 n 1 n Σ(P₂ - P.) ² i=1 n i=1
Question 3. Table 1 shows the mileage and the price of Japanese automobiles.
Japanese Car Brands
Vehicle Mileage Price
(mpg) ($'000)
19
14.944
Mazda MPV V6
Nissan Van 4
Acura Legend V6
19
14.799
20
24.76
Mitsubishi Wagon 4
20
14.929
20
Nissan Axxess 4
Mitsubishi Sigma V6
21
21
Nissan Stanza 4
Mazda 929 V6 8
Nissan Maxima V6
21
22
23
24
25
25
27
28
32
33
34
35
i
ii
Mean Mileage
Toyota Cressida
Nissan 240SX 4
Subaru Loyale 4
Mitsubishi Galant 4
Honda Prelude Si 4WS 4
(1) Determine the following:
Median Mileage
Subaru XT 4
Mazda Protege 4
Honda Civic CRX Si 4
iii Mean Absolute Deviation
iv Mean Squared Deviation
V Sample Variance
vi Sample Standard deviation
Subaru Justy 3
Toyota Tercel 4
TABLE 1. Mileage and Price of Japanese automobiles
median =
Toyota Cressida
Nissan 240SX 4
where the following table may be useful:
Subaru Loyale 4
Mitsubishi Galant 4
Honda Prelude Si 4WS 4
Subaru XT 4
Mazda Protege 4
Honda Civic CRX Si 4
Subaru Justy 3
Toyota Tercel 4
6972
1
2
SM
5
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
M =
MSD
if n odd;
middle observation
average of middle two observations if n even
=
n
SM
1
n
n
1
MAD = - Σ|M; - M|
13.949
17.879
11.65
n
23.3
17.899
21.498
13.249
9.599
10.989
13.945
13.071
6.599
9.41
n
ΣΜ
5.866
6.488
1
Japanese Car Brands i M₂ (M₂M) |M₂ - M
Mazda MPV V6
1 19
2 19
Nissan Van 4
Acura Legend V6
3 20
Mitsubishi Wagon 4 4 20
20
Nissan Axxess 4
Mitsubishi Sigma V6
21
Nissan Stanza 4
Mazda 929 V6 8
Nissan Maxima V6
21
8 21
9 22
10 23
11 24
12 25
13 25
14 27
15 28
16 32
17 33
18 34
19 35
n -
i=1
n
Σ(Μ; – Μ)2
i=1
n
Σ(Μ; – Μ)2
n
i=1
(M₁ - M)²
(M₁ - M)²
Transcribed Image Text:Question 3. Table 1 shows the mileage and the price of Japanese automobiles. Japanese Car Brands Vehicle Mileage Price (mpg) ($'000) 19 14.944 Mazda MPV V6 Nissan Van 4 Acura Legend V6 19 14.799 20 24.76 Mitsubishi Wagon 4 20 14.929 20 Nissan Axxess 4 Mitsubishi Sigma V6 21 21 Nissan Stanza 4 Mazda 929 V6 8 Nissan Maxima V6 21 22 23 24 25 25 27 28 32 33 34 35 i ii Mean Mileage Toyota Cressida Nissan 240SX 4 Subaru Loyale 4 Mitsubishi Galant 4 Honda Prelude Si 4WS 4 (1) Determine the following: Median Mileage Subaru XT 4 Mazda Protege 4 Honda Civic CRX Si 4 iii Mean Absolute Deviation iv Mean Squared Deviation V Sample Variance vi Sample Standard deviation Subaru Justy 3 Toyota Tercel 4 TABLE 1. Mileage and Price of Japanese automobiles median = Toyota Cressida Nissan 240SX 4 where the following table may be useful: Subaru Loyale 4 Mitsubishi Galant 4 Honda Prelude Si 4WS 4 Subaru XT 4 Mazda Protege 4 Honda Civic CRX Si 4 Subaru Justy 3 Toyota Tercel 4 6972 1 2 SM 5 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 M = MSD if n odd; middle observation average of middle two observations if n even = n SM 1 n n 1 MAD = - Σ|M; - M| 13.949 17.879 11.65 n 23.3 17.899 21.498 13.249 9.599 10.989 13.945 13.071 6.599 9.41 n ΣΜ 5.866 6.488 1 Japanese Car Brands i M₂ (M₂M) |M₂ - M Mazda MPV V6 1 19 2 19 Nissan Van 4 Acura Legend V6 3 20 Mitsubishi Wagon 4 4 20 20 Nissan Axxess 4 Mitsubishi Sigma V6 21 Nissan Stanza 4 Mazda 929 V6 8 Nissan Maxima V6 21 8 21 9 22 10 23 11 24 12 25 13 25 14 27 15 28 16 32 17 33 18 34 19 35 n - i=1 n Σ(Μ; – Μ)2 i=1 n Σ(Μ; – Μ)2 n i=1 (M₁ - M)² (M₁ - M)²
Expert Solution
steps

Step by step

Solved in 5 steps with 56 images

Blurred answer
Similar 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