Publications by Mark Bounthavong

Prepost analysis with continuous data using R - Part 1

26.12.2024

Introduction Motivating example Independent t test Linear regression model Advantages of the linear regression approach Conclusions Disclaimer Prepost analysis with continuous data using R - Part 1 Mark Bounthavong 25 December 2024 Introduction Prepost study design is common in policy research, particularly when we c...

11999 sym R (7612 sym/27 pcs) 8 img 2 tbl

Linear spline (Piecewise) model in Stata

29.10.2024

Introduction Motivating example - Student scores across time Conclusions Acknowledgements Disclaimers Linear Spline (Piecewise) Models in Stata Mark Bounthavong 28 October 2024 Introduction Linear spline (also known as piecewise) models are useful when looking for changes at specific points in time. We can use the Stata comm...

7273 sym Python (12260 sym/11 pcs) 9 img

Tips and Tricks (Guide) - R and RStudio

28.09.2024

Introduction Contents Data Frame and Object Use RStudio instead of R when coding Use the R Script, not the R Console Annotation Packages in R Functions in R Change the theme Turn on “Show line numbers” Summary Disclaimers R and RStudio Tips and Tricks (Guide) ...

8123 sym R (1937 sym/9 pcs) 7 img

Distributions in cost-effectiveness analysis

25.08.2024

Introduction Sensitivity analyses Distributions Selecting the distribution Beta distribution Gamma distribution Log-normal distribution Conclusions References Disclaimers Distributions in cost-effectiveness analysis Mark Bounthavong 25 August 2024 Introduction It is challenging to make the “best” decision when th...

8273 sym R (698 sym/9 pcs) 6 img

Staggered Difference-in-Differences using R

29.07.2024

Introduction Callaway & Sant’Anna staggered DID Motivating example Data generating process (DGP) Visualize treatment adoption patterns Estimate group-time ATT Callaway & Sant’Anna DID estimator Conclusions References Websites Disclaimers and Disclosures Staggered Differe...

10605 sym R (9307 sym/18 pcs) 8 img 1 tbl

Mediation analysis using R

24.06.2024

Introduction Motivating Example Tutorial on Mediation Analysis using MEPS data Conclusions References Acknowledgements Disclaimers Mediation Analysis using R Mark Bounthavong 23 June 2024 Introduction Determining the causal pathway between the “cause” and “effect” is an essential fundamental step to developing a testa...

15936 sym R (6525 sym/17 pcs) 8 img 5 tbl

R - Loading data from Google drive

28.04.2024

Background Install and load libraries. Authenticate Google drive Conclusions Acknowledgements Disclaimer R - Loading data from Google drive Mark Bounthavong 28 April 2024 Background Recently, my colleague contacted me to assist another colleague who was having trouble loading data stored on a Google drive account...

5778 sym R (1519 sym/4 pcs) 9 img

Presentations with R Markdown - Part 3: Font colors

25.03.2024

Introduction Objectives Change font color Transition font color for specific words Combining bullets that fade-in and then transition font colors Conclusion Acknowledgement Work in progress Presentations with R Markdown - Part 3: Changing font colors Mark Bounthavong 25 March 2024 Introduction This is Part ...

3155 sym 5 img

Surival Analysis - Immortal Time Bias in Stata

26.02.2024

Introduction Time-varying covariate Motivating Example: Academic Award Winners versus Control - A study on survival Disclosures and Disclaimers Survival analysis: Handling immortal time bias in Stata Mark Bounthavong 26 February 2024 Introduction Survival analysis allows us to examine th...

9814 sym Python (14286 sym/24 pcs) 9 img

Constructing a Markov Model using Excel: A tutorial

26.01.2024

Introduction Motivating example Step 1: Transition probabilities Step 2: Costs and Payoffs Step 3: Setup the Markov process Step 4: Estimate the expected costs and payoffs Step 5: Discounting Step 6: Markov trace Conclusions Acknowledgement GitHub site Disclaimer Constructing a Mar...

21902 sym 29 img