Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

: BudyFatPercentage ' ' A. h'hlan-hl-HNI L a 11 12 13 14 15 16 17 1s 19 2o 21 22 23 24 25 5'-

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
: BudyFatPercentage ' \ ' A. \\h'hlan-hl-HNI L a 11 12 13 14 15 16 17 1s 19 2o 21 22 23 24 25 5'- ' | 'Tr' Filter BMI FcLFat 19.3033 23.9 22.9542 23.3 273900 32.4 20.91 T4 2 5.3 20.31'34 22.5 20.3352 22.1 19.555 19.5 20.2933 2 5.3 20.5033 22.3 20.3054 25.4 21 .21 33 33.7 22.1 05." 21".9 23.5043 33.5 19.4954 23.4 20.4143 21.3 25.3534 31".9 21 .4??5 31.3 293552 4-0.5 23 .9239 35.3 20.5503 29.3 21 .5?40 31.9 19.2?03 31.3 13.1 T35 21.5 13.4595 241.5 17.0543 20.1 mm high high medium medium medium medium medium high medium medium medium high medium high medium medium medium medium medium medium medium medium high medium medium =E Man a relic Yes Yes Yes Yes N a Yes Yes Yes Yes Yes N a Yes Yes Yes Yes Yes N a Yes Yes N a Yes N a Yes Yes Yes BodyFatPercentage * T Filter BMI Pct_Fat Activity Menarche 26 17.7009 24.6 medium Yes 27 16.6123 18.1 medium No 28 16.9420 22.9 medium Yes 29 18.7744 26.2 medium No 30 18.3869 27.2 medium No 31 17.8625 17.7 high No 32 17.9756 20.8 medium No 33 15.3674 17.5 medium Yes 34 18.8354 21.3 medium Yes 35 15.8201 18.7 medium No 36 17.7127 28.8 medium Yes 37 14.9863 17.1 medium No 38 16.7468 26.2 medium Yes 39 16.4636 20.4 medium No 40 15.8716 19.5 high No 41 18.0788 21.7 medium Yes 42 15.5805 18.1 high No 43 17.1543 29.8 medium No 44 15.8181 20.6 medium No 45 18.6112 22.9 medium Yes 46 16.6625 19.3 high No 47 25.1320 384 medium No 48 20.8334 27.9 medium Yes 49 24.5595 36.4 medium Yes 50 20.1940 25.1 medium YesEl BodyFatPercentage K \\H I ,h' I ? Filter ' nMI Pct_Fat Activity Menarche 51 24.1303 39.? medium No 52 23.8650 33.5 medium Yes 53 33.5654 46.0 low Yes 54 29.1450 33.9 low Yes 55 23.5919 42.2 law No 56 25.1 T49 36.? medium Yes 53' 344610 33.0 low Yes 58 19.0835 23.3 medium Yes 59 23.5403 35.9 medium No 50 20.2405 24.1 medium Yes 51 29.1 1'00 40.3 medium Yes 52 20.84?5 25.? medium No 53 2.6612 37.5 medium Yes 54 30.0?81 35.9 medium Yes 55 2.6121 36.3 medium No 56 24.2981 33.0 medium Yes 5]" 31.321'1r 40.5 medium No 58 24.1429 26.4 medium Yes 59 234981 27.3 medium No 10 24.1'1'91r 32.2 medium Yes M 194615 19.5 medium Yes 12 19.0183 24.5 medium Yes 13 20.193 22.5 medium No 14 20.6894 30.2 medium Yes 3'5 19.1685 26.9 medium Yes =|=| 76 20.7282 30.2 medium Yes 77 16.1438 21.0 low No 78 17.7113 19.4 medium Yes 79 16.0929 21.1 medium Yes 80 16.7395 17.3 medium Yes 81 18.9257 20.5 medium Yes 82 17.2245 19.3 medium Yes 83 18.3838 28.7 medium Yes 84 18.1828 183 medium Yes 85 17.0757 15.6 medium Yes 86 17.6386 23.9 medium Yes 87 18.6891 24.5 medium Yes 88 17.5179 23.3 medium No 16.1198 20.1 medium No 90 18.8322 30.3 low No 91 15.4559 20.6 medium No 92 18.3936 26.0 medium NoSTAT100 Problem Set 2: Exploratory Data Analysis 1 You need to submit a Word document or PDF for this assignment. Make sure you do the following: 1. Upload only one file/document in ELMS for Problem Set 2. 2. Include your name in the document in the upper left-hand corner. Under your name, write STAT 100 and your section number. Write Problem Set 2 centered on the page. 3. Number and letter your answers to the questions accordingly. 4. Carefully read all problems and follow all instructions. 5. Upload the assignment in ELMS before the deadline of Sunday 9/26 at 11:59 PM otherwise it is considered late. Make sure you save your document on your computer or email it to yourself so that you keep an electronic copy- STAT100 Problem Sets need to be completed by students in RStudio. Students should refer to the Tutorial for Problem Set 2 as they are working on this problem set. All Tutorials for Problem Sets can be found in the STAT100 ELMS course under Modules. For this assignment you need to use the BodyFatPercentage.RDoto file, which includes data collected for a study on obesity in adolescent girls. Below is a brief summary of the data set: A medical researcher is studying obesity in adolescent girls. The researcher collected body mass index (BMI), body fat percentage, and other personal variables from 92 adolescent girls. The data collected by the researcher is a random sample representative of the population of all adolescent girls. The following variables were collected: BMI: the body mass index of each girl Pct Fat: the body fat percentage of each girl Activity: the activity level for each girl (high, medium, or low) Menarche: whether the girl has achieved menarche (Yes or No) Problem Set 2 has one question worth 25 points. Read each question carefully and follow all instructions. Please follow these instructions for providing your responses: . For #1.a., 1.b., and 1.c., you need to provide the R code that you use to generate the output or data display and provide the output as displayed in the RStudio Console or the data display as shown in the Zoom window in RStudio. For #1.d. and 1.e., you should type your responses directly in the document you submit for Problem Set 2. You should NOT provide R code or RStudio output for #1.d. and 1.e.1. (25 points) Open the BodyFatPercentage.RDato file in RStudio. You need to create data displays for a variable and answer questions related to the distribution of the variable. a. Generate two tables (one showing frequencies and one showing percentages) to display the distribution of the Activity variable. In the document you upload for this assignment, include: i. the R code you used to generate the two tables, including any comments ii. an image of the tables as shown in the Console of RStudio (NOTE: one table should show frequencies and one table should show percentages) b. Generate a pie chart to display the distribution of the Activity variable. In the document you upload for this assignment, include: i. the R code you used to generate the pie chart, including any comments ii. an image of the pie chart from the window opened by the Zoom button in the Plots section of RStudio. IMPORTANT INSTRUCTIONS: the title of the pie chart MUST include your name. The title MUST read "Pie Chart of Activity Level, created by FirstName LastName". For example, if Prof. Griffin created the pie chart, the title would read "Pie Chart of Activity Level, created by Matt Griffin". c. Generate a bar chart to display the distribution of the Activity variable. In the document you upload for this assignment, include: i. the R code you used to generate the bar chart, including any comments ii. an image of the bar chart from the window opened by the Zoom button in the Plots section of RStudio. IMPORTANT INSTRUCTIONS: the title of the bar chart MUST include your name. The title MUST read "Bar Chart of Activity Level, created by FirstName LastName". For example, if Prof. Griffin created the bar chart, the title would read "Bar Chart of Activity Level, created by Matt Griffin". d. Using the data summarized in the data displays, how many adolescent girls in this study have a medium activity level? Answer in a complete sentence. Using the data summarized in the data displays, do more adolescent girls in this study have a low activity level or a high activity level? Answer in a complete sentence

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Linear Algebra

Authors: Ron Larson, David C Falvo

6th Edition

130517240X, 9781305172401

More Books

Students also viewed these Mathematics questions