Package: STATassist 1.1.0

Wonseok Oh

STATassist: Standardised Statistical Comparison Workflows

Runs the applicable tests for a comparison in one call and returns standardised result tables. One-sample, two-group, multi-group, factorial and categorical workflows report parametric, rank-based and robust results side by side with effect sizes, confidence intervals and multiplicity-adjusted p-values. Supervised fits, embeddings, clustering and simulators follow the same result contracts. Methods include those of Welch (1947) <doi:10.1093/biomet/34.1-2.28>, Wilcoxon (1945) <doi:10.2307/3001968>, Mann and Whitney (1947) <doi:10.1214/aoms/1177730491>, Kruskal and Wallis (1952) <doi:10.1080/01621459.1952.10483441>, Friedman (1937) <doi:10.1080/01621459.1937.10503522>, Tukey (1949) <doi:10.2307/3001913>, Dunn (1964) <doi:10.1080/00401706.1964.10490181>, Yuen (1974) <doi:10.1093/biomet/61.1.165>, Brunner and Munzel (2000) <doi:10.1002/(SICI)1521-4036(200001)42:1%3C17::AID-BIMJ17%3E3.0.CO;2-U>, Algina, Keselman and Penfield (2005) <doi:10.1037/1082-989X.10.3.317>, DeLong, DeLong and Clarke-Pearson (1988) <doi:10.2307/2531595>, Sun and Xu (2014) <doi:10.1109/LSP.2014.2337313>, Pencina, D'Agostino, D'Agostino and Vasan (2008) <doi:10.1002/sim.2929>, and Pencina, D'Agostino and Steyerberg (2011) <doi:10.1002/sim.4085>.

Authors:Wonseok Oh [aut, cre]

STATassist_1.1.0.tar.gz
STATassist_1.1.0.zip(r-4.7-any)STATassist_1.1.0.zip(r-4.6-any)STATassist_1.1.0.zip(r-4.5-any)
STATassist_1.1.0.tgz(r-4.6-any)STATassist_1.1.0.tgz(r-4.5-any)
STATassist_1.1.0.tar.gz(r-4.7-any)STATassist_1.1.0.tar.gz(r-4.6-any)
STATassist_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
STATassist/json (API)

# Install 'STATassist' in R:
install.packages('STATassist', repos = c('https://hiows.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hiows/statassist/issues

On CRAN:

Conda:

3.88 score 3 stars 394 downloads 48 exports 91 dependencies

Last updated from:a1a7ef09e4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK228
source / vignettesOK258
linux-releaseOK195
macos-releaseOK195
macos-oldrelOK174
windows-develOK199
windows-releaseOK207
windows-oldrelOK202
wasm-releaseOK110

Exports:center_by_controlcluster_dbscancluster_hclustcluster_kmeanscluster_snncompare_categorical_groupscompare_factorial_groupscompare_multiple_groupscompare_one_samplecompare_two_groupsdiagnose_distributiondraw_butterfly_histdraw_corrplotdraw_dim_reduction_plotdraw_forest_plotdraw_grouped_barplotdraw_grouped_boxplotdraw_heatmapdraw_interaction_plotdraw_mosaic_plotdraw_prediction_plotdraw_roc_curvedraw_volcano_plotestimate_categorical_significanceestimate_significanceevaluate_classification_modelsevaluate_regression_modelsfit_elastic_netfit_linear_regressionfit_logistic_regressionfit_rffit_svmmake_block_corperform_pcaperform_rfeperform_stepwiseperform_tsneperform_umapscreen_outlierssimulate_categorical_groupssimulate_classificationsimulate_factorial_groupssimulate_multiple_groupssimulate_regressionsimulate_two_groupssplit_datasummarize_association_statssummarize_descriptive_stats

Dependencies:askpasscaretclasscliclockcodetoolscpp11data.tabledbscandiagramdigestdplyre1071farverforeachfuturefuture.applygenericsggplot2glmnetglobalsgluegowergtablehardhathereipredisobanditeratorsjsonlitekernlabKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixModelMetricsnlmennetnumDerivopensslparallellypillarpkgconfigplyrpngpROCprodlimprogressrproxypurrrR6randomForestrappdirsRColorBrewerRcppRcppEigenRcppTOMLrecipesreshape2reticulaterlangrpartrprojrootRSpectraRtsneS7scalesshapesparsevctrsSQUAREMstringistringrsurvivalsystibbletidyrtidyselecttimechangetimeDatetzdbumaputf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
The contingency table a categorical comparison was run onas.table.sa_categorical
Centre every feature on the control groupcenter_by_control
Cluster by finding the dense regionscluster_dbscan
Cluster by building a tree and cutting itcluster_hclust
Cluster by moving centres until they stopcluster_kmeans
Cluster by how many neighbours points have in commoncluster_snn
Coefficients, summary and predictions from the model inside a fitcoef.sa_fit predict.sa_fit summary.sa_fit
Coefficients of a fitted modelcoef.sa_model
Test a contingency table with every applicable test at oncecompare_categorical_groups
Analyse a crossed-factor design as one modelcompare_factorial_groups
Run every applicable multi-group test at oncecompare_multiple_groups
Compare one sample against a hypothesised valuecompare_one_sample
Run every applicable two-group test at oncecompare_two_groups
Check the assumptions a comparison rests ondiagnose_distribution
Draw a butterfly histogram of one feature across two groupsdraw_butterfly_hist
Draw a correlation matrix, with the cells that failed the test left blankdraw_corrplot
Draw a reduction as a scatter of its pointsdraw_dim_reduction_plot plot.sa_reduction
Draw a forest plot of a comparison resultdraw_forest_plot plot.sa_comparison
Draw a grouped barplot of a descriptive summarydraw_grouped_barplot
Draw a grouped boxplot across several featuresdraw_grouped_boxplot
Draw a clustered heatmap of features by samplesdraw_heatmap
Draw an interaction plot of a factorial comparisondraw_interaction_plot
Draw a mosaic plot of a contingency tabledraw_mosaic_plot plot.sa_categorical
Draw predicted against observed for an evaluated regressiondraw_prediction_plot
Draw the ROC curves of an evaluated classificationdraw_roc_curve
Draw a volcano plotdraw_volcano_plot
Reduce a contingency table to significance verdictsestimate_categorical_significance
Reduce a comparison to one significance verdict per featureestimate_significance
Score fitted classifications on held-out rowsevaluate_classification_models
Score fitted regressions on held-out rowsevaluate_regression_models
Fit an elastic net, lasso or ridge regressionfit_elastic_net
Fit a linear regressionfit_linear_regression
Fit a logistic regressionfit_logistic_regression
Fit a random forestfit_rf
Fit a support vector machinefit_svm
Build a block correlation matrixmake_block_cor
Reduce many features to a few componentsperform_pca
Select the predictors worth keepingperform_rfe
Stepwise feature selection by information criteriaperform_stepwise
Embed samples or features with t-SNEperform_tsne
Embed samples or features with UMAPperform_umap
Draw an evaluation resultplot.sa_performance
Predict from a fitted model on rows it was not fitted topredict.sa_model
Print a categorical comparisonprint.sa_categorical
Print a categorical significance verdictprint.sa_categorical_significance
Print a clusteringprint.sa_cluster
Print a comparison resultprint.sa_comparison
Print a distribution diagnosisprint.sa_diagnosis
Print a fitted modelprint.sa_model
Print an evaluation resultprint.sa_performance
Print a dimensionality reductionprint.sa_reduction
Print a feature selectionprint.sa_selection
Print a significance verdictprint.sa_significance
Print a train/test splitprint.sa_split
Flag candidate outliers without removing themscreen_outliers
Simulate a contingency table whose association is knownsimulate_categorical_groups
Simulate a two-class outcome whose coefficients are knownsimulate_classification
Simulate a crossed-factor experiment whose answer is knownsimulate_factorial_groups
Simulate a control-versus-treatments experiment whose answer is knownsimulate_multiple_groups
Simulate a regression whose coefficients are knownsimulate_regression
Simulate a two-group experiment whose answer is knownsimulate_two_groups
Split data into training and test setssplit_data
Correlation between every pair of features, with all three coefficientssummarize_association_stats
Descriptive summary of several features, optionally split by groupsummarize_descriptive_stats