Learn R Programming

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

mets (version 0.2.8)

Analysis of Multivariate Event Times

Description

Implementation of various statistical models for multivariate event history data. Including multivariate cumulative incidence models, and bivariate random effects probit models (Liability models). Also contains two-stage binomial modelling that can do pairwise odds-ratio dependence modelling based marginal logistic regression models. This is an alternative to the alternating logistic regression approach (ALR).

Copy Link

Version

Install

install.packages('mets')

Monthly Downloads

19,799

Version

0.2.8

License

GPL (>= 2)

Maintainer

Klaus K Holst

Last Published

May 13th, 2014

Functions in mets (0.2.8)

aalenfrailty

Aalen frailty model
concordance

Concordance Computes concordance and probandwise concordance
casewise

Estimates the casewise concordance based on Concordance and marginal estimate using prodlim but no testing
prt

Prostate data set
ipw

Inverse Probability of Censoring Weights
mets-package

Analysis of Multivariate Events
mena

Menarche data set
back2timereg

Convert to timereg object
casewise.test

Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
easy.binomial.twostage

Fits two-stage binomial for describing depdendence in binomial data using marginals that are on logistic form using the binomial.twostage funcion, but call is different and easier and the data manipulation is build into the function. Useful in particular for family design data.
fast.reshape

Fast reshape Simple reshape/tranpose of data
npc

For internal use
test.conc

Concordance test Compares two concordance estimates
random.cif

Random effects model for competing risks data
dermalridgesMZ

Dermal ridges data (monozygotic twins)
summary.cor

Summary for dependence models for competing risks
twinlm

Classic twin model for quantitative traits
twinsim

Simulate twin data
blocksample

Block sampling
lifetable.matrix

Life table
twinstut

Stutter data set
printcasewisetest

prints Concordance test
twinbmi

BMI data set
bptwin

Liability model for twin data
twostage

Fits Clayton-Oakes or bivariate Plackett models for bivariate survival data using marginals that are on Cox or addtive form. If clusters contain more than two times, the algoritm uses a compososite likelihood based on the pairwise bivariate models.
np

np data set
Grandom.cif

Additive Random effects model for competing risks data for polygenetic modelling
simClaytonOakesWei

Simulate from the Clayton-Oakes frailty model
fast.approx

Fast approximation
fast.pattern

Fast pattern
migr

Migraine data
cor.cif

Cross-odds-ratio, OR or RR risk regression for competing risks
ClaytonOakes

Clayton-Oakes model with piece-wise constant hazards
simClaytonOakes

Simulate from the Clayton-Oakes frailty model
Dbvn

Derivatives of the bivariate normal cumulative distribution function
plack.cif

plack Computes concordance for or.cif based model, that is Plackett random effects model
dermalridges

Dermal ridges data (families)
binomial.twostage

Fits Clayton-Oakes or bivariate Plackett (OR) models for binary data using marginals that are on logistic form. If clusters contain more than two times, the algoritm uses a compososite likelihood based on all pairwise bivariate models.
simAalenFrailty

Simulate from the Aalen Frailty model
phreg

Fast Cox PH regression
bicomprisk

Estimation of concordance in bivariate competing risks data
easy.twostage

Fits two-stage model for describing depdendence in survival data using marginals that are on cox or aalen form using the twostage funcion, but call is different and easier and the data manipulation build into the function. Useful in particular for family design data.
multcif

Multivariate Cumulative Incidence Function example data set