Although several PROCs for linear regression are available in SAS, this course uses PROC GLM, or general linear modeling. This video describes how the PROC GLM code is formulated and how to develop the model statement. Code for simple linear regression is compared with code for multiple linear regression.
- [Instructor] In this movie, I'm just going to talk about … PROC GLM for a little bit because there's a lot to it. … We're not going to run this code just yet. … I have your exercise file open, … named 505_Linear Models 1 and 2. … We aren't going to run this code until the next movie. … I just want to talk a little about PROC GLM code … and SAS in general before we get started on regression. … See this command? … This is what we call simple linear regression, … meaning linear regression … with only one independent variable. … But the thing about SAS is, it really is simple, look at it. … There's almost no code in this command. … We start with PROC GLM, specify the data set, … and then the model statement where we state Y variable … equals X variable. … Here we are saying outcome equals exposure, … or literally, the sleep variable equals … the diabetes variable. … And then the run statement. … But remember, we've used PROC GLM before, a lot. … We used it throughout the part one course. …
Author
Released
4/2/2019- Preparing for linear regression
- Creating plots for testing assumptions
- Linear regression modeling
- Interpreting the linear regression model
- Logistic regression modeling
- Presenting linear and logistic regression models
- Issues in regression
Skill Level Intermediate
Duration
Views
Related Courses
-
Python: Data Analysis
with Michele Vallisneri2h 16m Intermediate -
Analyzing Big Data with Hive
with Ben Sullins1h 53m Intermediate -
Descriptive Healthcare Analytics in R
with Monika Wahi4h 15m Advanced
-
Introduction
-
Introduction to the course1m 52s
-
What you should know3m 2s
-
-
1. Preparing for Linear Regression
-
Basic PROC GLM code3m 7s
-
Reading PROC GLM output5m 56s
-
2. Linear Regression Modeling
-
Linear regression: Round 16m 32s
-
3. Preparing for Logistic Regression
-
Outcome distribution2m 29s
-
Basic PROC LOGISTIC code3m 39s
-
4. Logistic Regression Modeling
-
Logistic regression: Round 15m 52s
-
5. Model Presentation
-
6. Issues in Regression
-
Interaction review6m 56s
-
7. Regression Tips
-
Choosing reference groups5m 10s
-
Conclusion
-
Review of the process2m 50s
-
Next steps5m 40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Basic PROC GLM code