logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Martin ClarkMarketing
(5/5)

674 Answers

Hire Me
expert
Kevin BatessAccounting
(5/5)

705 Answers

Hire Me
expert
Christopher MclaughlinMathematics
(5/5)

534 Answers

Hire Me
expert
Quintin MiddletonResume writing
(4/5)

601 Answers

Hire Me
STATA
(5/5)

Categorize age into four using IQR and rename it as “agecat”

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Problem I.    

I. For this assignment use the dataset hwk2.dta, available on the course website. The data are a subset of the data from HERS, the trial of hormone therapy for secondary prevention of coronary heart disease. The dataset includes the following variables for the 2,032 diabetes-free women with glucose _125 mg=dl:

_ ht (treatment assignment: 1 = hormone therapy, 0 = placebo)

_ glucose0 (fasting glucose at baseline, in mg=dl)

_ glucchange (change in glucose from baseline to yr 1 in mg=dl)

_ exercise (at least 3 times per week: 1 = yes, 0 = no)

_ age (in years at baseline)

_ raceth (race/ethnicity: 1 = white, 2 = African American, 3 = other)

_ smoker (current smoker at baseline: 1 = yes, 0 = no)

_ bmi (body mass index at baseline, in kg/m2)

 

This part of the exercise is motivated by the Diabetes Prevention Project, which showed a protective effect of exercise and weight loss in preventing progression to diabetes among women with fasting glucose levels between 100 and 125 mg/dl.

 

1. Categorize age into four using IQR and rename it as “agecat” 

2. Rename category as IQR 1 as lowest, IQR as medium, IQR as Normal and IQR 4 as Higher

3. Show agecat in bar graph

4. For the BMI for BMI0 and BMI1 analyse summary and compare using mean.

5. Show BMI categorized by bar graph for BMI0 and BMI1

6. Analyse the descriptive analysis(mean, median, mode, IQR, etc) for variables

7. Check the normality distribution for fasting glucose levels

 

Problem II.    

For this Assigment you will need hwk3.dta, available on the course web site. The dataset includes observations for a 10% random sub-sample of the HERS cohort.Variables were age, race/ethnicity, alcohol use, exercise, WHR, and BMI, and obtain the residuals. 

1. Show age with glucose using scatter plot and write what you understand from the distribution. 

2. Show categorize BMI by histogram

3. Show the glucose level for diabetes using two way bar graph  method. 

4. Show the triglycerides (mg/dl) in box-plot graph and describe message from graph

N.B

For Checking assumptions (if any)

a. The exercise concerns the association between central obesity, as measured by waist-hip ratio (WHR), and triglyceride (TGL) levels. Both are components of the so-called metabolic syndrome and precursors of diabetes and cardiovascular disease. 

b. Prepare a Word file with answers to each of the following questions. Paste relevant STATA output and graphs into the file to illustrate your points. 

Submit only outputs in pdf file and also commands with separate file

c. Your file should have file name as:-

”your name_your Fathername_stata_assignment_department_year” . 

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme