dynamichazard v0.6.4


Monthly downloads



Dynamic Hazard Models using State Space Models

Contains functions that lets you fit dynamic hazard models using state space models. The first implemented model is described in Fahrmeir (1992) <doi:10.1080/01621459.1992.10475232> and Fahrmeir (1994) <doi:10.1093/biomet/81.2.317>. 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.

Functions in dynamichazard

Name Description
get_Q_0 Compute Time-Invariant Covariance Matrix
get_cloud_quantiles Compute Quantile Estimates from Particle Cloud
logLik.ddhazard Log Likelihood of Mean Path of ddhazard Object
plot.PF_EM Plot for a PF_EM Object
plot.ddhazard_space_errors State Space Error Plot
predict.ddhazard Predict Method for ddhazard Object
get_risk_obj Risk Set on an Equidistant Distant Grid
get_cloud_means Compute Mean Estimates from Particle Cloud
print.ddhazard_boot Summary Statistics for a ddhazard_boot Object
residuals.ddhazard Residuals Method for ddhazard Object
logLik.PF_EM Approximate Log-Likelihood from a Particle Filter
hds Hard Drive Failures
plot.ddsurvcurve Create and plot survival curves
get_survival_case_weights_and_data Get data.frame for Discrete Time Survival Models
plot.ddhazard Plots for ddhazard Object
hatvalues.ddhazard Hat Values for ddhazard Object
static_glm Static glm Fit
plot.PF_clouds Plot of Clouds from a PF_clouds Object
print.summary.ddhazard Summarizing Dynamic Hazard Models Fits
ddhazard_app ddhazard Demo
PF_forward_filter Forward Particle Filter
PF_control Auxiliary for Controlling Particle Fitting
PF_get_score_n_hess Approximate Negative Observation Matrix and Score Vector
ddhazard_boot Bootstrap for ddhazard Object
ddhazard_control Auxiliary for Controlling Dynamic Hazard Models
ddhazard Fitting Dynamic Hazard Models
ddFixed Auxiliary Functions for Fixed Effects
PF_EM EM Estimation with Particle Filters and Smoothers
No Results!

Vignettes of dynamichazard

No Results!

Last month downloads


Type Package
License GPL-2
LazyData TRUE
LinkingTo Rcpp, RcppArmadillo, nloptr (>= 1.2.0)
RoxygenNote 6.1.1
VignetteBuilder knitr, R.rsp
BugReports https://github.com/boennecd/dynamichazard/issues
SystemRequirements C++11
URL https://github.com/boennecd/dynamichazard
Encoding UTF-8
NeedsCompilation yes
Packaged 2019-03-11 15:06:08 UTC; boennecd
Repository CRAN
Date/Publication 2019-03-11 16:02:43 UTC

Include our badge in your README