Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab Assignments Part 1: Using Hq_lab1.csv dataset (make sure to import csv. file into R and name the imported data as survey) 1) Calculate mean

Lab Assignments Part 1: Using Hq_lab1.csv dataset (make sure to import csv. file into R and name the imported data as "survey") 1) Calculate mean and sd for variable "Height" by "Sex" (report a) pathway of input data, b) R codes, c) results). 2) Boxplot of "Height" by "Happy", report a) R codes, b) graph (hint: factor "Happy" first), c) number of boxplot Part 2: Create a Table 3.2 in R studio and calculate (keep 4 decimal points for all results) 1) Prevalence of CVD by smoking status 2) Relative ratio of CVD for current smoker compared to nonsmoker 3) Risk difference of CVD between smokers and nonsmokers

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 Statisitcs

Authors: Barry Monk

2nd edition

1259345297, 978-0077836351, 77836359, 978-1259295911, 1259295915, 978-1259292484, 1259292487, 978-1259345296

More Books

Students also viewed these Mathematics questions