Package: tramME 1.0.6

Balint Tamasi

tramME:Transformation Models with Mixed Effects

Likelihood-based estimation of mixed-effects transformation models using the Template Model Builder ('TMB', Kristensen et al., 2016) <doi:10.18637/jss.v070.i05>. The technical details of transformation models are given in Hothorn et al. (2018) <doi:10.1111/sjos.12291>. 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) <doi:10.32614/RJ-2021-075>. Penalized smooth shift terms can be defined using 'mgcv'.

Authors:Balint Tamasi [aut, cre], Torsten Hothorn [ctb]

tramME_1.0.6.tar.gz
tramME_1.0.6.tar.gz(r-4.5-noble)tramME_1.0.6.tar.gz(r-4.4-noble)
tramME_1.0.6.tgz(r-4.4-emscripten)tramME_1.0.5.tgz(r-4.3-emscripten)
tramME.pdf |tramME.html
tramME/json (API)
NEWS

# InstalltramME in R:
install.packages('tramME',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/ctm

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

17 exports 0.09 score 32 dependencies 268 downloads

Last updated 3 days agofrom:49252f7a75

Exports:BoxCoxMEColrMECoxphMEedf_smoothLehmannMELmMEoptim_controlPolrMEranefRespsmooth_termsSurvregMEtramMEtramTMBVarCorrvarcovvarcov<-

Dependencies:alabamabasefunBBcodetoolsconeprojFormulalatticeMASSMatrixmgcvmltmultcompmvtnormnlmenloptrnumDerivorthopolynompolynomquadprogrbibutilsRcppRcppArmadilloRcppEigenRdpackreformulassandwichsurvivalTH.dataTMBtramvariableszoo

Examples in statistical ecology

Rendered frommixed-effects-additive-models.Rnwusingknitr::knitron Jul 03 2024.

Last update: 2023-04-04
Started: 2022-04-12

R Journal 2021

Rendered fromRJ-2021-075.Rnwusingknitr::knitron Jul 03 2024.

Last update: 2024-07-03
Started: 2022-04-12

Readme and manuals

Help Manual

Help pageTopics
Comparison of nested tramME models.anova.tramME
Non-normal (Box-Cox-type) Linear Mixed-effects Additive Regression ModelBoxCoxME
Extract the coefficients of an 'LmME' modelcoef.LmME
Extract the coefficients of the fixed effects terms of an SurvregME model.coef.SurvregME
Extract the coefficients of a 'tramME' modelcoef.tramME
Set coefficients of a tramME model.coef<-.tramME
Mixed-effects Additive Continuous Outcome Logistic Regression ModelColrME
Confidence intervals and bands from a 'tramME' modelconfband.tramME
Confidence intervals for LmME model parametersconfint.LmME
Confidence intervals for tramME model parametersconfint.tramME
Mixed-effects Additive Parametric Cox Regression ModelCoxphME
EDFs of smooth shift termsedf_smooth edf_smooth.tramME
Mixed-effects Additive Lehmann-alternative Linear Regression ModelLehmannME
Mixed-effects Additive Normal Linear Regression ModelLmME
Get the log-likelihood of the tramME modellogLik.tramME
Extract model frame from a tramME modelmodel.frame.tramME
Model matrices for 'tramME' modelsmodel.matrix.tramME
Set up and control optimization parametersoptim_control
Plot confidence bands from 'tramME' modelsplot.confband.tramME plot_ci
Plot smooth terms of a tramME model.plot.smooth.tramME
Plotting method for tramME objectsplot.tramME
Mixed-effects Additive Transformation Models for Ordered Categorical ResponsesPolrME
Predict method for tramME objectspredict.tramME
Post-estimation calculations in a tramTMB modelpredict.tramTMB
Printing 'anova.tramME' tableprint.anova.tramME
Print method for tramME model summaryprint.summary.tramME
Print tramME modelprint.tramME
Print method for the variance-correlation parameters of a tramME objectprint.VarCorr.tramME
Extract the conditional modes of random effects of an LmME modelranef.LmME
Point estimates and conditional variances of random effects.ranef ranef.tramME
Residuals of a LmME modelresiduals.LmME
Residuals of a tramME modelresiduals.tramME
Response objectsformat.Resp is.na.Resp length.Resp print.Resp R.Resp Resp [.Resp
Extract the SD of the error term of an LmME model.sigma.LmME
Simulate from a 'tramME' modelsimulate.tramME
Evaluate smooth terms of a 'LmME' model.smooth_terms.LmME
Extract and evaluate the smooth terms of a tramME modelsmooth_terms smooth_terms.tramME
Summary method for tramME modelsummary.tramME
Mixed-effects Additive Parametric Survival ModelsSurvregME
Mixed-effects Additive transformation modelstramME
Create a tramTMB objecttramTMB
Variances and correlation matrices of random effects of an LmME objectVarCorr.LmME
Variances and correlation matrices of random effectsVarCorr VarCorr.tramME
Generic method for 'varcov'varcov
Extract the variance-covariance matrix of the random effects of an LmME modelvarcov.LmME
Extract the variance-covariance matrix of the random effectsvarcov.tramME
Generic method for '"varcov<-"'varcov<-
Set the values of the random effects covariance matrices of a tramME model.varcov<-.tramME
Return variable names.variable.names.tramME
Get the variance-covariance matrix of the parameters of an LmME modelvcov.LmME
Calculate the variance-covariance matrix of the parametersvcov.tramME