Answered step by step
Verified Expert Solution
Link Copied!

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 1"
author: "Your Name Here"
format:
html:
self-contained: 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.**
**0. 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.packages("tidyverse")
library(haven)
jhs <- read_sas("C:\\Users\\Priya Rajah\\Downloads\\analysis1.sas7bdat")
```
Insert your answer here :)
**1a. Model systolic blood pressure (*sbp*; mmHg) as a function of age (*age*; years), education (*HSgrad*; 0=no,1=yes), and body mass index (*BMI*; kg/m2). Remember to report the resulting model.**
```{r}
m1<- glm(sbp ~ age + HSgrad,
data = jhs,
family = "gaussian")
summary(m1)
```

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

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions

Question

What are the dangers of obesity?

Answered: 1 week ago

Question

Explain basic guidelines for effective multicultural communication.

Answered: 1 week ago

Question

Identify communication barriers and describe ways to remove them.

Answered: 1 week ago

Question

Explain the communication process.

Answered: 1 week ago