Found 137 packages in 0.15 seconds
A Collection of R Functions by the Petersen Lab
A collection of R functions that are widely used by the Petersen
Lab. Included are functions for various purposes, including evaluating the
accuracy of judgments and predictions, performing scoring of assessments,
generating correlation matrices, conversion of data between various types,
data management, psychometric evaluation, extensions related to latent
variable modeling, various plotting capabilities, and other miscellaneous
useful functions. By making the package available, we hope to make our
methods reproducible and replicable by others and to help others perform
their data processing and analysis methods more easily and efficiently. The
codebase is provided in Petersen (2025)
Solve Generalized Estimating Equations for Clustered Data
Estimation of generalized linear models with
correlated/clustered observations by use of generalized estimating
equations (GEE). See e.g. Halekoh and Højsgaard, (2005,
Processes Calcium Imaging Data
Identifies the locations of neurons, and estimates their calcium concentrations over time using the SCALPEL method proposed in Petersen, Ashley; Simon, Noah; Witten, Daniela. SCALPEL: Extracting neurons from calcium imaging data. Ann. Appl. Stat. 12 (2018), no. 4, 2430--2456.
Estimate Time Varying Reproduction Numbers from Epidemic Curves
Tools to quantify transmissibility throughout
an epidemic from the analysis of time series of incidence as described in
Cori et al. (2013)
Discrete Distribution Approximations
Creates discretised versions of continuous
distribution functions by mapping continuous values
to an underlying discrete grid, based on a (uniform)
frequency of discretisation, a valid discretisation
point, and an integration range. For a review of
discretisation methods, see
Chakraborty (2015)
Fits Piecewise Constant Models with Data-Adaptive Knots
Implements the fused lasso additive model as proposed in Petersen, A., Witten, D., and Simon, N. (2016). Fused Lasso Additive Model. Journal of Computational and Graphical Statistics, 25(4): 1005-1025.
Partial Separability and Functional Gaussian Graphical Models
Estimates a functional graphical model and a partially separable Karhunen-Loève decomposition for a multivariate Gaussian process. See Zapata J., Oh S. and Petersen A. (2019)
Sample Selection Models
Two-step and maximum likelihood estimation of Heckman-type sample selection models: standard sample selection models (Tobit-2), endogenous switching regression models (Tobit-5), sample selection models with binary dependent outcome variable, interval regression with sample selection (only ML estimation), and endogenous treatment effects models. These methods are described in the three vignettes that are included in this package and in econometric textbooks such as Greene (2011, Econometric Analysis, 7th edition, Pearson).
Wasserstein Regression and Inference
Implementation of the methodologies described in 1) Alexander Petersen, Xi Liu and Afshin A. Divani (2021)
Warping Landmark Configurations
Compute bending energies, principal warps, partial warp scores, and the non-affine component of shape variation for 2D landmark configurations, as well as Mardia-Dryden distributions and self-similar distributions of landmarks, as described in Mitteroecker et al. (2020)