You can follow along with the materials in a local installation of R and RStudio on your own computer
You can find the course materials at https://github.com/josiahpjking/sgsss_std_decomp
If you don’t have an R installation, you can follow along with the R practicals in your browser via posit.cloud (free account required) https://posit.cloud/content/12653236
For Stata you’re relying on your own copy
Software
R examples use the DasGuptR package. We (mainly Josiah) wrote this!
Stata examples use the rdecompose command [@liRateDecompositionAggregate2017]. Seems neat!
For obvious reasons we are more familiar with the R version, and so focus on that
For some of the more complex examples we only provide R examples. You (or a friendly LLM) may be able to translate these to Stata