0% found this document useful (0 votes)
26 views2 pages

MAT 310 Real Analysis - Lecture Series 4

The document discusses countable and uncountable sets, defining countable sets as those that can be matched one-to-one with natural numbers, including examples like the empty set, finite sets, and integers. It also explains properties of countable sets, such as the countable union of countable sets being countable, and provides a proof that the set of real numbers is uncountable. The conclusion emphasizes the distinction between countable and uncountable sets and their implications in set theory.

Uploaded by

justusnyamaiamin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

MAT 310 Real Analysis - Lecture Series 4

The document discusses countable and uncountable sets, defining countable sets as those that can be matched one-to-one with natural numbers, including examples like the empty set, finite sets, and integers. It also explains properties of countable sets, such as the countable union of countable sets being countable, and provides a proof that the set of real numbers is uncountable. The conclusion emphasizes the distinction between countable and uncountable sets and their implications in set theory.

Uploaded by

justusnyamaiamin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

GROUP 4,5,6

CATII: TAKE HOME


STA 316/ STA 318
INSTRUCTION TO CANDIDATES:
 Answer ALL questions from section
 Submit an R Markdown Code
Instructions: You are provided with a dataset (diabetes_study.csv) containing
patient information for a study on diabetes risk factors. The dataset includes the
following variables:
 ID: Unique patient identifier
 Age: Age of the patient in years
 Gender: Male or Female
 BMI: Body Mass Index (kg/m²)
 Glucose: Fasting blood glucose level (mg/dL)
 BloodPressure: Systolic blood pressure (mmHg)
 Diabetes: Diabetes diagnosis (1 = Yes, 0 = No)
Download the dataset here: diabetes_study.csv
Use R to answer the following questions:
Section A: Data Exploration (10 Marks)
1. Load the dataset into R and display the first 10 rows.
2. Provide summary statistics for BMI, Glucose, and BloodPressure (mean,
median, standard deviation, min, max).
3. Check for missing values and describe a strategy for handling them.
Section B: Exploratory Data Analysis (10 Marks)
4. Create a histogram of Glucose levels. Interpret
5. Generate a boxplot comparing BMI across Diabetes status (Yes/No). Interpret.
6. Create a scatter plot showing the relationship between BMI and Glucose
levels.Interpret
Section C: Statistical Analysis (20 Marks)
7. Compute the mean Glucose levels for diabetic and non-diabetic patients.
8. Perform an independent t-test to determine if there is a significant difference
in BMI between diabetic and non-diabetic patients. Report the p-value and
interpret the results.
9. Compute and interpret the correlation between BloodPressure and Glucose
levels.
10.Fit a logistic regression model to predict Diabetes using Age, BMI, Glucose,
and BloodPressure.
11.Interpret the coefficients of the model, focusing on BMI and Glucose.

You might also like