What would I need to type in in R programming to get similar results to the one

College Algebra
7th Edition
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:James Stewart, Lothar Redlin, Saleem Watson
Chapter1: Equations And Graphs
Section: Chapter Questions
Problem 10T: Olympic Pole Vault The graph in Figure 7 indicates that in recent years the winning Olympic men’s...
icon
Related questions
Question

What would I need to type in in R programming to get similar results to the one listed in the example results 

Hours (y) = monthly labor hours required
Xray(x₁) = monthly X-ray exposures
BedDays (x₂) = monthly occupied bed days
Length(13) = average lengh of patients' stay (in days)
The main objective of the regression analysis is to help the navy evaluate the performance of
its hospitals in terms of how many labor hours are used relative to how many labor hours are
needed. The navy selected hospitals 1 through 17 from hospitals that it thought were efficiently
run hospitals to evaluate the efficiency of questionable hospitals. Consider relating y to x₁, I2,
and 23 by using the model.
y = Bo + B₁1+ B₂x2 + 3x3 + €
Print and submit R code and output of your regression analysis. Results should look similar
to figure 1.
Coefficients:
Estimate Std. Error t value Pr (>|t|)
(Intercept) 1523.38924 786.89772
0.0749.
1.936
2.637 0.0205 *
9.305 4.12e-07 ***
-320.95083 153.19222 -2.095 0.0563.
0.05299
0.97848
0.02009
0.10515
xray
BedDays
Length
signif. codes: 0 ***** 0.001 **** 0.01 **' 0.05.¹0.1¹ 1
Residual standard error: 614.8 on 13 degrees of freedom
Multiple R-squared: 0.9901,
Adjusted R-squared: 0.9878
F-statistic: 432 on 3 and 13 DF, p-value: 2.894e-13
Transcribed Image Text:Hours (y) = monthly labor hours required Xray(x₁) = monthly X-ray exposures BedDays (x₂) = monthly occupied bed days Length(13) = average lengh of patients' stay (in days) The main objective of the regression analysis is to help the navy evaluate the performance of its hospitals in terms of how many labor hours are used relative to how many labor hours are needed. The navy selected hospitals 1 through 17 from hospitals that it thought were efficiently run hospitals to evaluate the efficiency of questionable hospitals. Consider relating y to x₁, I2, and 23 by using the model. y = Bo + B₁1+ B₂x2 + 3x3 + € Print and submit R code and output of your regression analysis. Results should look similar to figure 1. Coefficients: Estimate Std. Error t value Pr (>|t|) (Intercept) 1523.38924 786.89772 0.0749. 1.936 2.637 0.0205 * 9.305 4.12e-07 *** -320.95083 153.19222 -2.095 0.0563. 0.05299 0.97848 0.02009 0.10515 xray BedDays Length signif. codes: 0 ***** 0.001 **** 0.01 **' 0.05.¹0.1¹ 1 Residual standard error: 614.8 on 13 degrees of freedom Multiple R-squared: 0.9901, Adjusted R-squared: 0.9878 F-statistic: 432 on 3 and 13 DF, p-value: 2.894e-13
1
2
WN
3
4
5
6
7
∞
8
9
10
11
12
13
14
15
16
17
18
19
A
B
Xray BedDays
472.92
2463
2048
1339.75
3940
620.25
6505 568.33
1497.60
1365.83
5723
11520
5779
1687.00
5969
1639.92
8461
2872.33
20106
3655.08
13313
2912.00
10771
3921.00
15543
3865.67
36194
7684.10
34703
12446.33
39204 14098.40
86533 15524.00
D
Length
Hours
4.45
566.52
6.92
696.82
4.28
1033.15
3.90
1603.62
5.50 1611.37
4.60
1613.27
5.62 1854.17
2160.55
2305.58
3503.93
5.15
6.18
6.15
5.88
4.88
5.50
7.00 10343.81
10.78
11732.17
3571.89
3741.40
4026.52
7.05 15414.94
6.35 18854.45
Transcribed Image Text:1 2 WN 3 4 5 6 7 ∞ 8 9 10 11 12 13 14 15 16 17 18 19 A B Xray BedDays 472.92 2463 2048 1339.75 3940 620.25 6505 568.33 1497.60 1365.83 5723 11520 5779 1687.00 5969 1639.92 8461 2872.33 20106 3655.08 13313 2912.00 10771 3921.00 15543 3865.67 36194 7684.10 34703 12446.33 39204 14098.40 86533 15524.00 D Length Hours 4.45 566.52 6.92 696.82 4.28 1033.15 3.90 1603.62 5.50 1611.37 4.60 1613.27 5.62 1854.17 2160.55 2305.58 3503.93 5.15 6.18 6.15 5.88 4.88 5.50 7.00 10343.81 10.78 11732.17 3571.89 3741.40 4026.52 7.05 15414.94 6.35 18854.45
Expert Solution
steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Algebra and Trigonometry (MindTap Course List)
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax