The owner of a second-hand car dealership wants to study the relationship a car and its selling price. Listed below is a random sample of 12 used cars so during the last year. Age (years) Price (thousand $) 8.1| 6 3.6 4 5 7 11| 12 8 7 8 11 10 7.6 8 10 a. Draw a scatter diagram and comment the relation between the age selling price.

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
icon
Concept explainers
Topic Video
Question
Problem 5
Suppose that we are working with some doctors on heart attack patients. The dependent
variable is whether the patient has had a second heart attack within 1 year (yes=1). We have
two independent variables, one is age of the patient and the other is a score on anxiety scale (a
higher score means more anxious). After applying logistic regression model, we have the
following output:
Deviance Residuals:
10 Median
Min
30
Маx
1.446
-1.064
0.000
0.000
0.000
Coefficients:
Estimate Std. Error z value Pr (>|z|)
(Intercept)
-471.441 223186.509
-0.002
0.998
Age
Anxiety
6.394
3057.349
0.002
0.998
1.347
611.470
0.002
0.998
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 27.7259 on 19 degrees of freedom
Residual deviance: 3.7087 on 17 degrees of freedom
AIC: 9.7087
Number of Fisher Scoring iterations: 23
a. Determine the estimated logistic regression equation.
b. Calculate the odds ratio and interpret.
Transcribed Image Text:Problem 5 Suppose that we are working with some doctors on heart attack patients. The dependent variable is whether the patient has had a second heart attack within 1 year (yes=1). We have two independent variables, one is age of the patient and the other is a score on anxiety scale (a higher score means more anxious). After applying logistic regression model, we have the following output: Deviance Residuals: 10 Median Min 30 Маx 1.446 -1.064 0.000 0.000 0.000 Coefficients: Estimate Std. Error z value Pr (>|z|) (Intercept) -471.441 223186.509 -0.002 0.998 Age Anxiety 6.394 3057.349 0.002 0.998 1.347 611.470 0.002 0.998 (Dispersion parameter for binomial family taken to be 1) Null deviance: 27.7259 on 19 degrees of freedom Residual deviance: 3.7087 on 17 degrees of freedom AIC: 9.7087 Number of Fisher Scoring iterations: 23 a. Determine the estimated logistic regression equation. b. Calculate the odds ratio and interpret.
Problem 1
The owner of a second-hand car dealership wants to study the relationship between the age of
a car and its selling price. Listed below is a random sample of 12 used cars sold at the dealership
during the last year.
Age (years)
Price (thousand S) 8.1
7 11 12 8 7 8 11 | 10 | 12
6 3.6 4
6 6
6 8.6 8
9
5
10 7.6 8
8
a. Draw a scatter diagram and comment the relation between the age of the car and its
selling price.
b. Determine the Pearson correlation coefficient and the coefficient of determination and
interpret it.
Problem 2
At a business case competition, two judges were tasked with scoring (out of 1000) the case
reports submitted by 12 teams. Using the following data, we would like to examine the
association between the scores of the two judges.
Judge 1 650 760 740 700 590
Judge 2 900 720 690 850 920
690 900
920 1000 690 700 760
620| 700
500 610 700
800 890
a. Compute the Spearman rank correlation between the scores of the two judges.
b. Comment on the association between the scores of the two judges.
Problem 3
An electric company is studying the relationship between the energy consumption (in thousand
kilowatt-hours) and the number of rooms in a private single-family residence. A random
sample of 10 homes yielded the following.
Number of Rooms
Energy Consumption (thousand kWh) 9 7 10
12 9 14 6 10 8 | 10 10 5
5 8 6 8 10 4
7
7
a. Determine the regression equation of energy consumption on the number of rooms.
b. Interpret the model.
c. What is the predicted energy consumption, in thousand kWh, for a six-room house.
d. Comment on the goodness of fit of the model.
Transcribed Image Text:Problem 1 The owner of a second-hand car dealership wants to study the relationship between the age of a car and its selling price. Listed below is a random sample of 12 used cars sold at the dealership during the last year. Age (years) Price (thousand S) 8.1 7 11 12 8 7 8 11 | 10 | 12 6 3.6 4 6 6 6 8.6 8 9 5 10 7.6 8 8 a. Draw a scatter diagram and comment the relation between the age of the car and its selling price. b. Determine the Pearson correlation coefficient and the coefficient of determination and interpret it. Problem 2 At a business case competition, two judges were tasked with scoring (out of 1000) the case reports submitted by 12 teams. Using the following data, we would like to examine the association between the scores of the two judges. Judge 1 650 760 740 700 590 Judge 2 900 720 690 850 920 690 900 920 1000 690 700 760 620| 700 500 610 700 800 890 a. Compute the Spearman rank correlation between the scores of the two judges. b. Comment on the association between the scores of the two judges. Problem 3 An electric company is studying the relationship between the energy consumption (in thousand kilowatt-hours) and the number of rooms in a private single-family residence. A random sample of 10 homes yielded the following. Number of Rooms Energy Consumption (thousand kWh) 9 7 10 12 9 14 6 10 8 | 10 10 5 5 8 6 8 10 4 7 7 a. Determine the regression equation of energy consumption on the number of rooms. b. Interpret the model. c. What is the predicted energy consumption, in thousand kWh, for a six-room house. d. Comment on the goodness of fit of the model.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 1 images

Blurred answer
Knowledge Booster
Centre, Spread, and Shape of a Distribution
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
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