Are their natural clusters in the data

Assignment Help Computer Engineering
Reference no: EM131263957

STA 141A Fall 2016 Assignment Topic: R Programming

Honor Code: "The codes and results derived by using these codes constitute my own work. I have consulted the following resources regarding this assignment:" (ADD: names of persons or web resources, if any, excluding the instructor, TAs, and materials posted on course website).

Description of the data NHANES Data (available in the smartsite folder "Homework/Data for Homework/" as NHANES.Rdata): National Health and Nutrition Examination Survey. It is part of hexbin package in R. This data frame contains the following columns:

1. Cancer.Incidence: binary factor with levels No and Yes.

2. Cancer.Death: binary factor with levels No and Yes.

3. Age: numeric vector giving age of the person in years.

4. Smoke: a factor with levels Current, Past, Nonsmoker, and Unknown.

5. Ed: numeric vector of f0,1g codes giving the education level.

6. Race: numeric vector of f0,1g codes giving the person's race.

7. Weight: numeric vector giving the weight in kilograms

8. BMI: numeric vector giving Body Mass Index, i.e., Weight/Height 2 where Height is in meters, and missing values (61% !) are coded as 0 originally.

9. Diet.Iron: numeric giving Dietary iron.

10. Albumin: numeric giving albumin level in g/l.

11. Serum.Iron: numeric giving Serum iron in g/l.

12. TIBC: numeric giving Total Iron Binding Capacity in g/l.

13. Transferin: numeric giving Transferin Saturation which is just 100 [1] serum.iron/TIBC.

14. Hemoglobin: numeric giving Hemoglobin level.

15. Sex: a factor with levels F (female) and M (male).

You need to use both graphical and analyticalmethods (such as linear regression and scatterplot smoother) to find interesting patterns in the data that may help in build predictive statistical models. The data analysis needs to be summarized in the form of a report (a maximum of 500 words). As a possible guideline, you may consider the following questions (you should try to come up with your own questions relevant to the data analysis). Also, the data has many missing values, which need to be properly accounted for while carrying out any analysis. Also, you may need to consider transforming certain variables and fitting linear regression models using original or transformed variables to build predictive models involving these variables.

1. How do the various continuous variables (including Age) relate to each other?

2. Are their natural clusters in the data? Are these clusters related to different natural strata determined by the values of the categorical variables like Ed, Race, Sex, Smoke?

3. What kind of pattern is present in terms of the effect of Smoking on incidences of cancer?

4. How do such patterns change across age groups, gender, race?

5. How do the relationships of the variables change across strata as determined by factors such as Ed, Race, Sex, Smoke?

6. Which subsets of variables are effective while predicting BMI? Are there differential effects across educational level, gender or race?

References: (Online versions are available through UC Davis Library.)

1. Dalgaard, P. (2008). Introductory Statistics with R, 2nd Edition. Springer.

2. Wickham, H. (2009). ggplot2: Elegant Graphics for Data Analysis. Springer.

Attachment:- Assignment.rar

Reference no: EM131263957

Questions Cloud

Analyze why the afl survived and the iww faded : Discuss the similarities and differences between at least three (to receive 4 points - see rubric for exemplary- compare four) labor organizations discussed in Chapter 3 (the Knights of Labor, the Industrial Workers of the World, the American Fed..
Describe and identify the major socioeconomic programs : Using the course material and individual research, describe and identify the major socioeconomic programs and the policy behind them, and explain their impact on contracting. Support your reasoning.
Create a vulnerability chart based on the fact pattern : Create a vulnerability chart based on the Fact Pattern. Consult Module 4 and the associated textbook readings to review the purpose of a vulnerability chart.
Explain what is the affordable care act : What is the Affordable Care Act? Your challenge for this week is to summarize the Affordable Care Act and discuss the current/upcoming activities of the U.S. Supreme Court related to the Act.
Are their natural clusters in the data : STA 141A Fall 2016 Assignment Topic: R Programming. Are their natural clusters in the data? Are these clusters related to different natural strata determined by the values of the categorical variables like Ed, Race, Sex, Smoke
Column headings and compute depreciation for each year : A machine costing $257,500 with a four-year life and an estimated $20,000 salvage value is installed in Luther Company’s factory on January 1. The factory manager estimates the machine will produce 475,000 units of product during its life. Prepare a ..
What are the weights on debt and equity : This company's stock is currently selling for $7.50 per share and the bonds are selling for $889.50 per bond. These bonds' yield to maturity is 7.6%. The beta for this company is approximately equal to 1.1. The yield on a 6-month Treasury bill is 3.5..
Compute the adjusted gross income and taxable income : Compute: 1) Adjusted Gross Income, 2) Taxable Income, 3) Tax Owed or Refunded?
Amount of cash to be paid for operating expenses : Sales commissions are paid in cash in the month following the month in which the expense is recognized. All other relevant expense items are to be paid in the month in which they are recognized. Based upon these management assumptions, and your analy..

Reviews

len1263957

11/3/2016 12:58:05 AM

Just the coding, no report. Submit the assignment both electronically (through smartsite) and by submitting the printed copy. The electronic submission must be in the form of a zip folder (with extension .zip, .7z, etc.) containing two files: (i) data analysis and report; (ii) codes used to perform the data analysis.

Write a Review

Computer Engineering Questions & Answers

  Write a program that reads a file containing two columns

write a program that reads a file containing two columns of floating point numbers. prompt the user for the file name. print the average of each column in java.

  Which choices would made and why

Using SMIL and SVG, it is possible to choose resources from different locations and contributors to create a single unified presentation

  Can a relation be stored as a sequential file

How various times should a user be allowed to mistype a password before the conversation is terminated.

  Create a detailed diagram or set of diagrams to show how

create a detailed diagram or set of diagrams to show how the letter a is transmitted in an electrical light and radio

  Imagine that v is an array-based tree

imagine that v is an array-based tree.

  1 create a short email message on the importance of a

1. create a short email message on the importance of a college education.2. add a signature to the email.3. email the

  Create metadata entries for the data model components

Create metadata entries for the following data model components and, if possible, input the entries into a computer-aided software engineering (CASE) tool of your choosing:

  What is the impact of information technology in your daily

information technology is the process of using computers or computing devices to obtain and handle information and

  Design interfaces of components that used in a system

Design the interfaces of at least two components that might be used in a system in an emergency control room vehicle discovery component that, given a post code (zip code) and an incident type, finds the neares.

  Estimating the output

Provided: enum cropType {WHEAT,CORN,RYE,BARLEY,OATS} cropType crop;

  What is the limit squeeze theorem

What is the limit squeeze theorem? How can you use this theorem to solve limit problems?

  Modify the inventory program by adding a button to the gui

modify the inventory program by adding a button to the gui that allows the user to move to the first item the previous

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