Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 86 packages in 0.02 seconds

WhatIf — by Katalina Toth, 6 months ago

Software for Evaluating Counterfactuals

Inferences about counterfactuals are essential for prediction, answering what if questions, and estimating causal effects. However, when the counterfactuals posed are too far from the data at hand, conclusions drawn from well-specified statistical analyses become based largely on speculation hidden in convenient modeling assumptions that few would be willing to defend. Unfortunately, standard statistical approaches assume the veracity of the model rather than revealing the degree of model-dependence, which makes this problem hard to detect. 'WhatIf' offers easy-to-apply methods to evaluate counterfactuals that do not require sensitivity testing over specified classes of models. If an analysis fails the tests offered here, then we know that substantive inferences will be sensitive to at least some modeling choices that are not based on empirical evidence, no matter what method of inference one chooses to use. 'WhatIf' implements the methods for evaluating counterfactuals discussed in Gary King and Langche Zeng, 2006, "The Dangers of Extreme Counterfactuals," Political Analysis 14 (2) ; and Gary King and Langche Zeng, 2007, "When Can History Be Our Guide? The Pitfalls of Counterfactual Inference," International Studies Quarterly 51 (March) .

cvcrand — by Hengshi Yu, 3 years ago

Efficient Design and Analysis of Cluster Randomized Trials

Constrained randomization by Raab and Butcher (2001) is suitable for cluster randomized trials (CRTs) with a small number of clusters (e.g., 20 or fewer). The procedure of constrained randomization is based on the baseline values of some cluster-level covariates specified. The intervention effect on the individual outcome can then be analyzed through clustered permutation test introduced by Gail, et al. (1996) . Motivated from Li, et al. (2016) , the package performs constrained randomization on the baseline values of cluster-level covariates and clustered permutation test on the individual-level outcomes for cluster randomized trials.

msdrought — by Ed Maurer, 2 years ago

Seasonal Mid-Summer Drought Characteristics

Characterization of a mid-summer drought (MSD) with precipitation based statistics. The MSD is a phenomenon of decreased rainfall during a typical rainy season. It is a feature of rainfall in much of Central America and is also found in other locations, typically those with a Mediterranean climate. Details on the metrics are in Maurer et al. (2022) .

geeCRT — by Hengshi Yu, a year ago

Bias-Corrected GEE for Cluster Randomized Trials

Population-averaged models have been increasingly used in the design and analysis of cluster randomized trials (CRTs). To facilitate the applications of population-averaged models in CRTs, the package implements the generalized estimating equations (GEE) and matrix-adjusted estimating equations (MAEE) approaches to jointly estimate the marginal mean models correlation models both for general CRTs and stepped wedge CRTs. Despite the general GEE/MAEE approach, the package also implements a fast cluster-period GEE method by Li et al. (2022) specifically for stepped wedge CRTs with large and variable cluster-period sizes and gives a simple and efficient estimating equations approach based on the cluster-period means to estimate the intervention effects as well as correlation parameters. In addition, the package also provides functions for generating correlated binary data with specific mean vector and correlation matrix based on the multivariate probit method in Emrich and Piedmonte (1991) or the conditional linear family method in Qaqish (2003) .

repfdr — by Ruth Heller, 9 years ago

Replicability Analysis for Multiple Studies of High Dimension

Estimation of Bayes and local Bayes false discovery rates for replicability analysis (Heller & Yekutieli, 2014 ; Heller at al., 2015 ).

veccompare — by Jacob Gerard Levernier, 9 years ago

Perform Set Operations on Vectors, Automatically Generating All n-Wise Comparisons, and Create Markdown Output

Automates set operations (i.e., comparisons of overlap) between multiple vectors. It also contains a function for automating reporting in 'RMarkdown', by generating markdown output for easy analysis, as well as an 'RMarkdown' template for use with 'RStudio'.

spatstat.gui — by Adrian Baddeley, 2 years ago

Interactive Graphics Functions for the 'spatstat' Package

Extension to the 'spatstat' package, containing interactive graphics capabilities.

spatstat.utils — by Adrian Baddeley, 12 days ago

Utility Functions for 'spatstat'

Contains utility functions for the 'spatstat' family of packages which may also be useful for other purposes.

spatstat.convert — by Adrian Baddeley, 6 days ago

Extension to 'spatstat' for Converting Data Formats

Extension to the 'spatstat' package, enabling the user to convert spatial data between formats defined in `spatstat' and formats defined in 'sp', 'sf' and 'terra'.

SCCS — by Yonas Ghebremichael Weldeselassie, 2 years ago

The Self-Controlled Case Series Method

Various self-controlled case series models used to investigate associations between time-varying exposures such as vaccines or other drugs or non drug exposures and an adverse event can be fitted. Detailed information on the self-controlled case series method and its extensions with more examples can be found in Farrington, P., Whitaker, H., and Ghebremichael Weldeselassie, Y. (2018, ISBN: 978-1-4987-8159-6. Self-controlled Case Series studies: A modelling Guide with R. Boca Raton: Chapman & Hall/CRC Press) and < https://sccs-studies.info/index.html>.