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

  Determining economy market

Given an economy that is operating at less than the full employment level, analyze the effects of an increase in consumer confidence on the following markets. Start with an initial equilibrium in each market.

  Draw a graph of state transitions and find steady-state pmf

Draw a graph of the state transitions for i ≤ 2, j ≤ 2. Find the steady-state PMF, {p(i, j); i, j ≥ 0}, for the Markov process.

  Planning function for competitve advantage

Identify an organization and provide an example of strategic planning and one example of functional-level planning. What are the differences in decision-makers, risk, cost, timeframe, and profit potential of decisions being made at various levels ..

  Disadvantages of regression models

In what ways are sunk, fixed and average costs considered irrelevant and why? What are the advantages and disadvantages of regression models in comparison to using a computerized regression routine?

  How would you spend the amount to maximize your return

How would you spend the $2000 to maximize your return and what would be your net return? Explain your answer - Resolve the problem requiring an integer solution.

  Calculate pearsons correlation coefficient

A discrete random variable can be described by the binomial distribution if it satisfies four conditions. State these conditions

  Companies rated as producing good integrated reports

Combination of companies rated as producing good integrated reports and those rated as producing bad integrated reports - objective to test for strong

  Probability distribution curves

Draw a graph of an insurer's probability distribution for total claim costs, assuming that it has expected claim costs of $500 million. Identify the probability of insolvency if the insurer has assets equal to $750 million.

  Explain bond amortization

Forman Company issued $800,000 of 10% 20-year bonds on January 1, 2011 at 102. Interest is payable semiannually on July 1 and January 1.

  Compute the mean and standard deviation

Form a frequency distribution having 9 class intervals and form a percentage distribution from the frequency distribution (from part a) - Compute the mean, standard deviation and Coefficient of variation

  Question 1 for the following hypothesis testho nbsp mu

question 1 for the following hypothesis testho nbsp mu lenbspnbsp45ha nbsp mu gt 45nbsp nbsp nbsp alphanbsp 0.02with n

  Bond coupon rate and yield to maturity

A company currently has 10 percent coupon bonds on the market that sell for 1,063, make semiannual payments, and mature in 20 years. What coupon rate should the company set on its new bonds if it wants them to sell at par?

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