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.

Author
Göran Broström [aut, cre]
Date of publication
2016-09-21 15:40:57
Maintainer
Göran Broström <goran.brostrom@umu.se>
License
GPL (>= 2)
Version
2.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

Files in this package

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