QMB-6304 Analytical Methods for Business
Write a simple R script to execute the following:
Load into R the data included in Assignment 4 Data.xlsx. This data set shows age (years), weight (pounds), and height (inches) for 251 adults. This will be your master data set.
Create a new variable in the master data set which will be each individuals body mass index. The calculation should be done as:
BMI=(weight* .45)(height* .025)2
Using the method presented in class and applying the numerical portion of your U number as a random number seed, take a random sample of 45 cases from the master data set. This will be your primary data set.
Use R to conduct a simple linear regression on the data with weight as the independent variable and bmi as the dependent variable. As a part of this be sure to:
Report the beta coefficients and associated p values and confidence intervals from your model.
Give a written interpretation of your beta coefficients in terms of the actual case at hand.
Assess your models conformance with the LINE assumptions of regression.
Give a prediction using your model for an individual weighing 185 pounds. Include 95% confidence and prediction intervals and written interpretations of both intervals.
A 10-year-old boy has been presented to you who weighs 72 pounds. Give two reasons for why it would be wrong to use your model to predict the boys BMI.
Your deliverable will be a single MS-Word file showing 1) the R script which executes the above instructions and 2) the results of those instructions. The first line of your script file should be a # comment line showing your name as it appears in Canvas. Results should be presented in the order in which they are listed here. Deliverable due time will be announced in class and on Canvas. This is an individual assignment to be completed and submitted by the time stated on Canvas. No collaboration of any sort is allowed on this assignment. Please remember the prohibition on using screen shots in your deliverable.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more