Ask DBMS Expert


Home >> DBMS

Biostatistics Assignment

This assignment is a computer-based exercise using a teaching dataset downloaded from the "Framingham Heart Study".

Background -

The Framingham heart study is a longitudinal study with the objective to study the aetiology of cardiovascular disease (CVD). This study followed up a large group of participants since 1948 who lived in Framingham, Massachusetts, USA, who were free from CVD at the beginning of the study.  The original cohort contains 5,209 residents aged between 30 and 62.  The participants have been physically examined every other year to collect their medical data as well as having lifestyle interviews.

During the past 69 years, much research has been conducted based on these data. This has considerably advanced our knowledge on identifying major risk factors of CVD. 

For simplicity, we ignore the "longitudinal" element in the original study design. Therefore, all the questions/inferences made in this assignment are confined to this assignment and will not necessarily reflect the "facts" we already know about CVD.

Question 1 -            

1.1) How many records are there in the dataset ("frmgham2.csv")? How many participants are there in the teaching dataset?   Explain why these two numbers are different.

1.2) Create a file that contains only records related to the First Examination ("PERIOD=1") and call it "DATASET1".  How many subjects undergo the first examination?  Note that, all the questions below (from (Q1.2) onward) will be based on "DATASET1" only.

1.3) Design a table with relevant summary/descriptive statistics, stratified by gender ("SEX"), to describe the population enrolled in the first examination.  Write a paragraph (no more than 250 words) to describe the data and any findings from this table. This table should contain the following variables:  "AGE", "BMI","SYSBP", "DIABP", "CURSMOKE", "CIGPDAY", "DIABETES".

Question 2 -

In Q2 we are interested in using the First Examination data ("PERIOD=1" or "DATASET1") to study the relationship between a subject's "BMI" and Hypertension ("PREVHYP").

2.1) Examine the distributions of the variable "BMI" for those who have Hypertension and those who are Hypertension-free using histograms. Include these in your report.  Describe the distribution of this variable.

 2.2) Generate a box and whisker plot of "BMI" for those who have Hypertension and those who are Hypertension-free at First Examination. Include the boxplots in your answer.  Describe different aspects of the box and whisker plot.

2.3) Using the histogram from (2.1) and boxplots from (2.2), state the relationship between Hypertension and BMI?

2.4) Conduct a statistical analysis to study the relationship between having Hypertension and BMI. State your hypotheses and write up your conclusions.

2.5) From your statistical investigation of the relationship between BMI and Hypertension above, can you conclude that Hypertension (or no-hypertension) is induced by high (or low) BMI? Explain your reason.

Question 3 -

In Q3 we are interested in the First Examination data only ("PERIOD=1" or "DATASET1")

Using the values of BMI, one can categorize a subject into "underweight", "normal", "overweight", "obese" (4 groups). Create a new variable "BMIGP" using the definitions below:

  • "BMIGP=1": If one's BMI<18.5, it falls within the underweight range.
  • "BMIGP=2": If one's 18.5≤BMI<25, it falls within the normal range.
  • "BMIGP=3": If one's 25≤BMI<30, it falls within the overweight range.
  • "BMIGP=4": If one's BMI ≥ 30, it falls within the obese range.

3.1)  Display the frequency table of the new variable "BMIGP". Include any missing values on your table if there are any.

3.2) Cross-tabulate variables "BMIGP" with smoking status ("CURSMOKE"). What is the prevalence of smoking in each BMI group? What can you observe from these results in terms of the relationship between Smoking status and BMI?

3.3) Conduct an analysis to study the relationship between smoking status and BMI groups. State your hypotheses and interpret your findings.

Question 4 -

In Q4 we are using the First Examination data only ("PERIOD=1" or "DATASET1") to study the relationship between Systolic Blood Pressure ("SYSBP") and BMI.

4.1)  Use any software to generate a scatterplot of "SYSBP" (on Y-axis) and "BMI" (on X-axis). Include the plot in the report.  Calculate Pearson correlation coefficient.  Use visual inspection as well as Pearson coefficient to describe the relationship between BMI and SYSBP.

4.2) Assume Simple Linear Regression (SLR) analysis is to be used to study the relationship between Systolic BP and BMI.  Treat "BMI" as the independent variable and "SYSBP" as the dependent variable.  

4.2.1) Write down the model/formula of SLR in term of "BMI" and "SYSBP".

4.2.2) State the estimation method used to find the best linear fit of the data.

4.2.3) List the assumptions used behind SLR for SLR to be a valid model for data analysis.

4.2.4) Examine all the assumptions listed in (4.2.3) using "SYSBP/BMI" in "DATASET1". Report whether each assumption has been satisfied or not and justify your answer. Hint: Plot the boxplots of "SYSBP" stratified by "BMIGP" and include these in your report.   These boxplots together with the scatterplot generated in (4.1) may help you to justify some of the assumptions.

4.2.5) Conduct SLR using any computer software.  Write out the estimated regression line. Is the relationship between BMI and Systolic BP statistically significant at the 5% level? Justify your answer.  Use the estimated coefficient(s) to explain the size of effect between BMI and Systolic BP.

Attachment:- Assignment Files.rar

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92298168

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As