A realtor for a residential real estate company in a large city has the business objective to develop a more accurate estimate of the monthly rental cost for apartments. The agent would like to use size of an apartment, as defined by square footage to predict the monthly rental cost. The agent selects a sample of 25 apartments in a particular residential neighborhood and collects the following data (see Rent).
b. Run a linear regression using size (in square feet) to predict rent. Report your regression equation.
c. Is the regression model you ran statistically significant? How can you tell?
D. Interpret your slope and y-intercept within the context of the problem.
E. Using the regression equation you generated in (b) predict the rent of a 1900 square foot apartment.
F. What is the relationship (correlation) between square footage and rent?
G. How much variance in rent is explained by square footage?
Rent($) | Size(sq. ft) |
700 | 1875 |
718 | 1950 |
726 | 1935 |
755 | 2200 |
850 | 1950 |
896 | 2150 |
956 | 2150 |
1000 | 1800 |
1040 | 2650 |
1085 | 2200 |
1100 | 2400 |
1136 | 2650 |
1150 | 2200 |
1175 | 2400 |
1200 | 2750 |
1225 | 2450 |
1232 | 2500 |
1245 | 2100 |
1259 | 2700 |
1285 | 2650 |
1361 | 2600 |
1369 | 2800 |
1450 | 2600 |
1485 | 2700 |
1985 | 3300 |
Notice that size of an apartment is being used to predict rent hence size of an apartment is independent variable and rent is dependent variable.
Independent variable(X) : Size(in square feet) of an apartment.
Dependent variable(Y): Rent(in dollars) of an apartment.
b. To run a linear regression we will use R software (you can do it manually also).
R software codes
>x=c(1875,1950,1935,2200,1950,2150,2150,1800,2650,2200,2400,2650,2200,2400,2750,2450,2500,2100,2700,2650,2600,2800,2600,2700,3300)
>y=c(700,718,726,755,850,896,956,1000,1040,1085,1100,1136,1150,1175,1200,1225,1232,1245,1259,1285,1361,1369,1450,1485,1985)
>model=lm(y~x)
>summary(model)
We created data vectors x and y. lm() function is used to fit linear regression model. summary() function is used to obtain the summary statistics of the regression model.
R software output
Observe the above output. Using above output regression equation is
Y= -483.63556 + 0.67841X
In words,
Rent = -483.63556 + 0.67841(Size)
c. Regression model in part b above is statistically significant. Observe the above output. Notice that the p-value is 7.518×10^-08 which is very small as compare to level of significance 0.01 or 0.05. We reject null hypothesis Ho if p-value is less than given level of significance. Here
Null hypothesis Ho: Fitted regression model is not significant.
Alternative hypothesis H1: Fitted model is significant.
Since p-value is less than the level of significance we reject null hypothesis. Hence the Fitted regression model is statistically significant.
D.
Slope of the regression line is interpreted as the change in the dependent variable for every unit change in the independent variable.
In this context, slope is 0.67841 which can be interpreted as rent of apartment increases by 0.67841 dollars if the area of apartment is increased by 1 square foot.
y-intercept is interpreted as mean of dependent variable if independent variable assumes zero value.
Here, y-intercept is -483.63556 which can be interpreted as mean rent of apartment is -483.63556 when the size of apartment is zero foot.
Note that in the context of our problem, y-intercept is not meaningful.
E. To predict rent of an 1900 square feet apartment, just substitute X=1900 in the regression equation in part b.
So, rent= -483.63556+(0.67841×1900) = 805.34344.
So, rent of an 1900 square feet apartment is 805.34344 dollars.
F. To comment on the relationship between square footage and rent we will compute correlation coefficient between them using R software (you can do it manually also)
R software codes
>x=c(1875,1950,1935,2200,1950,2150,2150,1800,2650,2200,2400,2650,2200,2400,2750,2450,2500,2100,2700,2650,2600,2800,2600,2700,3300)
>y=c(700,718,726,755,850,896,956,1000,1040,1085,1100,1136,1150,1175,1200,1225,1232,1245,1259,1285,1361,1369,1450,1485,1985)
>cor(x,y)
Data vectors x and y are created. cor() function is used to compute correlation coefficient.
R software output
Observe the above output. Correlation coefficient between Rent and square footage is 0.8500608 which suggests that there is a strong positive linear relationship between rent and square footage.
That is, increase in square footage implies increase in the rent of an apartment.
G. Multiple R-squared gives the amount of variation in dependent variable explained by independent variable. Observe the above output, Multiple R-squared is 0.7226 which implies that 72.26 % of variation in rent is explained by square footage.
This answers your questions. If the understood, please rate positively.
A realtor for a residential real estate company in a large city has the business objective...
An agent for a residential real estate company has the business objective of developing more accurate estimates of the monthly rental cost of apartments. Toward that goal, the agent would like to use the size of the apartment as defined by square footage to predict monthly rental cost. The agent selects a sample of 100 one-bedroom apartments and collects the data -Predict the mean monthly rent for an apartment that has 850 square feet. - Construct a 95% confidence interval...
An agent for a residential real estate company in a suburb located outside a major city has the business objective of developing more accurate estimates of the monthly rental cost for apartments. Toward the goal, the agent would like to use the size of an apartment, as defined by square footage to predict the monthly rental cost. The agent selects a sample of 8 one-bedroom apartments and the data are shown. Complete parts (a) through (f). mathxl.com An Agent For...
how to find the b0 through excel An agent for a residential real estate company in a suburb located outside a major city has the business objective of developing more accurate estimates of the monthly rental cost for apartments. Toward the goal, the agent would like to use the size of an apartment, as defined by square footage to predict the monthly rental cost. The agent selects a sample of a one-bedroom apartments and the data are shown. Complete parls...
4. An agent for a residential real estate company in a suburb located outside a major city has the business objective of developing more accurate estimates of the monthly rental cost for apartments. Toward the goal, the agent would like to use the size of an apartment, as defined by square footage to predict the monthly rental cost. The agent selects a sample of 8 one-bedroom apartments and the data are shown. Complete parts (a) through (f). Monthly Rent ($)...
Score: 1.6 of 4 pts 8 of 10 (10 complete) HW Score: 64.05%, 25.62 of 40 x 12.3.21-T :s Question Help An agent for a real estate company in a large city would like to be able to predict the monthly rental cost for apartments, based on the size of the apartment, as defined by square footage. A sample of eight apartments in a neighborhood was selected, and the information gathered revealed the data shown below. For these data, the...
11. (35 pts) An agent for a real estate company wanted to predict the monthly rent for one- bedroom apartments, based on the size of the apartment (see summary output below). Using the results, identify the coefficient of determination, r2, and interpret its meaning. SUMMARY OUTPUT Regression Statistics Multiple R 0.354314 R Square 0.125539 Adjusted R Square 0.106529 Standard Error 186.0407 Observations 48 ANOVA df Regression Residual Total 1 46 47 Significance SS MS F F 228565.2 228565.2 6.603807 0.013481439...
please help me answer these questions completley and obviously. I depend on it. thank you An agent for a real estate company in a large city would like to be able to predict the monthly rental cost for apartments, based on the size of the apartment, as defined by square footage. A sample of eight apartments in a neighborhood was selected, and the information gathered revealed the data shown below. For these data, the regression coefficients are bo =309.0128 and...