Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In a longitudinal study, patients has been recruited and followed up for a certain length of time. During this period data has been collected for

image text in transcribed

image text in transcribed

In a longitudinal study, patients has been recruited and followed up for a certain length of time. During this period data has been collected for several variables as described below. Id = patients identification number hospAd = date of hospital admission hospDis == date of hospital discharge DOB= date of birth death = death (1= yes) reHosp = rehospitalization (1= yes ) drVislP = In person Dr. Visit (1= yes ) drVisVR = virtual Dr. Visit ( 1= yes) datV = days at vacation Question to answer using R. Must provide R code and answer. 1. Average days in hospital 2. Average age of pts as of jan01,2023 3. How many patients have (a) died, (b) re-hopitalized 4. How many patients have any Dr visit 5. Provide summary statistics for the vacation days. Provide your comment for general population so that they have an understanding about the data

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

Step: 3

blur-text-image

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

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

What basic questions can HR analytics answer?

Answered: 1 week ago