Skip to content

Instantly share code, notes, and snippets.


Klaus K. Holst kkholst

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kkholst on github.
  • I am klausholst ( on keybase.
  • I have a public key ASCGOrpBDugvnX9mmCnPGRO9J_hdSWD4izwroGq-EZVolQo

To claim this, I am signing this object:

View _Data
Collection of public and simulated datasets
View acte.R
acte.sim <- function(a=1,c=0.5,t=0.5,e=1,n=1000) {
m <- lvm() %>%
regression(y1~a1+c+t, value=~a+c+t, latent=~a1+c+t) %>%
regression(y2~a2+c+t, value=~a+c+t, latent=~a2+c+t) %>%
latent(~a1+a2+c+t) %>%
intercept(~y1+y2, value=~mu) %>%
covariance(~y1+y2, value=~ve) %>%
View Epidemiology
Solutions to selected exercises...
ihd: Exercise 2.3
bcg: Exercise 2.4 Mediation exercise
estradiol.R : Mediation exercise