Publications by Mark Bounthavong

Forest plots in R

31.07.2021

Forest plots Forest plots are useful when summarizing the invidivual impact of studies on the pooled end points for meta analysis or illustrating the influence of coefficients in a regression model. More importantly, they visualize the direction and magnitude of the associations between the individual studies or coefficients on the outcomes. The ...

5037 sym R (2861 sym/6 pcs) 4 img

Confounding and Interaction

22.01.2022

R tutorial using epitools: Confounding and Effect Modification Mark Bounthavong 9/26/2021 Updated on 01/28/2022 ⊕This tutorial is located on RPubs. ⊕The entire R Markdown code is located on my GitHub page Installing and using epitools This tutorial will center around using the R package epitools to understand confounding and interaction in ep...

13712 sym R (16192 sym/64 pcs) 14 img

Logistic Regression in R - Part 2 (Goodness of fit)

17.12.2021

Introduction In a previous article, we discuss how to construct a logistic regression in R (see previous article). However, we did not discuss how to assess whether the logistic regression fit our data well. In this article, we’ll go over some goodness of fit tests to help determine whether the logistic regression model does a good job of fitti...

9355 sym R (19425 sym/75 pcs) 3 img

Logistic Regression in R

05.12.2021

Introduction When you have a binary outcome (Yes/No), you can use a chi square test to compare the differences in proportions across \(n\) number of groups. For instance, if you had two groups (exposed and unexposed) and a binary outcome (event and no event), you can create a 2 x 2 contingency table and use a chi square test to test if there is a...

9598 sym R (14994 sym/55 pcs) 4 img

Visualizing linear regression models - Part 2

10.11.2021

Introduction In a previous article, we discussed how to construct and visualize linear models using R with the lm() command and the predict3d package. In this article, we will build upon our knowledge of the linear model by checking for model fit to the actual data and assessing whether the model’s residuals violate the assumptions. Some of the...

8585 sym R (2904 sym/19 pcs) 2 img

Visualizing Linear Regression Models

29.10.2021

Introduction Linear regression models allow us to determine if changing the values on a variable is associated with the values of another variable. In other words, if I make a 1-unit change in \(X\), how much does Y change? In fact, linear regression is similar to the algebraic equation for a simple line (\(Y = mx + b\), where \(m\) is the slope,...

4434 sym R (3213 sym/17 pcs) 7 img

Sample size estimation and Power analysis in R

30.12.2021

Sample Size Estimation and Power Analysis Mark Bounthavong 12/29/2021 Introduction ⊕This tutorial is available on RPubs Estimating the sample size for a prospective study is one of the first things that researchers do prior to enrolling patients. Doing this exercise helps the researcher to determine if they could feasibly enroll the necessary n...

22030 sym R (7773 sym/45 pcs) 9 img

Linear Regression models using R

28.01.2022

R tutorial on linear regression model Mark Bounthavong 01/28/2022 ⊕This tutorial is located on Rpubs. ⊕The entire R Markdown code is located on my GitHub page. Introduction ⊕We will Use the diabetes.csv data set, which you can download at this location. Linear regression models (also known as “Ordinary Least Squares” model) allow us to ...

17361 sym R (7354 sym/38 pcs) 10 img 5 tbl

Survival analysis in R

10.02.2022

Survival Analysis in R Mark Bounthavong 2/7/2022 ⊕This tutorial is located on RPubs. ⊕The entire R Markdown code is located on my GitHub page ⊕For this tutorial, you will need the following packages: survival, dplyr, psych, survminer, gmodels, and gtsummary. Introduction A dichotomous variable has two outcomes (Yes or No, Survives or Dies, ...

14253 sym R (5529 sym/31 pcs) 3 img 8 tbl