Mixed Effects Regression for Linear, Non-Linear and User-Defined Models
Extract Model Coefficients
Extract Model Coefficients
Extract Model Coefficients
Extract Log-Likelihood
Extract Log-Likelihood
Extract Log-Likelihood
merlin - Mixed Effects Regression for Linear, Nonlinear and User-defin...
merlin_util_ap - returns the current estimate of the ith ancillary par...
merlin_util_ap_mod - returns the current estimate of the ith ancillary...
merlin_util_depvar - returns the response variable(s)
merlin_util_ev - returns the observation-level expected value of the o...
merlin_util_ev_deriv - returns the first derivative with respect to ti...
merlin_util_ev_deriv - returns the first derivative with respect to ti...
merlin_util_ev_deriv2 - returns the second derivative with respect to ...
merlin_util_ev_deriv2_mod - returns the second derivative with respect...
merlin_util_ev_integ - returns the integral with respect to time of th...
merlin_util_ev_integ_mod - returns the integral with respect to time o...
merlin_util_ev_mod - returns the observation-level expected value of t...
merlin_util_timevar - returns the time variable
merlin_util_xzb - returns the observation-level complex predictor
merlin_util_xzb_deriv - returns the first derivative with respect to t...
merlin_util_xzb_deriv_mod - returns the first derivative with respect ...
merlin_util_xzb_deriv2 - returns the second derivative with respect to...
merlin_util_xzb_deriv2_mod - returns the second derivative with respec...
merlin_util_xzb_integ - returns the integral with respect to time of t...
merlin_util_xzb_integ_mod - returns the integral with respect to time ...
merlin_util_xzb_mod - returns the observation-level complex predictor ...
Fit multi-level restricted cubic spline model
Fit proportional hazards survival models
predict.merlin - post-estimation tools for merlin
Print merlin Fits
Print mlrcs Fits
Print mlsurv Fits
Summarizing merlin Fits
Summarizing mlrcs Fits
Summarizing mlsurv Fits
Calculate Variance-Covariance Matrix for a merlin Model Object
Calculate Variance-Covariance Matrix for a mlrcs Model Object
Calculate Variance-Covariance Matrix for a mlsurv Model Object
Fits linear, non-linear, and user-defined mixed effects regression models following the framework developed by Crowther (2017) <arXiv:1710.02223>. 'merlin' can fit multivariate outcome models of any type, each of which could be repeatedly measured (longitudinal), with any number of levels, and with any number of random effects at each level. Standard distributions/models available include the Bernoulli, Gaussian, Poisson, beta, negative-binomial, and time-to-event/survival models include the exponential, Gompertz, Royston-Parmar, Weibull and general hazard model. 'merlin' provides a flexible predictor syntax, allowing the user to define variables, random effects, spline and fractional polynomial functions, functions of other outcome models, and any interaction between each of them. Non-linear and time-dependent effects are seamlessly incorporated into the predictor. 'merlin' allows multivariate normal random effects, which are integrated out using Gaussian quadrature or Monte-Carlo integration. Note, 'merlin' is based on the 'Stata' package of the same name, described in Crowther (2018) <arXiv:1806.01615>.