0% Plagiarism Guaranteed & Custom Written

Get a general overview of the data using the describe command- this describes all of the data. How many observations and variables are in this data set? (Paste the first few lines of the output).

01 / 10 / 2021 Others

This paper circulates around the core theme of Get a general overview of the data using the describe command- this describes all of the data. How many observations and variables are in this data set? (Paste the first few lines of the output). together with its essential aspects. It has been reviewed and purchased by the majority of students thus, this paper is rated 4.8 out of 5 points by the students. In addition to this, the price of this paper commences from £ 99. To get this paper written from the scratch, order this assignment now. 100% confidential, 100% plagiarism-free.

Epidemiology home of Stata version 14

  1. Get a general overview of the data using the describe command- this describes all of the data. How many observations and variables are in this data set? (Paste the first few lines of the output).
  1. Report the mean and standard deviation of participants’ age for exams 1, 2, and 3 (using variables age1, age2, age3). Round to the nearest tenth. Paste the output from your results window.
  1. What is the median age of the participants from exam 1 (50% percentile)? Paste the output from your results window.
  1. Use the ‘tab’ command to tabulate the variable death (death indicator) and angina (Incident angina pectoris).
  1. Of the individuals who died, how many of them had an incidence of angina pectoris? Paste the output from your results window.
  1. Of the individuals who had incidences of angina pectoris, what is the percentage of individuals who are living and what is the percentage of individuals who died?(HINT: use the ‘tab’ command and add an additional command to get the row percentages and frequencies).
  1. According to the American Heart Association, the following is a chart categorizing diastolic blood pressure levels (mm HG):
Blood Pressure CategoryDiastolic mm HG (lower #)
NormalLess than 80
Prehypertension80-89
High Blood Pressure (Hypertension) Stage 190-99
High Blood Pressure (Hypertension) Stage 2100 or higher
Hypertensive Crisis (Emergency care needed)Higher than 110

Source: Diastolic Blood Pressure Chart (American Heart Association- AHA)

Using the diabp1 variable, create a new variable for the above categories for diastolic blood pressure. (Hint: use the generate and replace commands we learned in class).  Tabulate and record the number of individuals in each category.  Paste the final table below of your new categorical variable.

  1. All of the graph options in Stata are located in the Graphics
  1. Create a histogram for BMI (using variable bmi1), indicating the frequency on the y-axis. Paste the histogram here.
  1. Generate a new 0/1 indicator variable for sex at first visit (e.g. generate a variable where the value is 1 for women and 0 for men.) Create a 2×2 table of the previous sex variable (sex1) and your new sex variable to show that it was created correctly. Paste the output here.
  1. Re create your histogram for BMI (using variable bmi1), indicating the frequency on the y-axis, this time only for females. Paste the histogram here.
  1. Create a box plot for the diastolic blood pressure variable (diabp1). Now add the variable stroke as a grouping variable and paste the final box plot.


International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

Company # 11483120

Benefits You Get

  • Free Turnitin Report
  • Unlimited Revisions
  • Installment Plan
  • 24/7 Customer Support
  • Plagiarism Free Guarantee
  • 100% Confidentiality
  • 100% Satisfaction Guarantee
  • 100% Money-Back Guarantee
  • On-Time Delivery Guarantee
FLAT 50% OFF ON EVERY ORDER. Use "FLAT50" as your promo code during checkout