Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- - - title: Project 1 author: Your Name Here format: html: self - contained: true echo: true message: false warning: false error: true
title: "Project
author: "Your Name Here"
format:
html:
selfcontained: true
echo: true
message: false
warning: false
error: true # IMPORTANT NOTE this makes the file render even if there is an error. it is imperative that you check your html document before submission to make sure that it has all results in it
editor: source
This week you will be analyzing data from the Jackson Heart Study JHS You can find the data on Canvas. For full credit, you must include all code chunks and R output backing up your responses.
Import the JHS data; you can download it from Canvas. You need to research how to read a SAS data file into R hint: look into the haven package
r
#install.packagestidyverse
libraryhaven
jhs readsasC:UsersPriya RajahDownloadsanalysissasbdat"
Insert your answer here :)
a Model systolic blood pressure sbp; mmHg as a function of age age; years education HSgrad; noyes and body mass index BMI; kgm Remember to report the resulting model.
r
m glmsbp ~ age HSgrad,
data jhs
family "gaussian"
summarym
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started