Package: clarify 0.2.1
clarify: Simulation-Based Inference for Regression Models
Performs simulation-based inference as an alternative to the delta method for obtaining valid confidence intervals and p-values for regression post-estimation quantities, such as average marginal effects and predictions at representative values. This framework for simulation-based inference is especially useful when the resulting quantity is not normally distributed and the delta method approximation fails. The methodology is described in King, Tomz, and Wittenberg (2000) <doi:10.2307/2669316>. 'clarify' is meant to replace some of the functionality of the archived package 'Zelig'; see the vignette "Translating Zelig to clarify" for replicating this functionality.
Authors:
clarify_0.2.1.tar.gz
clarify_0.2.1.zip(r-4.5)clarify_0.2.1.zip(r-4.4)clarify_0.2.1.zip(r-4.3)
clarify_0.2.1.tgz(r-4.4-any)clarify_0.2.1.tgz(r-4.3-any)
clarify_0.2.1.tar.gz(r-4.5-noble)clarify_0.2.1.tar.gz(r-4.4-noble)
clarify_0.2.1.tgz(r-4.4-emscripten)clarify_0.2.1.tgz(r-4.3-emscripten)
clarify.pdf |clarify.html✨
clarify/json (API)
NEWS
# Install 'clarify' in R: |
install.packages('clarify', repos = c('https://iqss.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/iqss/clarify/issues
Last updated 5 months agofrom:ab7e624ba3. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win | OK | Sep 27 2024 |
R-4.5-linux | OK | Oct 27 2024 |
R-4.4-win | OK | Oct 27 2024 |
R-4.4-mac | OK | Oct 27 2024 |
R-4.3-win | NOTE | Oct 27 2024 |
R-4.3-mac | NOTE | Oct 27 2024 |
Exports:misimsimsim_adrfsim_amesim_applysim_setx
Dependencies:backportsBHcheckmatechkclicolorspacedata.tablefansifarvergenericsggplot2gluegtableinsightisobandlabelinglatticelifecyclemagrittrmarginaleffectsMASSMatrixmgcvmunsellmvnfastnlmepbapplypillarpkgconfigR6RColorBrewerRcppRcppArmadilloRcppEigenrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Simulate model coefficients after multiple imputation | misim |
Plot marginal predictions from 'sim_adrf()' | plot.clarify_adrf |
Plotting and inference for 'clarify_est' objects | confint.clarify_est plot.clarify_est summary.clarify_est |
Plot marginal predictions from 'sim_setx()' | plot.clarify_setx |
Simulate model parameters | sim |
Compute an average dose-response function | print.clarify_adrf sim_adrf |
Compute average marginal effects | print.clarify_ame sim_ame |
Apply a function to simulated parameter values | sim_apply |
Compute predictions and first differences at set values | print.clarify_setx sim_setx |
Transform and combine 'clarify_est' objects | cbind.clarify_est transform.clarify_est |