Learn R Programming

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

dynamichazard (version 0.3.4)

Dynamic Hazard Models using State Space Models

Description

Contains functions that lets you fit dynamic hazard models with binary outcomes using state space models. The methods are originally described in Fahrmeir (1992) and Fahrmeir (1994) . The functions also provide an extension hereof where the Extended Kalman filter is replaced by an Unscented Kalman filter. Models are fitted with the regular coxph() like formula.

Copy Link

Version

Install

install.packages('dynamichazard')

Monthly Downloads

92

Version

0.3.4

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Benjamin Christoffersen

Last Published

June 26th, 2017

Functions in dynamichazard (0.3.4)

get_risk_obj

Get the risk set at each bin over an equal distance grid
get_survival_case_weights_and_data

Static GLM fit for survival models
ddhazard_app

ddhazard demo
ddhazard_boot

ddFixed

Auxiliary functions for fixed effects
ddhazard

Function to fit dynamic discrete hazard models
plot.fahrmeier_94

plot.fahrmeier_94_SpaceErrors

State space error plot
hatvalues.fahrmeier_94

model.frame.ddformula

model.frame and model.matrix for ddformula
print.fahrmeier_94

Print function for ddhazard result
residuals.fahrmeier_94

static_glm

Function to make a static glm fit
predict.fahrmeier_94

print.ddhazard_boot

Summary statistics for a ddhazard_boot object