Conduct Sensitivity Analysis with Continuous Exposures and Binary or Continuous Outcomes
A function that returns a permuted vector according to a matrix and pe...
Separable algorithm for threshold attributable effect in a sensitivity...
A helper that takes a gurobi model object outputted from dose_attribut...
Asymptotic sensitivity analysis for weak nulls with continuous exposur...
Computes deviation from uniform distribution in total variation distan...
Inference for general attributable effects in sensitivity analysis wit...
Sharp null monte-carlo sensitivity analysis for continuous exposures a...
Inference for threshold attributable effects in sensitivity analysis w...
Compute average of outcomes above dose threshold minus average of outc...
Compute average of outcomes below dose threshold minus average of outc...
Compute largest dose outcome minus average of other outcomes.
Compute smallest dose outcome minus average of other outcomes.
A function that returns the coefficient from regressing an outcome vec...
Compute weighted sum of outcomes.
Function factory for extract_threshold_effect.
Compute difference in average outcomes above and below a dose threshol...
A function to compute a conservative upper bound on the worst-case exp...
Find the max ratio of probabilities between two permutations.
Find the max ratio of probabilities between two permutations.
Find the max ratio of probabilities between two permutations for each ...
Sharp null sensitivity analysis for continuous exposures and binary ou...
A function to find the maximum and minimum probability of a permutatio...
Statistic based on inner product between transformations of dose and o...
Asymptotic sharp null sensitivity analysis for a class of test statist...
A function for variance estimation
Asymptotic sensitivity analysis for weak nulls with continuous exposur...
Performs sensitivity analysis for the sharp null, attributable effects, and weak nulls in matched studies with continuous exposures and binary or continuous outcomes as described in Zhang, Small, Heng (2024) <doi:10.48550/arXiv.2401.06909> and Zhang, Heng (2024) <doi:10.48550/arXiv.2409.12848>. Two of the functions require installation of the 'Gurobi' optimizer. Please see <https://docs.gurobi.com/current/#refman/ins_the_r_package.html> for guidance.