Skip to contents

Propensity Scores

calc_prop_scr()
Create a Propensity Score Object
trim_ps()
Trim a prop_scr object
rescale_ps()
Rescale a prop_scr object
tidy(<prop_scr>)
Tidy a(n) prop_scr object
is_prop_scr()
Test If Propensity Score Object

Power Prior

calc_power_prior_beta()
Calculate Power Prior Beta
calc_power_prior_norm()
Calculate Power Prior Normal
calc_power_prior_weibull()
Calculate Power Prior Weibull

Robustify

robustify_mvnorm()
Robustify Multivariate Normal Distributions
robustify_norm()
Robustify Normal Distributions

Posterior

calc_post_beta()
Calculate Posterior Beta
calc_post_norm()
Calculate Posterior Normal
calc_post_weibull()
Calculate Posterior Weibull

Simulation

bootstrap_cov()
Bootstrap Covariate Data
calc_cond_binary()
Calculate Conditional Drift and Treatment Effect for Binary Outcome Models
inv_logit()
Inverse Logit Function
sim_accrual()
Simulate Participant Accrual Times
sim_weib_ph()
Simulate Event Times for Each Participant from a Weibull Proportional Hazards Regression Model
sim_pw_const_haz()
Simulate Event Times for Each Individual from a Piecewise Constant Hazard Model
calc_cond_weibull()
Calculate Conditional Drift and Treatment Effect for Time-to-Event Outcome Models
calc_study_duration()
Calculate the Analysis Time Based on a Target Number of Events and/or Target Follow-up Time

Visualisation

prop_scr_cloud()
Propensity Score Cloud Plot
prop_scr_dens()
Density of the Propensity Score Object
prop_scr_hist()
Histogram of the Propensity Score Object
prop_scr_love()
Love Plot of the Absolute Standardized Mean Differences
plot_dist()
Plot Distribution
sweet_spot_plot()
Create Sweet Spot Plots for Multiple Simulation Scenarios

Utility

mix_means()
Extract Means of Mixture Components
mix_sigmas()
Extract Standard Deviations of Mixture Components
avg_dist()
Calculate Average Distribution from Multiple Distributional Objects
approx_mvn_at_time()
Approximate Multivariate Normal Distribution as Beta at a Specific Time
beastt-package beastt
The 'beastt' package.

Data

ex_binary_df
External Binary Control Data for Propensity Score Balancing
ex_norm_df
External Normal Control Data for Propensity Score Balancing
ex_tte_df
External Time-to-Event Control Data for Propensity Score Balancing
int_binary_df
Internal Binary Data for Propensity Score Balancing
int_norm_df
Internal Normal Data for Propensity Score Balancing
int_tte_df
Internal Time-to-Event Control Data for Propensity Score Balancing
binary_sim_df
Binary Simulation Data
tte_sim_df
Time-to-Event Simulation Data