Plot a histogram of age

Assignment Help Advanced Statistics
Reference no: EM132249047

Assignment -

Read all questions carefully. All calculations and graphing should be done by using R (no other calculations are accepted). All graphs and tables must have the titles, all graphs should be attractive and have appropriate labels and legends where necessary.

Question 1 -

a. Read (import) the diet data in HW3 folder. [1]

Description of Diet data

Variable Name

Description

Type

SubjNo

Subject Number

Character

RBC

Red Blood Cell (in mg per liter)

Numeric

Diet

Diet Group

Character (1 = God, 2 = Fair, 3 = Poor)

Gender

Subject gender

Character (0 = male, 1 = female)

Race

Race group

Character (1 = Black, 2 = White, 3 = Hispanic, 4 = Other)

Protein

Whole-body protein turnover

Numeric

Ideal Weight

Percentage of ideal body weight for height

Numeric

Age

Patient's age in years

Numeric

HbLevel

Mean hemoglobin level in g/dl

Numeric

b. How many quantitative and qualitative variables are there in the diet data, identify them?

c. Create a descriptive summary table, this table must look similar to the table shown in the lecture - Lecture_descriptivesummaryTable.xls . You must give the title to the table.

d. Identify the possible outliers in HbLevel and RBC count? Just report the number- how many in each.

e. Calculate the CVs for HbLevel and RBC count. Which data do you think will be more consistent and why?

f. Find the quartiles of age? What is the IQR?

Question 2 -

Use the diet data from Q1 and do the followings:

a. Plot a histogram of age? Keep at least 7 intervals (bins). What is the shape of age- right or left skewed or normal?

b. Plot a pie chart of race.

c. Draw bar diagram of diet group. Also create a stacked bar diagram to show the distribution of diet group by race.

d. Make a box plot of RBC? How many outliers are there? What is the shape of RBC - right or left skewed or normal? How do you interpret this shape?

e. Create box plots of patient's age by diet group (one picture should contain all box plots).

f. Make a scatterplot between HbLevel and RBC. Do you suspect any kind of relationship between these two variables? Be specific- such as linear, quadratic etc.

Question 3 -

a. In Q1 c., we created a descriptive summary tables for pooled data. Now, create similar table for both male and female. You can follow the following format (not the exact variable names are shown). [6] Table1: .......

Variable

Male

Female

Mean or Count (%)

Standard Deviation (sd)

Mean or Count (%)

Standard Deviation (sd)

n

 

 

 

 

A

 

 

 

 

B

 

 

 

 

Attachment:- Assignment Files.rar

Reference no: EM132249047

Questions Cloud

Determine the specific segment of the market : Determine the specific segment of the market that your organization's strategy or strategies will target.
Profitable capitalist business : How is Dean able to pay farmers higher prices for their coffee? Is his business a charity, or can he run it as a profitable capitalist business?
Discuss health care organizations culture and its structure : Assess the importance of the link between a health care organization's culture and its structure, relative to the successful implementation of its strategy.
Influence of sex and gender discrimination : What can individual women do to reduce the influence of sex and gender discrimination on their careers?
Plot a histogram of age : Use the diet data from Q1 - Plot a histogram of age? Keep at least 7 intervals (bins). What is the shape of age- right or left skewed or normal
Is there anything you need more clarification on : Question from your Reading: Think about your reading and lectures this week and post one concept that you would like to discuss further.
Some computer systems considered services : Are some computer systems considered services even though they are not web based?
How did reading an indigenous peoples history of the us : How did reading An Indigenous Peoples History of the United States help provide you with an understanding of U.S. history and Democracy?
Develop a digital and social marketing communications plan : Develop a digital and social marketing communications plan using communications channels for your hypothetical business. Is social media right for your.

Reviews

len2249047

3/6/2019 1:00:47 AM

Total Possible Points- 47. Create a HW3 folder in your desktop and save all works there. Read all questions carefully. Submit both R command file as Hw3_DataRepresentation, and HW3_Solution_yourlastname files separately. Each file should have your last name. All calculations and graphing should be done by using R (no other calculations are accepted). All graphs and tables must have the titles, all graphs should be attractive and have appropriate labels and legends where necessary.

Write a Review

Advanced Statistics Questions & Answers

  Relationship between speed, flow and geometry

Write a project proposal on relationship between speed, flow and geometry on single carriageway roads.

  Logistic regression model

Compute the log-odds ratio for each group in Logistic regression model.

  Logistic regression

Foundations of Logistic Regression

  Probability and statistics

The tubes produced by a machine are defective. If six tubes are inspected at random , determine the probability that.

  Solve the linear model

o This is a linear model. If your model needs a different engine, then you need to rethink your approach to the model. Remember, there are no IF, Max, or MIN statements in linear models.

  Plan the analysis

Plan the analysis

  Quantitative analysis

State the hypotheses that you are going to test.

  Modelise as a markov chain

modelise as a markov chain

  Correlation and regression

What are the degrees of freedom for regression

  Construct a frequency distribution for payment method

Construct a frequency distribution for Payment method

  Perform simple linear regression

Perform simple linear regression

  Quality control analysis

Determining the root causes

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd