(a) create a residual plot for the analysis you did in (6) and comment on it (is it okay or do you see any problems?) (b) create a q-q plot of the residuals and comment on it. (c) Write down the value of R², and interpet it (do not use "adjusted" R').

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
Just #7 please
6) You investigate the relationship between height and dbh (diameter at breast height) of oak trees. You get the
following results:
dbh (cm):
height(m):
26
49
52
32
15 15
39
41
20 30 46 42
10.2 13.5 16.3 10.8 8.9 10.0 14.2 11.3 9.7 11.4 13.5 13.6 11.6 11.2 7.7 13.1 7.9 10.4 15.6 9.0
21 40 17 38 13 26 49 26
Read the data into R.
(a) Calculate the following using R: X, y, SS, S.
(Note that to get SS, or SS, you can just ask R for the variance (var) or standard deviation, and
then do the appropriate calculation).
(b) Perform a complete test of the hypothesis that there is
out all the appropriate steps of a regular hypothesis test (give Ho, H1, a, your decision, etc.)
difference in height as dbh increases. Write
(c) Give the equation of the least squares line (Write it out, don't just hand in a printout!!)
7) Finally do the following:
(a) create a residual plot for the analysis you did in (6) and comment on it (is it okay or do you see any
problems?)
(b) create a q-q plot of the residuals and comment on it.
(c) Write down the value of R², and interpet it (do not use "adjusted" R').
Be prepared to discuss these problems in recitation Monday, July 22nd.
Transcribed Image Text:6) You investigate the relationship between height and dbh (diameter at breast height) of oak trees. You get the following results: dbh (cm): height(m): 26 49 52 32 15 15 39 41 20 30 46 42 10.2 13.5 16.3 10.8 8.9 10.0 14.2 11.3 9.7 11.4 13.5 13.6 11.6 11.2 7.7 13.1 7.9 10.4 15.6 9.0 21 40 17 38 13 26 49 26 Read the data into R. (a) Calculate the following using R: X, y, SS, S. (Note that to get SS, or SS, you can just ask R for the variance (var) or standard deviation, and then do the appropriate calculation). (b) Perform a complete test of the hypothesis that there is out all the appropriate steps of a regular hypothesis test (give Ho, H1, a, your decision, etc.) difference in height as dbh increases. Write (c) Give the equation of the least squares line (Write it out, don't just hand in a printout!!) 7) Finally do the following: (a) create a residual plot for the analysis you did in (6) and comment on it (is it okay or do you see any problems?) (b) create a q-q plot of the residuals and comment on it. (c) Write down the value of R², and interpet it (do not use "adjusted" R'). Be prepared to discuss these problems in recitation Monday, July 22nd.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Basics of Inferential Statistics
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.
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