a) Using r software, we have constructed regression model using three independent variables.
> D= read.csv("C:/Users/DELL/Desktop/Rental Property
Data.csv",header = T)
> D
Rental | Bedrooms | Age | Blocks |
1000 | 2 | 17 | 3.5 |
1100 | 2 | 4 | 3 |
1700 | 4 | 6 | 2.5 |
2300 | 4 | 14 | 2.5 |
3100 | 5 | 10 | 2.5 |
3200 | 4 | 14 | 2.5 |
3600 | 4 | 6 | 3 |
4800 | 5 | 7 | 1.5 |
6000 | 4 | 18 | 1.5 |
9100 | 6 | 7 | 1 |
> mod= lm(Rental~Bedrooms+Age+Blocks, data = D)
> mod
Call:
lm(formula = Rental ~ Bedrooms + Age + Blocks, data = D)
Coefficients:
(Intercept) Bedrooms Age Blocks
7022.21 430.87 25.94 -2307.61
> summary(mod)
Call:
lm(formula = Rental ~ Bedrooms + Age + Blocks, data = D)
Residuals:
Min 1Q Median 3Q Max
-1432.31 -921.62 -52.37 625.94 1621.50
Coefficients:
Estimate | Std. Error | t value | Pr(>|t|) | |
(Intercept) | 7022.21 | 4717.04 | 1.489 | 0.1871 |
Bedrooms | 430.87 | 604.47 | 0.713 | 0.5027 |
Age | 25.94 | 90.40 | 0.287 | 0.7838 |
Blocks | -2307.61 | 945.38 | -2.441 | 0.0504 |
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 1326 on 6 degrees of freedom
Multiple R-squared: 0.8121, Adjusted R-squared:
0.7182
F-statistic: 8.644 on 3 and 6 DF, p-value:
0.01345
hence we have the regression equation,
est, y = 7022.2 + 430.9 x1 + 25.9 x2 - 2307.6 x3
b) H0 : β1 = β2 = β3 = 0
H1 : At least one βj ≠ 0 (for j = 1, 2, 3)
Source | DF | Adj SS | Adj MS | F-Value | P-Value |
Regression | 3 | 45615168 | 15205056 | 8.64 | 0.013 |
Bedrooms | 1 | 893715 | 893715 | 0.51 | 0.503 |
Age | 1 | 144854 | 144854 | 0.08 | 0.784 |
Blocks | 1 | 10480194 | 10480194 | 5.96 | 0.05 |
Error | 6 | 10553832 | 1758972 | ||
Lack-of-Fit | 5 | 10148832 | 2029766 | 5.01 | 0.326 |
Pure Error | 1 | 405000 | 405000 | ||
Total | 9 | 56169000 |
F = 8.64, P = 0.013 < 0.1
So here we reject H0, hence we conclude that at least one of the slope parameters is not equal to 0.
Test of significance of x1
H0 : β1 = 0
H1 : β1 ≠ 0
P = 0.503 > 0.1 so here we accept H0.
Hence we conclude that slope parameter is equal to 0.
Please help with test statistic and p value A realty company would like to develop a...
A realty company would like to develop a regression model to help set weekly rental rates for beach properties during the summer season. The independent variables for this model will be the size of the property in square feet, the number of bedrooms it has, the number of balthrooms it has, and its age. Use the accompanying data, which are from randomly selected rental properties, to complete parts a through d below EER Click the icon to view the data...
I am going to write the data here because it was too big to fit into the picture. RENT Beds Age Blocks Month 7,300 6 13 0.5 June 4,800 5 5 1.5 June 3,000 3 13 1 July 4,100 5 10 2 June 8,000 4 12 1 August 8,100 5 13 1 July 1,700 3 6 2 June 2,800 3 5 2.5 July 10,500 6 21 1.5 August 8,800 5 17 0.5 August 3,100 5 11 1.5 June 1,100 2...
What is test statistic? What is p-value? b. Construct a 95% confidence interval for each regression coefficient and interpret its meaning. utility company would like to predict the monthly heating bill for a household in a certain county in January. A random sample of households in the county was selected and their January heating bill was recorded along with the variables SF, Age, and Temp, with the results shown i i Click the icon to view the regression output. the...
Score.0of1 p 20f 7(h complete) Y 15.1.6-T Question Help A hospital would like to davalop a regression model to predict the total hospital bill for a patient based on the age of the patient)his or her langth of stay (x2) and the number of days in the hospital's intensive care unit (ICU) (3) Data for these variables can be found i the accompanying table Complete parts a through e below Click the icon to view the data for a random...
1. One Price Realty Company wants to develop a model to estimate the value of houses in its inventory The office manager has decided to develop a multiple regression model to help explain the variation in house values. (25 points) The office manager has chosen the following variables to develop the model: X1 square feet X2- age in years x3- dummy variable for house style (1 if ranch, 0 if not) X4-2d dummy variable for house style (I if split...
A hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, number of days in the hospitais intensive care una (CU), and age of the patient Data for these variables can be found in the accompanying table Complete parts (a) through (e) below. Click the icon to view the data table a) Using technology, construct a regression model using all three independent variables, where y...
B) Calculate coefficient of determination R^2 C)Find the value of the test statistic F= P-value= D)Calculate adjusted multiple coefficient of determination R^2A= A hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, number of days in the hospital's intensive care unit (ICU), and the age of the patient. The data for these variables are in the accompanying table. Complete parts a through d below....
A home appraisal company would like to develop a regression model that would predict the selling price of a house based on the age of the house in years (Age), the living area of the house in square feet (Living Area) and the number of bedrooms (Bedrooms). The given Excel output shows the partially completed regression output from a random sample of homes that have recently sold. How many homes were included in the sample? EEB Click the icon to...
please find the test statistic and p value Homework: Section 8.2 Homework Save Score: 0.67 of 1 pt 4 of 8 (8 complete) HW Score: 56%6, 5.6 of 10 pts 8.2.13-T Assigned Media Question Help A pet association claims that the mean annual cost of food for dogs and cats are the same. The results for samples for the two types of pets are shown below. At a "0.05, can you reject the pet association's daim? Assume the population variances...
The value obtained for the test statistic, z, in a one-mean 2-test is given. Whether the test is two tailed, left tailed, or right tailed is also specified. For parts (a) and (b). determine the P-value and decide whether, at the 1% significance level, the data provide sufficient evidence to reject the null hypothesis in favor of the alternative hypothesis. a. The test statistic in a two-tailed test is z= -1.42. The P-value is (Round to three cocimal places as...