Let's begin by listing all of the variables.
Response: The amount of time spent in the hospital
Explanatory: age, cholesterol level, blood pressure, and the hospital you are in.
Note that one patient cannot be in two hospitals at once, so there is no interaction term between hospitals.
Your regression equation should be in the form of
time = b0 + b1*age + b2*cholesterol + b3*blood pressure + b4*I(regional) + b5*I(general) + b6*I(charity) + e, where e is the noise.
Here we need 3 dummy variables, I(regional), I(general) and I(charity). If the patient is in either of these hospitals, then that particular dummy variables takes the value 1, and all others take the value 0. If the patient is in the city hospital, then all dummy variables take the value 0 (i.e. the base case).
the coefficients b4 to b6 tells you the differences between those hospitals and the the city hospital. For example, if b4 = -5, then it tells you that all else equal, a patient in the regional memorial hospital will spend 5 units time less than if she went to the city hospital. These coefficients ONLY tell you the differences (w.r.t. the base hospital); they suggest nothing about absolute times.

Let's begin by listing all of the variables.
Response: The amount of time spent in the hospital
Explanatory: age, cholesterol level, blood pressure, and the hospital you are in.
Note that one patient cannot be in two hospitals at once, so there is no interaction term between hospitals.
Your regression equation should be in the form of
time = b0 + ...

Solution Summary

The expert calculates the r-squared in multiple regression.

... Total Sum of Squares, Explained Variation, SSE, MSE, R-Squared, and Test ... the model at 1% level of significance calculating the F ...Calculate the F-Statistic, etc. ...

... Use matrix and inverse of matrix to calculate the coefficients. ... 22.82 alues are calculated. ... they are statistically significant (comment on the R-squared and t ...

... Prediction interval for Y is also calculated using regression's standard error ... Now for multiple regression. ... these models all have about the same R-squared value ...

... n - 1/n - k - 1)(1 - R^2) to calculate the R ... variable (say x2), this becomes a multiple regression with two ... variable can never lower the value of the R-squared. ...

... Coefficients - R-squared Value - Adjusted R squared value and ... the procedure and formula for calculating Adjusted R ... aggregate prices in the multiple regressions...

... last observation is entered, the program calculates and displays ... Many of the packages calculate others as well; the ... It is calculated as follows: 50.2 = 51 + 60 ...

... Instead, I used an online calculator (http://www.zweigmedia.com ... and the r- squared value is high (r-squared = 0.80869235).The ...Multiple Regression Analysis. ...

... h) Calculate the squared correlation between y and ŷ ... To what statistic, calculated earlier, shoud this correlation be ... It is the R squared value (Coefficient of ...

... a and b are constants which are calculated using the following ... N ΣX 2 − ( Σ X ) 2 N We also calculate the value of R2 by first calculating the value ...