PF_EM
and can be estimated with model = "exponential"
.ddhazard
objects are no longer degenerate (e.g., in the case where a second order random walk is used). Instead the dimension is equal to the dimension of the error term.PF_EM
has been moved from the control
list. Further, there is a PF_control
which should preferably be used to construct the object for the control
argument of PF
.static_glm
.PF_EM
uses \(Q_0\) instead of \(Q\) for the artificial prior and a bug have been fixed for sampling in the initial state in the backward filter. This have changed the output.PF_EM
with seed argument. The new way to get reproducible is to call f1 <- PF_EM(...); .GlobalEnv$.Random.seed" <- f1$seed; f2 <- eval(f1$call)
kinda as in simulate.lm
.model
argument to ddhazard
should be changed from "exp_bin"
, "exp_clip_time"
or "exp_clip_time_w_jump"
to "exponential"
.glm
is used to find the first state vector.ddhazard
control argument is changed.The following has been changed or added:
get_risk_obj
when is_for_discrete_model = TRUE
in the call. The issue was that individuals who were right censored in the middle of an interval were included despite that we do not know that they survive the entire interval. This will potentially affect the output for logit fits with ddhazard
.ddhazard_boot
now provides the option of different learning rates to be used rather than one if the first fit succeeds.ddhazard
with control = list(criteria = "delta_likeli", ...)
. The relative change in coefficient seems “preferable” as a default since it tends to not converge when the fit is has large “odd” deviation due to a few observations. The likelihood method though stops earlier for model does not have such deviation.ddhazard
.hatvalues
method for ddhazard
. These described “ddhazard” vignette and examples of usage are shown the vignette “Diagnostics”.residuals
method and a vignette “Diagnostics” with examples of usage of the residuals
function.rug
call in the shiny app demo, fixed a bug with the simulation function for the logit model and added the computation time of the estimation to the output.ddhazard
with control = list(use_pinv = FALSE, ...)
.exp_combined
method.The following have been added:
weights
argument when calling ddhazard
.ddhazard_boot
. See the new vignette ‘Bootstrap_illustration’ for details.print
is added.