software

stpm3course (Stockholm 27 September 2024)

Course material A zip file containing the course material can be found here Or you can just download the lecture notes Required software. If you want to run the examples in the lecture notes / examples you will need to install some software in Stata.

Introduction to mlad - a Weibull survival model

mlad

mlad - maximizing likelihood functions using automatic differentiation

mlad maximizes a log-likelihood function where the log-likelihood function is programmed in Python. This enables the gradients and Hessian matrix to be obtained using automatic differentiation and makes better use of multiple CPUs.

Using mlad for interval censored data

mlad

Using mlad for splines on the log hazard scale.

mlad

Numerical Integration for log hazard models

stpm3

Change of scale option

stpm3

Contrasts

stpm3

Extended Functions

stpm3

Factor Variables

stpm3