Showing 17 of total 17 results (show query)
l-ramirez-lopez
prospectr:Miscellaneous Functions for Processing and Sample Selection of Spectroscopic Data
Functions to preprocess spectroscopic data and conduct (representative) sample selection/calibration sampling.
Maintained by Leonardo Ramirez-Lopez. Last updated 14 days ago.
chemometricsderivativesinfrarednear-infrarednirpedometricspreprocessingresamplesamplingsignalsoil-spectroscopyspectroscopyopenblascppopenmp
42 stars 10.22 score 326 scripts 4 dependentsalarm-redist
redist:Simulation Methods for Legislative Redistricting
Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements the SMC algorithm of McCartan and Imai (2023) <doi:10.1214/23-AOAS1763>, the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020) <doi:10.1080/2330443X.2020.1791773>, the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) <doi:10.1080/10618600.2020.1739532>, the Merge-split/Recombination algorithms of Carter et al. (2019) <arXiv:1911.01503> and DeFord et al. (2021) <doi:10.1162/99608f92.eb30390f>, and the Short-burst optimization algorithm of Cannon et al. (2020) <arXiv:2011.02288>.
Maintained by Christopher T. Kenny. Last updated 2 months ago.
geospatialgerrymanderingredistrictingsamplingopenblascppopenmp
69 stars 9.18 score 259 scriptshopkinsidd
phylosamp:Sample Size Calculations for Molecular and Phylogenetic Studies
Implements novel tools for estimating sample sizes needed for phylogenetic studies, including studies focused on estimating the probability of true pathogen transmission between two cases given phylogenetic linkage and studies focused on tracking pathogen variants at a population level. Methods described in Wohl, Giles, and Lessler (2021) and in Wohl, Lee, DiPrete, and Lessler (2023).
Maintained by Justin Lessler. Last updated 2 years ago.
12 stars 6.65 score 25 scriptsbafuentes
rassta:Raster-Based Spatial Stratification Algorithms
Algorithms for the spatial stratification of landscapes, sampling and modeling of spatially-varying phenomena. These algorithms offer a simple framework for the stratification of geographic space based on raster layers representing landscape factors and/or factor scales. The stratification process follows a hierarchical approach, which is based on first level units (i.e., classification units) and second-level units (i.e., stratification units). Nonparametric techniques allow to measure the correspondence between the geographic space and the landscape configuration represented by the units. These correspondence metrics are useful to define sampling schemes and to model the spatial variability of environmental phenomena. The theoretical background of the algorithms and code examples are presented in Fuentes, Dorantes, and Tipton (2021). <doi:10.31223/X50S57>.
Maintained by Bryan A. Fuentes. Last updated 3 years ago.
ecologygeoinformaticshierarchicalmodelingsamplingspatial
16 stars 5.96 score 19 scriptsadamlilith
omnibus:Helper Tools for Managing Data, Dates, Missing Values, and Text
An assortment of helper functions for managing data (e.g., rotating values in matrices by a user-defined angle, switching from row- to column-indexing), dates (e.g., intuiting year from messy date strings), handling missing values (e.g., removing elements/rows across multiple vectors or matrices if any have an NA), text (e.g., flushing reports to the console in real-time); and combining data frames with different schema (copying, filling, or concatenating columns or applying functions before combining).
Maintained by Adam B. Smith. Last updated 6 months ago.
count-decimalsleap-yearmerge-listsmissing-valuesrotate-matrixsampling
4 stars 5.83 score 54 scripts 3 dependentsmarberts
sps:Sequential Poisson Sampling
Sequential Poisson sampling is a variation of Poisson sampling for drawing probability-proportional-to-size samples with a given number of units, and is commonly used for price-index surveys. This package gives functions to draw stratified sequential Poisson samples according to the method by Ohlsson (1998, ISSN:0282-423X), as well as other order sample designs by Rosén (1997, <doi:10.1016/S0378-3758(96)00186-3>), and generate appropriate bootstrap replicate weights according to the generalized bootstrap method by Beaumont and Patak (2012, <doi:10.1111/j.1751-5823.2011.00166.x>).
Maintained by Steve Martin. Last updated 2 days ago.
official-statisticssamplingstatisticssurvey-sampling
4 stars 5.26 score 8 scriptsncn-foreigners
jointCalib:A Joint Calibration of Totals and Quantiles
A small package containing functions to perform a joint calibration of totals and quantiles. The calibration for totals is based on Deville and Särndal (1992) <doi:10.1080/01621459.1992.10475217>, the calibration for quantiles is based on Harms and Duchesne (2006) <https://www150.statcan.gc.ca/n1/en/catalogue/12-001-X20060019255>. The package uses standard calibration via the 'survey', 'sampling' or 'laeken' packages. In addition, entropy balancing via the 'ebal' package and empirical likelihood based on codes from Wu (2005) <https://www150.statcan.gc.ca/n1/pub/12-001-x/2005002/article/9051-eng.pdf> can be used. See the paper by Beręsewicz and Szymkowiak (2023) for details <arXiv:2308.13281>. The package also includes functions to reweight the control group to the treatment reference distribution and to balance the covariate distribution using the covariate balancing propensity score via the 'CBPS' package for binary treatment observational studies.
Maintained by Maciej Beręsewicz. Last updated 1 years ago.
calibrationcausal-inferenceprobability-samplessamplingsurveysurvey-methodologyweighting
5 stars 5.00 score 8 scriptspedrosfig
BayesSampling:Bayes Linear Estimators for Finite Population
Allows the user to apply the Bayes Linear approach to finite population with the Simple Random Sampling - BLE_SRS() - and the Stratified Simple Random Sampling design - BLE_SSRS() - (both without replacement), to the Ratio estimator (using auxiliary information) - BLE_Ratio() - and to categorical data - BLE_Categorical(). The Bayes linear estimation approach is applied to a general linear regression model for finite population prediction in BLE_Reg() and it is also possible to achieve the design based estimators using vague prior distributions. Based on Gonçalves, K.C.M, Moura, F.A.S and Migon, H.S.(2014) <https://www150.statcan.gc.ca/n1/en/catalogue/12-001-X201400111886>.
Maintained by Pedro Soares Figueiredo. Last updated 4 years ago.
1 stars 4.56 score 12 scriptscsblatvia
surveyplanning:Survey Planning Tools
Tools for sample survey planning, including sample size calculation, estimation of expected precision for the estimates of totals, and calculation of optimal sample size allocation.
Maintained by Juris Breidaks. Last updated 4 years ago.
8 stars 4.53 score 14 scripts 1 dependentsinseefr
gustave:A User-Oriented Statistical Toolkit for Analytical Variance Estimation
Provides a toolkit for analytical variance estimation in survey sampling. Apart from the implementation of standard variance estimators, its main feature is to help the sampling expert produce easy-to-use variance estimation "wrappers", where systematic operations (linearization, domain estimation) are handled in a consistent and transparent way.
Maintained by Khaled Larbi. Last updated 1 years ago.
official-statisticssamplingsurvey-samplingvariance-estimation
9 stars 3.91 score 18 scriptsinseefr
icarus:Calibrates and Reweights Units in Samples
Provides user-friendly tools for calibration in survey sampling. The package is production-oriented, and its interface is inspired by the famous popular macro 'Calmar' for SAS, so that 'Calmar' users can quickly get used to 'icarus'. In addition to calibration (with linear, raking and logit methods), 'icarus' features functions for calibration on tight bounds and penalized calibration.
Maintained by Antoine Rebecq. Last updated 2 years ago.
calibrationicarussamplingstatssurvey-sampling
10 stars 3.70 scoresimon-lenau
prolific.api:A User-Friendly Interface for Accessing the Prolific API
A user-friendly interface for creating and managing empirical crowd-sourcing studies via API access to <https://www.prolific.co>.
Maintained by Simon Lenau. Last updated 2 years ago.
crowd-sourcingcrowdsourcing-experimentscrowdsourcing-platformsempirical-researchparticipantssampling
3.70 score 8 scriptsyukai-yang
SMFilter:Filtering Algorithms for the State Space Models on the Stiefel Manifold
Provides the filtering algorithms for the state space models on the Stiefel manifold as well as the corresponding sampling algorithms for uniform, vector Langevin-Bingham and matrix Langevin-Bingham distributions on the Stiefel manifold.
Maintained by Yukai Yang. Last updated 6 years ago.
filteringfiltering-algorithmnonlinear-dynamicsnonlinear-optimizationreduced-rank-parameterssamplingsimulated-datasmoothingstate-space-modelsstiefel-manifoldtime-series-models
2 stars 3.58 score 38 scriptsadamlilith
statisfactory:Statistical and Geometrical Tools
A collection of statistical and geometrical tools including the aligned rank transform (ART; Higgins et al. 1990 <doi:10.4148/2475-7772.1443>; Peterson 2002 <doi:10.22237/jmasm/1020255240>; Wobbrock et al. 2011 <doi:10.1145/1978942.1978963>), 2-D histograms and histograms with overlapping bins, a function for making all possible formulae within a set of constraints, amongst others.
Maintained by Adam B. Smith. Last updated 6 months ago.
2d-histogramsaligned-rank-transformsampling
3.38 score 16 scripts 1 dependentsmainwaringb
svyweight:Quick and Flexible Survey Weighting
Quickly and flexibly calculates weights for survey data, in order to correct for survey non-response or other sampling issues. Uses rake weighting, a common technique also know as rim weighting or iterative proportional fitting. This technique allows for weighting on multiple variables, even when the interlocked distribution of the two variables is not known. Interacts with Thomas Lumley's 'survey' package, as described in Lumley, Thomas (2011, ISBN:978-1-118-21093-2). Adds additional functionality, more adaptable syntax, and error-checking to the base weighting functionality in 'survey.'
Maintained by Ben Mainwaring. Last updated 3 years ago.
2 stars 3.00 score 1 scriptsinbo
grtsdb:Create a Sampling Frame Using GRTS
Create an SQLite database containing the sampling framework for different levels of resolution. Take a sample from this framework.
Maintained by Thierry Onkelinx. Last updated 3 years ago.
grtssamplingsampling-methodssqlite
1 stars 2.70 score 9 scripts