R for Logistic Regression: Livestream Recording
Channel: Monika Wahi
Date: 2023-09-06

*Note: I may be compensated, but you will not be charged, if you click on the links below.
🔵Download the slides from the lectures in the series here: https://buff.ly/3QMqAh8 
🟠Want to participate in our upcoming free online workshop “Application Basics”? Details are here: https://buff.ly/43SfASM 
🟢Check out all the lectures in the series: https://buff.ly/44AtKZv 

This livestream event was originally recorded on September 5, 2023.

💡 Read about all our online educational resources: https://buff.ly/45amjaQ      
💡 Learn more about online group mentoring program: https://buff.ly/3Sw4Fsa 
💡 Try the “Applications Basics” course 📣 USE DISCOUNT CODE lemon55 FOR 75% OFF REGULAR PRICE! 📣 https://buff.ly/3vyx7Ad
💡 EXCLUSIVE! Download 9-page list of applications terminology with definitions along with flash cards from the course! https://buff.ly/43yEUgT

WANT TO SUPPORT MONIKA ON SOCIAL MEDIA?
🔵Sign up for Monika’s weekly data science e-newsletter: https://buff.ly/2UYW60l 
🟠Follow/connect with Monika on LinkedIn: https://www.linkedin.com/in/dethwench/ 
🟢Try Monika’s courses on LinkedIn Learning: https://linkedin-learning.pxf.io/NKN0JO 
⚫Follow Monika on Twitter: https://twitter.com/dethwench 
🟣Follow Monika on Instagram: https://www.instagram.com/dethwench/?hl=en 
🟤Follow Monika on Facebook: https://www.facebook.com/DWProfSvcs 

💜Intro and outro by CJ Hutchings, recorded exclusively for DPS. Check out more of CJ’s music and art here: https://dethwench.com/cjhutchings/ 
❤️Got too much work? You can hire Ebenezer as YOUR executive assistant, too! He is highly competent and reliable. Contact him here: https://ebdado.netlify.app/ 

Links/Timestamps from Video:
0:51 Why software integration in public health? Why now? And how?
2:15 SAS is great at logistic regression, but here are some pain points R can solve
6:03 Explanation of R GUI vs. RStudio – how they are alike and different
8:03 Typical approach in SAS for logistic regression
8:54 Check out Monika’s LinkedIn Learning courses on study design, and how she applies this approach to both SAS and R: https://buff.ly/3xWjYT7
9:48 What do the slopes mean from the logistic regression equation?
10:57 What’s the difference in approach when moving from SAS to R when doing logistic regression?
12:00 Description of example dataset from BRFSS
12:39 R GUI interface
13:42 How to map R GUI session to a folder with the dataset in it using the menu, and how to import dataset
15:48 Setting up a hypothesis for logistic regression in public health
18:57 Code to express hypothesized equation in R
19:42 Options for model fit statistics in R
20:42 Getting and interpreting the SAS-like output from R
24:18 Turning output into *.csv format and adding an OR and confidence limits on-the-fly!
29:08 Interpreting the same model on the OR scale – public health interpretation!
31:15 What if you have a model with 15 covariates instead of only 3? How do you write about this in the results section?
34:57 Making the coefficient plot with library ARM
40:45 Monika’s “colors in R” blog post: https://buff.ly/3ehoiWo
41:52 Recap of all the steps in the pipeline Monika demonstrated for logistic regression in R
45:00 Monika answers question, “What do you recommend for sample size calculation?”