Learn R Programming

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

eha (version 1.4)

Event History Analysis

Description

A package for survival and event history analysis

Copy Link

Version

Install

install.packages('eha')

Monthly Downloads

2,858

Version

1.4

License

GPL (>= 3)

Maintainer

Gran Brostrm

Last Published

June 26th, 2011

Functions in eha (1.4)

Lognormal

The Lognormal Distribution
EV

The EV Distribution
fert

Marital fertility nineteenth century
aftreg

Accelerated Failure Time Regression
Makeham

The Gompertz-Makeham Distribution
check.surv

Check the integrity of survival data.
aftreg.fit

Parametric proportional hazards regression
cal.window

Calendar time cut of survival data
coxreg

Cox regression
weibreg.fit

Weibull regression
plot.hazdata

Plots of survivor functions.
Gompertz

The Gompertz Distribution
mlreg

ML proportional hazards regression
toBinary

Transforms a "survival" data frame into a data frame suitable for binary (logistic) regression
plot.Surv

Plots of survivor functions.
cro

Creates a minimal representation of a data frame.
oldmort

Old age mortality, Sundsvall, Sweden, 1860-1880.
weibreg

Weibull Regression
summary.coxreg

Prints coxreg objects
risksets

Finds the compositions and sizes of risk sets
Loglogistic

The Loglogistic Distribution
plot.aftreg

Plots output from a Weibull regression
print.phreg

Prints phreg objects
table.events

Calculating failure times, risk set sizes and No. of events in each risk set
print.weibreg

Prints weibreg objects
infants

Infant mortality and maternal death, Sweeden 1821--1894.
make.communal

Put communals in "fixed" data frame
phreg

Parametric Proportional Hazards Regression
male.mortality

Male mortality in ages 40-60, nineteenth century
wfunk

Loglihood function of a Weibull regression
join.spells

Straighten up a survival data frame
print.coxreg

Prints coxreg objects
geome.fit

Constant intensity discrete time proportional hazards
plot.weibreg

Plots output from a Weibull regression
plot.phreg

Plots output from a Weibull regression
coxreg.fit

Cox regression
print.aftreg

Prints aftreg objects
perstat

Period statistics
plot.coxreg

Plots of survivor functions.
phreg.fit

Parametric proportional hazards regression
mort

Male mortality in ages 40-60, nineteenth century
summary.weibreg

Prints a weibreg object
toTime

Calculate duration in years from "0000-01-01" to a given date
age.window

Age cut of survival data
piecewise

Piecewise hazards
phfunc

Loglihood function of a proportional hazards regression
hweibull

The (Cumulative) Hazard Function of a Weibull Distribution
swe07

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

Convert time in years since "0000-01-01" to a date.
check.dist

Graphical goodness-of-fit test