Learn R Programming

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

dynamichazard (version 0.6.2)

Dynamic Hazard Models using State Space Models

Description

Contains functions that lets you fit dynamic hazard models using state space models. The first implemented model is described in Fahrmeir (1992) and Fahrmeir (1994) . Extensions hereof are available where the Extended Kalman filter is replaced by an unscented Kalman filter and other options including particle filters. The implemented particle filters support more general state space models.

Copy Link

Version

Install

install.packages('dynamichazard')

Monthly Downloads

92

Version

0.6.2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Benjamin Christoffersen

Last Published

January 10th, 2019

Functions in dynamichazard (0.6.2)

static_glm

Static glm Fit
get_Q_0

Compute Time-Invariant Covariance Matrix
plot.PF_EM

Plot for a PF_EM Object
PF_control

Auxiliary for Controlling Particle Fitting
plot.PF_clouds

Plot of Clouds from a PF_clouds Object
hatvalues.ddhazard

Hat Values for ddhazard Object
hds

Hard Drive Failures
PF_EM

EM Estimation with Particle Filters and Smoothers
plot.ddhazard

Plots for ddhazard Object
plot.ddhazard_space_errors

State Space Error Plot
ddhazard_app

ddhazard Demo
get_risk_obj

Risk Set on an Equidistant Distant Grid
plot.ddsurvcurve

Create and plot survival curves
get_survival_case_weights_and_data

Get data.frame for Discrete Time Survival Models
print.ddhazard_boot

Summary Statistics for a ddhazard_boot Object
residuals.ddhazard

Residuals Method for ddhazard Object
predict.ddhazard

Predict Method for ddhazard Object
ddhazard

Fitting Dynamic Hazard Models
ddhazard_control

Auxiliary for Controlling Dynamic Hazard Models
get_cloud_means

Compute Mean Estimates from Particle Cloud
PF_forward_filter

Forward Particle Filter
logLik.PF_EM

Approximate Log-Likelihood from a Particle Filter
get_cloud_quantiles

Compute Quantile Estimates from Particle Cloud
ddhazard_boot

Bootstrap for ddhazard Object
logLik.ddhazard

Log Likelihood of Mean Path of ddhazard Object
ddFixed

Auxiliary Functions for Fixed Effects
print.summary.ddhazard

Summarizing Dynamic Hazard Models Fits