Learn R Programming

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

mets (version 1.1.0)

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

1.1.0

License

GPL (>= 2)

Maintainer

Klaus Holst

Last Published

February 16th, 2015

Functions in mets (1.1.0)

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.
twinlm

Classic twin model for quantitative traits
simAalenFrailty

Simulate from the Aalen Frailty model
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.
dermalridgesMZ

Dermal ridges data (monozygotic twins)
aalenfrailty

Aalen frailty model
migr

Migraine data
mena

Menarche data set
npc

For internal use
plack.cif

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

Simulate twin data
twinstut

Stutter data set
mets-package

Analysis of Multivariate Events
fast.approx

Fast approximation
bicomprisk

Estimation of concordance in bivariate competing risks data
fast.reshape

Fast reshape Simple reshape/tranpose of data
Dbvn

Derivatives of the bivariate normal cumulative distribution function
printcasewisetest

prints Concordance test
test.conc

Concordance test Compares two concordance estimates
bptwin

Liability model for twin data
tetrachoric

Estimate parameters from odds-ratio
divide.conquer

Split a data set and run function
np

np data set
random.cif

Random effects model for competing risks data
biprobit

Bivariate Probit model
fast.pattern

Fast pattern
ClaytonOakes

Clayton-Oakes model with piece-wise constant hazards
divide.conquer.timereg

Split a data set and run function from timereg and aggregate
concordance

Concordance Computes concordance and probandwise concordance
Event

Event history object
phreg

Fast Cox PH regression
Grandom.cif

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

Multivariate Cumulative Incidence Function example data set
dermalridges

Dermal ridges data (families)
casewise.test

Estimates the casewise concordance based on Concordance and marginal estimate using timereg and performs test for independence
blocksample

Block sampling
twinbmi

BMI data set
simClaytonOakes

Simulate from the Clayton-Oakes frailty model
lifetable.matrix

Life table
ipw

Inverse Probability of Censoring Weights
cor.cif

Cross-odds-ratio, OR or RR risk regression for competing risks
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.
back2timereg

Convert to timereg object
casewise

Estimates the casewise concordance based on Concordance and marginal estimate using prodlim but no testing
twin.clustertrunc

Estimation of twostage model with cluster truncation in bivariate situation
summary.cor

Summary for dependence models for competing risks
simClaytonOakesWei

Simulate from the Clayton-Oakes frailty model
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.
prt

Prostate data set
survpois

Extract survival estimates from lifetable analysis