Package: infercalcR 0.1.0

R. Heller

infercalcR: Statistical Inference and Diagnostic Calculations

Provides explicit statistical procedures, descriptive summaries, diagnostic calculations and a common result contract. Each procedure is chosen through an explicit method specification rather than by data-driven pretests, and returns finalized estimates, intervals and p-values together with metadata that records the method identity and numerical provenance. Includes Boschloo's unconditional test for two-by-two tables (Boschloo, 1970, <doi:10.1111/j.1467-9574.1970.tb00104.x>), diagnostic accuracy and classifier metrics, and distribution calculators. Standard R methods are used where available; optional backends such as 'lme4', 'nlme' and 'geepack' are used only when installed.

Authors:R. Heller [aut, cre, cph]

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

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

Bug tracker:https://github.com/cttir/infercalcr/issues

Pkgdown/docs site:https://cttir.github.io

On CRAN:

Conda:

4.43 score 2 packages 98 exports 0 dependencies

Last updated from:439a7e5bd4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK208
source / vignettesOK241
linux-releaseOK229
macos-releaseOK329
macos-oldrelOK179
windows-develOK334
windows-releaseOK332
windows-oldrelOK325
wasm-releaseOK94

Exports:adjust_inferenceas_inferenceattach_classification_databinomial_probabilitybinomial_region_probabilitybinomial_table_spacebinormal_modelbinormal_ratesboschloo_compare_fisherboschloo_controlboschloo_control_callboschloo_control_from_recordboschloo_control_recordboschloo_design_kernelboschloo_engine_infoboschloo_inferenceboschloo_kernel_statusboschloo_plot_data_recordboschloo_plotdata_latticeboschloo_plotdata_nuisanceboschloo_regionboschloo_region_recordboschloo_testboschloo_validate_controlboschloo_validate_designboschloo_variant_detailsboschloo_variant_recordboschloo_variantscalculator_functionscalibration_summarychisq_probabilitychisq_quantileclassification_aucclassification_check_binsclassification_check_partialclassification_check_thresholdsclassification_contractclassification_dictionaryclassification_evaluated_specclassification_metric_idsclassification_metricsclassification_plot_dataclassification_reasonclassification_short_labelclassification_specclassification_tableclassification_uncertaintyclassifier_modelcompare_classifierscutoff_rulecutoff_sweepdescribe_datadistribution_calculatorevaluate_cutofff_lower_log_boundf_probabilityf_quantilefisher_ordering_probabilitiesig_statusig_status_codesinvert_log_cdfis_ig_statuslegacy_canonical_jsonlegacy_check_speclegacy_double_valueslegacy_format_doublelegacy_hash_valuelegacy_json_limitslegacy_nonfinite_pathslegacy_parse_decimallegacy_parse_jsonlegacy_r_literallegacy_sha256legacy_unclass_frozenlog_probability_addlog_probability_summethod_cataloguemethod_specmetric_dictionarynet_benefitnew_inference_resultnoncentral_t_densitynormal_probabilitynormal_quantileparallel_analysisppv_gap_max_prevalencepr_summarypredict_inferencepredictive_values_at_prevalenceprevalence_for_ppv_targetprevalence_scenarioresult_dataresult_metadatarun_inferenceselect_cutofft_probabilityt_quantilevalidate_inference

Dependencies:

Getting started with infercalcR
Synthetic data | Describe the data | Choose a method explicitly | Compute the result | Read the result contract | Prespecified alternatives use the same pattern | Choose the engine | Convert results computed elsewhere | Adjust a declared family of p-values | Keep a record | Continue

Last update: 2026-11-11
Started: 2026-11-10

Diagnostic accuracy and classifier metrics
Metrics from four counts | Prevalence and predictive values | Intervals for a fixed-cutoff table | Scored observations | Select a cutoff, then evaluate it on new data | Common result contract | Notes on interpretation

Last update: 2026-11-10
Started: 2026-11-10

Exact tests for two-by-two tables
The observed table | Choose a variant before looking at the data | Compute the test | The same test through a method specification | Sidedness matters | Compare with other exact tests | Operating characteristics of a design | A complete test record | Reference

Last update: 2026-11-10
Started: 2026-11-10

Readme and manuals

Help Manual

Help pageTopics
Explicit conversion of supplied tests and fitted modelsas_inference.glm as_inference.htest as_inference.lm
Descriptive summaries without hypothesis testsdescribe_data
Explicit Shared Numerical and Compatibility Providersbinomial_probability binomial_region_probability binomial_table_space boschloo_control_call boschloo_control_from_record boschloo_control_record boschloo_design_kernel boschloo_engine_info boschloo_kernel_status boschloo_plot_data_record boschloo_region_record boschloo_validate_control boschloo_validate_design boschloo_variant_details boschloo_variant_record chisq_probability chisq_quantile classification_check_bins classification_check_partial classification_check_thresholds classification_contract classification_dictionary classification_metric_ids classification_reason classification_short_label fisher_ordering_probabilities f_lower_log_bound f_probability f_quantile invert_log_cdf legacy_canonical_json legacy_check_spec legacy_double_values legacy_format_double legacy_hash_value legacy_json_limits legacy_nonfinite_paths legacy_parse_decimal legacy_parse_json legacy_r_literal legacy_sha256 legacy_unclass_frozen log_probability_add log_probability_sum noncentral_t_density normal_probability normal_quantile t_probability t_quantile
Diagnostic and Exact Numerical Calculationsattach_classification_data binormal_model binormal_rates boschloo_compare_fisher boschloo_control boschloo_inference boschloo_plotdata_lattice boschloo_plotdata_nuisance boschloo_region boschloo_test boschloo_variants calculator_functions calibration_summary classification_auc classification_evaluated_spec classification_metrics classification_plot_data classification_spec classification_table classification_uncertainty classifier_model compare_classifiers cutoff_rule cutoff_sweep distribution_calculator evaluate_cutoff ig_status ig_status_codes is_ig_status metric_dictionary net_benefit ppv_gap_max_prevalence predictive_values_at_prevalence prevalence_for_ppv_target prevalence_scenario pr_summary select_cutoff
Prespecify and execute an observed statistical methodmethod_catalogue method_spec run_inference
Explicit observed methods and finalized numerical resultsobserved-methods
Common-factor exploration and prediction from stored development resultsparallel_analysis predict_inference
Finalized statistical result contractadjust_inference as_inference new_inference_result result_data result_metadata validate_inference