Chapter 4 Statistical Code

  • As the baseline, we have already remarked that R statistical code appears in the text, although it does not overwhelm readers via the Show/Hide features that we are using.

  • It will be straight forward to also include Python code in the same fashion.

  • We have a supporting site for statistical code that allows viewers to get more experience analyzying loss data using R.

  • There are a variety of ways of learning coding procedures interactively. One option is Datacamp. In particular, they have developed an R package, Datacamp Light. This allows us to integrate this interactive approach into our authoring system. Here is a link to an online regression tutorial done using this approach. There are a few little technical details but we think these are now ironed out. This is a promising option that will help make the book special.