eha: Event History Analysis

Sampling of risk sets in Cox regression, selections in the Lexis diagram, bootstrapping. Parametric proportional hazards fitting with left truncation and right censoring for common families of distributions, piecewise constant hazards, and discrete models. AFT regression for left truncated and right censored data. Binary and Poisson regression for clustered data, fixed and random effects with bootstrapping.

Install the latest version of this package by entering the following in R:
install.packages("eha")
AuthorGöran Broström [aut, cre]
Date of publication2016-09-21 15:40:57
MaintainerGöran Broström <goran.brostrom@umu.se>
LicenseGPL (>= 2)
Version2.4-4

View on CRAN

Man pages

aftreg: Accelerated Failure Time Regression

aftreg.fit: Parametric proportional hazards regression

age.window: Age cut of survival data

cal.window: Calendar time cut of survival data

check.dist: Graphical goodness-of-fit test

check.surv: Check the integrity of survival data.

coxreg: Cox regression

coxreg.fit: Cox regression

cro: Creates a minimal representation of a data frame.

EV: The EV Distribution

fert: Marital fertility nineteenth century

geome.fit: Constant intensity discrete time proportional hazards

ghq: Gauss-Hermite

glmmboot: Generalized Linear Models with fixed effects grouping

glmmbootFit: Generalized Linear Models with fixed effects grouping

glmmML: Generalized Linear Models with random intercept

glmmML.fit: Generalized Linear Model with random intercept

Gompertz: The Gompertz Distribution

hweibull: The (Cumulative) Hazard Function of a Weibull Distribution

infants: Infant mortality and maternal death, Sweeden 1821-1894.

join.spells: Straighten up a survival data frame

Loglogistic: The Loglogistic Distribution

Lognormal: The Lognormal Distribution

logrye: Rye prices, Scania, southern Sweden, 1801-1894.

ltx: LaTeX printing of coxreg results.

make.communal: Put communals in "fixed" data frame

Makeham: The Gompertz-Makeham Distribution

male.mortality: Male mortality in ages 40-60, nineteenth century

mlreg: ML proportional hazards regression

mort: Male mortality in ages 40-60, nineteenth century

oldmort: Old age mortality, Sundsvall, Sweden, 1860-1880.

Pch: The Piecewise constant hazards (Pch) distribution

perstat: Period statistics

phfunc: Loglihood function of a proportional hazards regression

phreg: Parametric Proportional Hazards Regression

phreg.fit: Parametric proportional hazards regression

piecewise: Piecewise hazards

plot.aftreg: Plots output from an AFT regression

plot.coxreg: Plot method for 'coxreg' objects

plot.hazdata: Plots of survivor functions.

plot.phreg: Plots output from a phreg regression

plot.Surv: Plots of survivor functions.

plot.weibreg: Plots output from a Weibull regression

print.aftreg: Prints aftreg objects

print.coxreg: Prints coxreg objects

print.glmmboot: Prints a 'glmmML' object.

print.glmmML: Prints a 'glmmML' object.

print.phreg: Prints phreg objects

print.risksets: Prints a summary of the content of a set of risk sets.

print.weibreg: Prints weibreg objects

risksets: Finds the compositions and sizes of risk sets

scania: Old age mortality, Scania, southern Sweden, 1813-1894.

summary.aftreg: Prints aftreg objects

summary.coxreg: Prints coxreg objects

summary.glmmboot: Summary of a glmmboot object

summary.glmmML: Summary of a glmmML object

summary.phreg: Prints phreg objects

summary.weibreg: Prints a weibreg object

SurvSplit: Split a survival object at specified durations.

swe07: Swedish population and deaths in ages 61-80, 2007.

table.events: Calculating failure times, risk set sizes and No. of events...

toBinary: Transforms a "survival" data frame into a data frame suitable...

toDate: Convert time in years since "0000-01-01" to a date.

toTime: Calculate duration in years from "0000-01-01" to a given date

weibreg: Weibull Regression

weibreg.fit: Weibull regression

wfunk: Loglihood function of a Weibull regression

Functions

aftreg Man page
aftreg.fit Man page
age.window Man page
cal.window Man page
check.dist Man page
check.surv Man page
coxreg Man page
coxreg.fit Man page
cro Man page
dEV Man page
dgompertz Man page
dllogis Man page
dmakeham Man page
dpch Man page
EV Man page
fert Man page
geome.fit Man page
ghq Man page
glmmboot Man page
glmmbootFit Man page
glmmML Man page
glmmML.fit Man page
Gompertz Man page
hEV Man page
HEV Man page
hgompertz Man page
Hgompertz Man page
hllogis Man page
Hllogis Man page
hlnorm Man page
Hlnorm Man page
hmakeham Man page
Hmakeham Man page
hpch Man page
Hpch Man page
hweibull Man page
Hweibull Man page
infants Man page
join.spells Man page
Llogis Man page
Lnorm Man page
logrye Man page
ltx Man page
make.communal Man page
Makeham Man page
male.mortality Man page
mlreg Man page
mort Man page
oldmort Man page
pch Man page
perstat Man page
pEV Man page
pgompertz Man page
phfunc Man page
phreg Man page
phreg.fit Man page
piecewise Man page
pllogis Man page
plot.aftreg Man page
plot.coxreg Man page
plot.hazdata Man page
plot.phreg Man page
plot.Surv Man page
plot.weibreg Man page
pmakeham Man page
ppch Man page
print.aftreg Man page
print.coxreg Man page
print.glmmboot Man page
print.glmmML Man page
print.phreg Man page
print.risksets Man page
print.weibreg Man page
qEV Man page
qgompertz Man page
qllogis Man page
qmakeham Man page
qpch Man page
rEV Man page
rgompertz Man page
risksets Man page
rllogis Man page
rmakeham Man page
rpch Man page
scania Man page
summary.aftreg Man page
summary.coxreg Man page
summary.glmmboot Man page
summary.glmmML Man page
summary.phreg Man page
summary.weibreg Man page
SurvSplit Man page
swe07 Man page
table.events Man page
toBinary Man page
toDate Man page
toTime Man page
weibreg Man page
weibreg.fit Man page
wfunk Man page

Files

inst
inst/doc
inst/doc/glmmML.pdf
inst/doc/parametric.Rnw
inst/doc/glmmML.Rnw
inst/doc/parametric.pdf
src
src/Makevars
src/expreg.h
src/expnr.f
src/cleanup.f
src/phfun.h
src/weibreg.c
src/martres.f
src/loglik_phexp.c
src/gmlfun.f
src/aftreg.h
src/fun.h
src/getsums.f
src/loglik_phexp.h
src/eha_zeroin.c
src/glmmboot.c
src/glmmb0.c
src/loglik_ph.h
src/frail_ml.c
src/glmmml.h
src/aftregGomp.c
src/eha_fun.c
src/geomsup.f
src/eha_fun.h
src/bfun.c
src/glmmml.c
src/glmmboot.h
src/wfunc.null.f
src/ghq.h
src/fun.c
src/coxfun.h
src/getsums.null.f
src/aftexpreg.c
src/bfun.h
src/wfunc.f
src/sizes.c
src/weibreg.h
src/frail_ml.h
src/loglik_ph.c
src/c2f.c
src/phexpreg.c
src/risk.c
src/weibnr.f
src/coxfun.c
src/expreg.c
src/GB_zeroin.h
src/hazards.f
src/eha_zeroin.h
src/phfun.c
src/sup.c
src/GB_zeroin.c
src/split.f
src/chek.f
src/getHaz.f
src/phreg.c
src/phreg.h
src/sup.h
src/aftreg.c
src/ghq.f
NAMESPACE
data
data/mort.rda
data/oldmort.rda
data/infants.rda
data/logrye.rda
data/fert.rda
data/male.mortality.rda
data/swe07.rda
data/scania.rda
R
R/plot.hazdata.R R/glmmML.R R/summary.glmmML.R R/summary.glmmboot.R R/poisgam.R R/Makeham.R R/phreg.fit.R R/summary.aftreg.R R/make.communal.R R/piecewise.R R/glmmML.fit.R R/plot.surv.R R/toTime.R R/perstat.R R/join.spells.R R/cal.window.R R/print.phreg.R R/SurvSplit.R R/print.pchreg.R R/Gompertz.R R/geome.fit.R R/gompstartRate.R R/phreg.R R/gompregRate.R R/plot.coxreg.R R/print.glmmboot.R R/check.dist.R R/toBinary.R R/translifeExp.R R/aftp0g.R R/aftp1.R R/frail.fit.R R/age.window.R R/gompstartCanonical.R R/weibreg.R R/gompstartAft.R R/check.surv.R R/cumhweibull.R R/print.glmmML.R R/print.risksets.R R/phfunc.R R/gompreg.R R/coxreg.R R/risksets.R R/pchreg.R R/aftreg.R R/toDate.R R/ghq.R R/print.aftreg.R R/plot.hazards.R R/pchreg2.R R/plot.phreg.R R/weibreg.fit.R R/wfunk.R R/ltx.phreg.R R/cro.R R/getHaz.R R/extract.R R/summary.phreg.R R/aftreg.fit.R R/Lognormal.R R/plot.weibreg.R R/print.coxreg.R R/plot.aftreg.R R/Pch.R R/coxreg.fit.R R/ltx.R R/aftp0.R R/summary.weibreg.R R/ltx.coxreg.R R/Extreme_Value.R R/Loglogistic.R R/addMeans.R R/print.weibreg.R R/ltx.aftreg.R R/table.events.R R/summary.coxreg.R R/glmmboot.R R/Weibull.R R/glmmMLBoot.R R/mlreg.R
vignettes
vignettes/parametric.Rnw
vignettes/glmmML.Rnw
vignettes/cluster.bib
MD5
build
build/vignette.rds
DESCRIPTION
ChangeLog
man
man/risksets.Rd man/make.communal.Rd man/male.mortality.Rd man/cal.window.Rd man/summary.glmmboot.Rd man/plot.phreg.Rd man/Loglogistic.Rd man/cro.Rd man/summary.coxreg.Rd man/Pch.Rd man/oldmort.Rd man/mort.Rd man/ghq.Rd man/logrye.Rd man/Gompertz.Rd man/summary.aftreg.Rd man/EV.Rd man/join.spells.Rd man/Makeham.Rd man/ltx.Rd man/aftreg.Rd man/weibreg.Rd man/summary.weibreg.Rd man/glmmML.Rd man/print.coxreg.Rd man/summary.glmmML.Rd man/phfunc.Rd man/phreg.fit.Rd man/print.weibreg.Rd man/glmmboot.Rd man/glmmbootFit.Rd man/print.risksets.Rd man/geome.fit.Rd man/glmmML.fit.Rd man/check.dist.Rd man/piecewise.Rd man/print.glmmML.Rd man/toDate.Rd man/weibreg.fit.Rd man/coxreg.fit.Rd man/wfunk.Rd man/plot.aftreg.Rd man/hweibull.Rd man/fert.Rd man/print.glmmboot.Rd man/mlreg.Rd man/plot.hazdata.Rd man/SurvSplit.Rd man/plot.Surv.Rd man/coxreg.Rd man/scania.Rd man/phreg.Rd man/age.window.Rd man/plot.weibreg.Rd man/swe07.Rd man/perstat.Rd man/print.phreg.Rd man/summary.phreg.Rd man/check.surv.Rd man/print.aftreg.Rd man/aftreg.fit.Rd man/toTime.Rd man/Lognormal.Rd man/infants.Rd man/table.events.Rd man/toBinary.Rd man/plot.coxreg.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.