Question

In: Statistics and Probability

What is the coefficient of determinaton and cofficient of correlation for this data set home prices...

What is the coefficient of determinaton and cofficient of correlation for this data set

home prices vs square footage.

369,000 1,372
569,000 2909
439000 1837
544000 2573
399000 1642
499000 2216
599000 1400
487000 2508
410000 1800
379950 1674
565000 2056
659000 4171
859000 4308
610000 2303
450000 1698
480000 1896
319900 1970
385000 2320
449000 2846
199000 1440
369000 2295
350000 1512
449000 1900
525000 2080
770000 3168
789000 3236
675000 2784
765000 2802

Solutions

Expert Solution

Import the data set into R and store it into a data frame named dat.

Home_Price Sq_ft
369,000 1,372
569,000 2909
439000 1837
544000 2573
399000 1642
499000 2216
599000 1400
487000 2508
410000 1800
379950 1674
565000 2056
659000 4171
859000 4308
610000 2303
450000 1698
480000 1896
319900 1970
385000 2320
449000 2846
199000 1440
369000 2295
350000 1512
449000 1900
525000 2080
770000 3168
789000 3236
675000 2784
765000 2802

R Code Output-

> cor(dat$Home_Price,dat$Sq_ft)

[1] 0.7610977

> summary(lm(dat$Home_Price~dat$Sq_ft))

Coefficients:

Estimate Std. Error t value Pr(>|t|)   

(Intercept) 146970.69 64293.42 2.286 0.0307 *  

dat$Sq_ft 158.35 26.47 5.983 2.57e-06 ***

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 104700 on 26 degrees of freedom

Multiple R-squared: 0.5793, Adjusted R-squared: 0.5631

F-statistic: 35.8 on 1 and 26 DF, p-value: 2.572e-06

Hence ,the correlation coefficient =0.7610977 and the coefficient of determination= 0.5793.


Related Solutions

6. Measures of linear relationship - Covariance and coefficient of correlation Consider a data set consisting...
6. Measures of linear relationship - Covariance and coefficient of correlation Consider a data set consisting of observations for three variables: x, y, and z. Their sample means, variances, and standard deviations are shown in Table 1. Table 1 Sample Mean x̄ x̄ = 4 ȳ ȳ = 5 z̄ z̄ = 5 Sample Variance sx2sx2 = 4 sy2sy2 = 3 sz2sz2 = 9 Sample Standard Deviation sxsx = 2 sysy = 1.732 szsz = 3 Table 2 shows the...
6. What is the difference between the correlation coefficient and ?2? Why should the correlation coefficient...
6. What is the difference between the correlation coefficient and ?2? Why should the correlation coefficient be -1 and 1? 7. What is the utility of marginal effects in regression models? How are they obtained? 8. What is heterocedasticity and homocedasticity? Explain how to detect and correct the first.
a. Describe what the Pearson correlation coefficient is and what the coefficient of determination is. compare...
a. Describe what the Pearson correlation coefficient is and what the coefficient of determination is. compare it to a real world example or a example problem
If Data A has a correlation coefficient of r = -0.991, and Data B has a...
If Data A has a correlation coefficient of r = -0.991, and Data B has a correlation coefficient of r = 0.991, which correlation is correct? Select one: a. Data A and Data B have the same strength in linear correlation. b. Data A has a weaker linear correlation than Data B. c. Data A has a stronger linear correlation than Data B. Clear my choice Question 12 Not yet answered Marked out of 1.00 Flag question Question text The...
SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data...
SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data for “Hours of Exercise” and “Life Satisfaction.” (0 = Not at all satisfied). Provide an APA-style results section write – up. (b) Graph the relationship. HINT: Below you will find instructions for the APA-style write-up. Complete the write-up on a word document and upload the file for submission. Hours of Exercise.    2 0 5 6 1 2 4 4 3 4 life satisfaction...
Define correlation coefficient. Describe in your own words the difference between correlation coefficient and coefficient of...
Define correlation coefficient. Describe in your own words the difference between correlation coefficient and coefficient of determination.
1). Calculate the specific correlation coefficient for this data. What does rxy = ? You can...
1). Calculate the specific correlation coefficient for this data. What does rxy = ? You can use the table on the last page for your calculations (This is the tough one). 2). Does there appear to be a correlation between these two variables? If yes, in what direction (positive or negative)? 3). What are three possible explanations for this correlational relationship? (Note – These can include “third variable” explanations). Subject # X Y X2 Y2 XY 1 0 9 0...
What is wrong with the following definition of the correlation coefficient?
What is wrong with the following definition of the correlation coefficient? The correlation coefficient measures the strength and direction of the linear relationship between two variables Choose the correct answer below  A. The correlation coefficient is a measure that describes the direction of the relationship, but the strength of the relationship cannot be determined from the  B. The relationship between the two variables does not have to be linear to use the correlation coefficient  C. The correlation coefficient is a measure that describes the strength...
What is a) the highest possible correlation coefficient? b) The lowest? c) What does a correlation...
What is a) the highest possible correlation coefficient? b) The lowest? c) What does a correlation coefficient of -1.0 mean? d) What does a correlation coefficient of 0 mean? Please Show Steps.
what does it mean when Correlation Coefficient: .500 and the Coefficient of Determination: .25
what does it mean when Correlation Coefficient: .500 and the Coefficient of Determination: .25
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT