Learn R Programming

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

eha (version 1.3-4)

Event History Analysis

Description

A package for survival and event history analysis

Copy Link

Version

Install

install.packages('eha')

Monthly Downloads

4,132

Version

1.3-4

License

GPL (>= 3)

Maintainer

Gran Brostrm

Last Published

May 11th, 2011

Functions in eha (1.3-4)

Loglogistic

The Loglogistic Distribution
coxreg

Cox regression
cro

Creates a minimal representation of a data frame.
EV

The EV Distribution
geome.fit

Constant intensity discrete time proportional hazards
Makeham

The Gompertz-Makeham Distribution
check.surv

Check the integrity of survival data.
Lognormal

The Lognormal Distribution
join.spells

Straighten up a survival data frame
print.weibreg

Prints weibreg objects
aftreg.fit

Parametric proportional hazards regression
Gompertz

The Gompertz Distribution
plot.weibreg

Plots output from a Weibull regression
plot.Surv

Plots of survivor functions.
toTime

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

Loglihood function of a Weibull regression
plot.phreg

Plots output from a Weibull regression
plot.hazdata

Plots of survivor functions.
cal.window

Calendar time cut of survival data
print.phreg

Prints phreg objects
phfunc

Loglihood function of a proportional hazards regression
plot.coxreg

Plots of survivor functions.
print.coxreg

Prints coxreg objects
piecewise

Piecewise hazards
weibreg

Weibull Regression
aftreg

Accelerated Failure Time Regression
phreg.fit

Parametric proportional hazards regression
plot.aftreg

Plots output from a Weibull regression
swe07

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

Prints aftreg objects
mlreg

ML proportional hazards regression
hweibull

The (Cumulative) Hazard Function of a Weibull Distribution
make.communal

Put communals in "fixed" data frame
age.window

Age cut of survival data
weibreg.fit

Weibull regression
phreg

Parametric Proportional Hazards Regression
coxreg.fit

Cox regression
toDate

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

Graphical goodness-of-fit test
table.events

Calculating failure times, risk set sizes and No. of events in each risk set
male.mortality

Male mortality in ages 40-60, nineteenth century
risksets

Finds the compositions and sizes of risk sets
perstat

Period statistics
fert

Marital fertility nineteenth century
summary.weibreg

Prints a weibreg object
summary.coxreg

Prints coxreg objects
mort

Male mortality in ages 40-60, nineteenth century
toBinary

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