R
RStan
library(rstan)
options(mc.cores = parallel::detectCores())
StanModel = stan_model(model_code = model)
fit = sampling(
StanModel
,data = d
,init = init
,control = list(
adapt_delta = 0.999
,max_treedepth = 20
)
,iter = 5000
)
expose
Diagnostics for Pharmacometric Models • xpose - GitHub Pages
general
text_order = paste('
text1
',
object1
,'
text2
',
object2
,'
text3
',sep = "")
eval(parse(text=text_order))
Python
Numpy/Pandas
'Under construction'
PyStan
'Under construction'
Sympy
from sympy import *
init_printing()
x, mu_i = var('x mu_i')
mu = symbols('mu')
sigma, omega = symbols('sigma omega', positive=True, real=True)
integrate(pdf,(mu,-oo,oo))
STAN
'Under construction'
NONMEM
'Under construction'
Comments
Post a Comment