Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R STUDIO STATISTICS IIQlUESTIIZtlil 1 The data set esdcomp in the faraway Fl package was recorded on 44 doctors working in an emer- gencvr service

R STUDIO

STATISTICS

image text in transcribedimage text in transcribed
IIQlUESTIIZtlil 1 The data set esdcomp in the faraway Fl package was recorded on 44 doctors working in an emer- gencvr service at a hospital to studv the factors affecting the number of complaints received '. The variables in this data are presented in Table 1. Table 1: iv'ariables and their description in esdcomp data set 'v'anab e Escrlptlon visits the nu mr of patle nt visits complaints the number of complaints residency:r is the doctor in residency:r training N or 'r' gender genderofdoctor For M revenue dollars per hour earned by the doctor hours total number of hours worked [a] Consider the rate of complaints in terms of the number received in relation to the number of patient visits made. Plot this against each of the four potential predictors and comment on the relationships. [5} [bi Fit a binomial lGLiiri for the number of complaints out of the number of visits with the other four variables as predictors. Does this model fit the data? Perform this check numerically:r and graphicallv. {1 0} {ch Check the significance of the four predictors in the binomial model. Give a numerical inter- pretation to the effect of any:r significant predictors. [8} DdLRground JOUS #4 R R422 . -/ > library (far away ) > data("esdcomp") esdcomp visits complaints residency gender revenue hours 2014 Y F 263.03 1287. 25 3091 N 334. 94 1588.00 879 Y 206.42 705.25 1780 N M 226. 32 1005. 50 3646 M 288. 91 1667.25 2690 M 275.94 1517.75 1864 M 295.71 967.00 NUNNWOONPPPAWN 2782 M 224. 91 1609.25 3071 249.32 1747.75 10 1502 M 269.00 906. 25 11 2438 F 225. 61 1787.75 12 2278 M 212.43 1480. 50 13 2458 M 211. 05 1733. 50 14 2269 F 213.23 1847.25

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Precalculus, Enhanced WebAssign Edition

Authors: James Stewart

6th Edition

1285499948, 9781285499949

More Books

Students also viewed these Mathematics questions