15. The number of bedrooms (X) and the area in m² (Y) is measured for a large sample of apartments.

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

could tou write with pen and paper?

15. The number of bedrooms (X) and the area in m² (Y) is measured for a large sample
of apartments.
Y 120;40] 140;60] ]60;80] 180;100] 1100;140] ]140;200] 1200;300] 1300;500]
X
0
WNLO
1
2
56780
a.
b.
0,03
0,05
0,01
0
0
0
0
0
0
0,09
0,02
0,06
0,03
0,01
0
0
0
0
0
0,12
0,02
0,05
0,01
0,04
0,09
0,08
0,02
0
0
0
0
0,26 0,285
0,12
0,1
0,005
0,01
0
0
0
0
0,02
0,07
0,05
0,003
0,002
0,001
0
0
0,146
0
0
0,05
0,01
0,002
0,004
0,002
0
0
0,068
0
0
0,005
0,007
0,002
0,003
0,005
0,002
0,001
0,025
0
0
0
0
0,001
0,002
0,001
0,001
0,001
0,006
Draw a histogram for the area (Y) of the apartments with two bedrooms (X=2).
Make a graphical comparison of the areas of the apartments with two
bedrooms with the areas of the apartments with four bedrooms.
c. Calculate the average number of bedrooms of the apartments with an area
between 140 m² and 300 m².
d. The correct least squares line is added to the bubble graph provided. Calculate
the equation of the regression line of Y on X by using the formulas.
0,08
0,22
0,375
0,257
0,033
0,021
0,009
0,003
0,002
1
Transcribed Image Text:15. The number of bedrooms (X) and the area in m² (Y) is measured for a large sample of apartments. Y 120;40] 140;60] ]60;80] 180;100] 1100;140] ]140;200] 1200;300] 1300;500] X 0 WNLO 1 2 56780 a. b. 0,03 0,05 0,01 0 0 0 0 0 0 0,09 0,02 0,06 0,03 0,01 0 0 0 0 0 0,12 0,02 0,05 0,01 0,04 0,09 0,08 0,02 0 0 0 0 0,26 0,285 0,12 0,1 0,005 0,01 0 0 0 0 0,02 0,07 0,05 0,003 0,002 0,001 0 0 0,146 0 0 0,05 0,01 0,002 0,004 0,002 0 0 0,068 0 0 0,005 0,007 0,002 0,003 0,005 0,002 0,001 0,025 0 0 0 0 0,001 0,002 0,001 0,001 0,001 0,006 Draw a histogram for the area (Y) of the apartments with two bedrooms (X=2). Make a graphical comparison of the areas of the apartments with two bedrooms with the areas of the apartments with four bedrooms. c. Calculate the average number of bedrooms of the apartments with an area between 140 m² and 300 m². d. The correct least squares line is added to the bubble graph provided. Calculate the equation of the regression line of Y on X by using the formulas. 0,08 0,22 0,375 0,257 0,033 0,021 0,009 0,003 0,002 1
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

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