Learn R Programming

coxed (version 0.3.3)

Duration-Based Quantities of Interest for the Cox Proportional Hazards Model

Description

Functions for generating, simulating, and visualizing expected durations and marginal changes in duration from the Cox proportional hazards model as described in Kropko and Harden (2017) and Harden and Kropko (2018) .

Copy Link

Version

Install

install.packages('coxed')

Monthly Downloads

625

Version

0.3.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Kropko, Jonathan

Last Published

August 2nd, 2020

Functions in coxed (0.3.3)

bootcov2

Boostrapping algorithm for coxed
coxed.gam.tvc

Predict expected durations using the GAM method with time-varying covariates
baseline.plot

Plot the simulated baseline functions
coxed

Expected durations and marginal changes in expected duration from the Cox proportional hazards model
bca

Bias-corrected and accelerated confidence intervals
baseline.build

Generate simulated baseline hazard, cumulative hazard, survival, failure PDF, and failure CDF functions
coxed-package

Duration-Based Quantities of Interest and Simulation Methods for the Cox Proportional Hazards Model
coxed.gam

Predict expected durations using the GAM method
boxsteffensmeier

Data from "A Dynamic Analysis of The Role of War Chests in Campaign Strategy" by Janet M. Box-Steffensmeier
rank.predict

Generate predicted ranks for new observations given a new covariate profile
make.margeffect

Calculating a simulated marginal effect
data.plot

Plot the histograms of simulated data
summary.coxedExpdur

The mean or median expected duration
generate.lm

Generate simulated durations using a baseline survivor function and proportional hazards
sim.survdata

Simulating duration data for the Cox proportional hazards model
summary.coxedMargin

Marginal changes in expected duration
user.baseline

Calculating baseline functions from a user-specified baseline hazard function
survsim.plot

Plot the simulated baseline functions and histograms of simulated data
coxed.npsf.tvc

Predict expected durations using the GAM method with time-varying covariates
censor.x

Generate right-censoring to be dependent on the data
coxed.npsf

Predict expected durations using the GAM method
martinvanberg

Data from "Wasting Time? The Impact of Ideology and Size on Delay in Coalition Formation" by Lanny W. Martin and Georg Vanberg