Linear Programming (R, Python) Assignment Example, Singapore

University National Institutes of Health (NIH)
Subject Linear Programming (R Python)

Programming Assignment

Instructions

  • You are allowed to use the following software to answer the questions:

– R and Rstudio

– Python

  • Some questions are designed to be open-ended and have several correct answers or multiple ways to express your answer. Strive to be concise and precise in your answers. Excessive words or quotes will be penalized. You are notexpected to write essay, and excessive words signal that you do not know what is important.
  • You may use more than one page per question, if necessary, but start each new question number on a new page.

Hospital Length of Stay Estimation at Admission

Inpatient Length of Stay (LOS) in hospitals are important estimates done upon admission (after a tentative diagnosis) to plan for hospital resources (beds, specialized equipment, doctors/nurses with specific training, etc…) and to inform the patient on the estimated cost of stay so that they can get the required approval from insurance. Currently, the estimation is done using the mean LOS in each CCSR diagnosis.

A data sample (INF002v4.csv) and data dictionary from the New York State Department of Health are provided. The length of stay value of 120+ had been recoded to 120 so that you can use LOS as a continuous integer variable.
The business objective is to estimate the LOS more accurately upon admission than using the mean LOS.

1. Explore the data and report 3 notable findings.

2. State the list of potential predictor X variables that will be inputs to models and the final dimensions of the dataset (i.e. number of observations and variables).

3. Using 70-30 train-test, conduct (a) Linear Regression, and (b) CART to compare testset errors. Explain your specification of the model1 and display the results in a table.

Programming Assignment

4. Comment on your models’ results and provide insights for the business application.

5. Suggest improvements.

Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers

Get Help By Expert

Boost your academic journey with our Singapore assignment help online! If you're seeking expert guidance for your computer science assignment help in linear programming (R, Python), look no further. Enjoy affordable, high-quality services where you can pay someone to do my assignment for me with confidence. Our commitment includes 100% human-written assignments—no AI involved—ensuring A+ guaranteed, on-time delivery, and plagiarism-free content. Get started today and excel in your coursework!

Answer

Looking for Plagiarism free Answers for your college/ university Assignments.

Ask Your Homework Today!

We have over 1000 academic writers ready and waiting to help you achieve academic success