Learn R Programming

⚠️There's a newer version (1.0.7) of this package.Take me there.

tramME (version 1.0.4)

Transformation Models with Mixed Effects

Description

Likelihood-based estimation of mixed-effects transformation models using the Template Model Builder ('TMB', Kristensen et al., 2016) . The technical details of transformation models are given in Hothorn et al. (2018) . Likelihood contributions of exact, randomly censored (left, right, interval) and truncated observations are supported. The random effects are assumed to be normally distributed on the scale of the transformation function, the marginal likelihood is evaluated using the Laplace approximation, and the gradients are calculated with automatic differentiation (Tamasi & Hothorn, 2021) . Penalized smooth shift terms can be defined using 'mgcv'.

Copy Link

Version

Install

install.packages('tramME')

Monthly Downloads

684

Version

1.0.4

License

GPL-2

Maintainer

Balint Tamasi

Last Published

April 4th, 2023

Functions in tramME (1.0.4)

duplicate.tramTMB

Create a duplicate of the tramTMB object
duplicate

Generic for copying objects that are (partly) modified in place
CoxphME

Mixed-effects version of Coxph
LehmannME

Mixed-effects version of Lehmann
anova.tramME

Comparison of nested tramME models.
coef<-.tramME

Set coefficients of a tramME model.
plot.tramME

Plotting method for tramME objects
predict.tramME

Predict method for tramME objects
confint.tramME

Confidence intervals for tramME model parameters
ColrME

Mixed-effects version of Colr
.tramME2ctm

Create a corresponding ctm model for a tramME model
plot.smooth.tramME

Plot smooth terms of a tramME model.
optim_control

Set up and control optimization parameters
predict.tramTMB

Post-estimation calculations in a tramTMB model
model.matrix.tramME

Model matrices for tramME models
LmME

Mixed-effects version of Lm
model.frame.tramME

Extract model frame from a tramME model
print.anova.tramME

Printing anova.tramME table
print.VarCorr.tramME

Print method for the variance-correlation parameters of a tramME object
print.summary.tramME

Print method for tramME model summary
coef.LmME

Extract the coefficients of the fixed effects terms of an LmME model.
print.tramME

Print tramME model
ranef.LmME

Extract the conditional modes of random effects of an LmME model
residuals.tramME

Residuals of a tramME model
coef.SurvregME

Extract the coefficients of the fixed effects terms of an SurvregME model.
logLik.tramME

Get the log-likelihood of the tramME model
edf_smooth.tramME

EDFs of smooth shift terms
PolrME

Mixed-effects version of Polr
confint.LmME

Confidence intervals for LmME model parameters
coef.tramME

Extract the coefficients of the fixed effects terms.
simulate.tramME

Simulate from a tramME model
vcov.tramME

Calculate the variance-covariance matrix of the parameters
smooth_terms.tramME

Extract and evaluate the smooth terms of a tramME model
sigma.LmME

Extract the SD of the error term of an LmME model.
summary.tramME

Summary method for tramME model
ranef.tramME

Point estimates and conditional variances of random effects.
varcov.LmME

Extract the variance-covariance matrix of the random effects of an LmME model
varcov<-

Generic method for "varcov<-"
tramME

General function to define and fit tramME models
variable.names.tramME

Return variable names.
vcov.LmME

Get the variance-covariance matrix of the parameters of an LmME model
tramTMB

Create a tramTMB object
residuals.LmME

Residuals of a LmME model
varcov<-.tramME

Set the values of the random effects covariance matrices of a tramME model.
tramME_model

Create an object that defines a tramME_model
varcov

Generic method for varcov
smooth_terms.LmME

Evaluate smooth terms of a LmME model.
varcov.tramME

Extract the variance-covariance matrix of the random effects
VarCorr.LmME

Variances and correlation matrices of random effects of an LmME object
BoxCoxME

Mixed-effects version of BoxCox
Resp

Response objects
SurvregME

Mixed-effects version of Survreg
VarCorr.tramME

Variances and correlation matrices of random effects