Learn R Programming

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

tramME (version 0.0.4)

Transformation Models with Mixed Effects

Description

Likelihood-based estimation of mixed-effects transformation models using the Template Model Builder (TMB). The technical details of transformation models are given in Hothorn et al. (2018) . 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 (AD).

Copy Link

Version

Install

install.packages('tramME')

Monthly Downloads

684

Version

0.0.4

License

GPL-2

Maintainer

Balint Tamasi

Last Published

February 4th, 2021

Functions in tramME (0.0.4)

.dummy_ctm

Dummy ctm model with random effects as offsets
.check_varcov

Check the validity of a vector of coefficients
BoxCoxME

ME version of tram::BoxCox
plot.tramME

Plotting method for tramME objects
.paridx

Match parameters with parameter groups and indeces
.re_data

Create RE data
ColrME

ME version of tram::Colr
confint.tramME

Confidence intervals for tramME model parameters
predict.tramME

Predict method for tramME objects
varcov

Generic method for varcov
varcov<-

Generic method for "varcov<-"
.re_size

Calculates the size of the random effect vector implied by the model and the data
.re_format

Reshape unformatted random effects vectors
.check_coef

Check the validity of a vector of coefficients
plot.trafo.tramME

Plotting method for trafo.tramME objects
sigma.LmME

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

Get the log-likelihood of the model
coef.tramME

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

Simulate outcome variable from an estimated model
variable.names.tramME

Return variable names.
varcov.tramME

Extract the variance-covariance matrix of the random effects
.tramME

General ME tram model
print.anova.tramME

Printing anova.tramME table
coef.LmME

Extract the coefficients of the fixed effects terms of an LmME model.
.subbars

My own version of lme4::subbar
print.VarCorr.tramME

Print method for the variance-correlation parameters of a tramME object
coef<-.tramME

Set coefficients of a tramME model.
CoxphME

ME version of tram::Coxph
.parallel_default

Boilerplate parallel-handling function, copied from lme4
trafo.tramME

Get the baseline transformation function and its confidence interval
varcov<-.tramME

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

Confidence intervals for LmME model parameters
ranef.LmME

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

Print tramME model
refit.tramME

Refit the model with a new response vector
ranef.tramME

Extract the conditional modes and conditional variances of random effects
.renames

Return names for random effects parameters
.mlt_data

Extract information from an mlt model
.sim_re

Simulates random effects vector from a tramME object
.model_name

Create name for a specific tramME model
LehmannME

ME version of tram::Lehmann
print.simulate.tramME

Print method for simulate.tramME objects
print.summary.tramME

Print method for tramME model summary
trafo

Generic method for extracting baseline transformations
summary.tramME

Summary method for tramME model
vcov.LmME

Get the variance-covariance matrix of the parameters of an LmME model
vcov.tramME

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

Variances and correlation matrices of random effects
anova.tramME

Comparison of nested tramME models.
VarCorr.LmME

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

ME version of tram::Survreg
.nobars

Remove random effects terms
LmME

ME version of tram::Lm
PolrME

ME version of tram::Polr