## FFFK6193 – Computer Based Analysis Using R Studio

Use the notes from here – https://www.slideshare.net/mobile/drtamil/introduction-to-data-analysis-with-r-and-r-studio

Do the following analysis on the data using R Studio then submit your answers via this LINK.

A study to identify factors that can cause small for gestational age (SGA) was conducted. Among the factors studied were the mothers’ body mass index (BMI). It is believed that mothers with lower BMI were of higher risk to get SGA babies.

1. Create a new variable mBMI (Mothers’ Body Mass Index) from the mothers’ HEIGHT (in metre) & WEIGHT (first trimester weight in kg). mBMI = weight in kg/(height in metre)2. Calculate the following for mBMI;

• Mean
• Standard deviation

2. Create a new variable OBESCLAS (Classification of Obesity) from mBMI. Use the following cutoff point;

• <20 = Underweight
• 20 – 24.99 = Normal
• 25 or larger = Overweight

Create a frequency table for OBESCLAS. Copy and paste the table into your Word file.

3. Conduct the appropriate statistical test to test whether there is any association between OBESCLAS (Underweight/Normal/Overweight) and OUTCOME.

Copy and paste the appropriate tables along with the interpretation into your Word file.

4. Conduct the appropriate statistical test to test whether there is any association between BMI and OUTCOME.

Copy and paste the appropriate tables along with the interpretation into your Word file.

5. Conduct the appropriate statistical test to find any association between OBESCLAS (Underweight/Normal/Overweight) and BIRTHWGT.

Copy and paste the appropriate tables along with the interpretation into your Word file.

6. Assuming that both variables mBMI & BIRTHWGT are normally distributed,

• conduct an appropriate statistical test to prove the association between the two variables.
• Demonstrate the association using the appropriate chart. Determine the coefficient of determination.

7. Conduct Simple Linear Regression using BIRTHWGT as the dependent variable. Try to come out with a formula that will predict the baby’s birth weight based on the mother’s BMI.

y = a + bx

Copy and paste the appropriate tables and supporting chart along with the interpretation into your Word file.

Copy all the text (Ctrl-A, Ctrl-C) in the Command window and paste (Ctrl-V) into your Word file.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}