pseval1.3.1 package

Methods for Evaluating Principal Surrogates of Treatment Response

add_bootstrap

Bootstrap resampling parameters

add_estimate

Estimate parameters

add_integration

Integration models

add_riskmodel

Add risk model to a psdesign object

calc_risk

Calculate the risk and functions of the risk

calc_STG

Calculate the Standardized total gain

empirical_TE

Compute the empirical Treatment Efficacy

empirical_VE

Compute the empirical Treatment Efficacy

expand_augdata

Expand augmented data using the integration function

generate_example_data

Generate sample data used for testing

integrate_bivnorm

Bivariate normal integration models for the missing S(1)

integrate_nonparametric

Nonparametric integration model for the missing S(1)

integrate_parametric

Parametric integration model for the missing S(1)

integrate_semiparametric

Semiparametric integration model using the location-scale model

plot.psdesign

Plot summary statistics for a psdesign object

plus-.ps

Modify a psdesign object by adding on new components.

print.psdesign

Concisely print information about a psdesign object

ps_bootstrap

Estimate parameters from a specified model using bootstrap resampling ...

ps_estimate

Estimate parameters from a specified model using estimated maximum lik...

psdesign

Specify a design for a principal surrogate evaluation

pseudo_score

Estimate parameters from a specified model using pseudo-score

risk.logit

Logit link function

risk.probit

Probit link function

risk_binary

Risk model for binary outcome

risk_continuous

Risk model for continuous outcome

risk_exponential

Exponential risk model for time to event outcome

risk_poisson

Poisson risk model for count outcomes

risk_weibull

Weibull risk model for time to event outcome

riskcalc

Calculate risks with handlers for survival data

sp_locscale

Fit the semi-parametric location-scale model

stg

Compute the standardized total gain

summarize_bs

Summarize bootstrap samples

summary.psdesign

Summary method for psdesign objects

TE

Treatment efficacy contrast functions

verify_trt

Check that a variable is suitable for using as binary treatment indica...

wem_test

Test for wide effect modification

Contains the core methods for the evaluation of principal surrogates in a single clinical trial. Provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation summary methods are provided, including print, summary, plot, and testing.

  • Maintainer: Michael C Sachs
  • License: MIT + file LICENSE
  • Last published: 2019-01-28