R2sample2.2.0 package

Various Methods for the Two Sample Problem

asymptotic_pvalues

This function finds the p values of several tests based on large sampl...

bincounter

find counts in bins. Useful for power calculations. Replaces hist comm...

chi_power

This function runs the chi-square test for continuous or discrete data

chi_test

This function runs the chi-square test for continuous or discrete data

Cpporder

sort vector y by values in vector x

perm_test_cont

run permutation test.

perm_test_disc

run permutation test.

permute_disc

permute discrete data

plot_power

This function draws the power graph, with curves sorted by the mean po...

power_cont_LS

Find the power of various discrete tests via permutation.

power_cont

Find the power of various discrete tests via permutation.

power_disc

Find the power of various tests via permutation.

repC

cpp version of R routine rep

run_shiny

Runs the shiny app associated with R2sample package

signif.digits

This function does some rounding to nice numbers

TS_cont

find test statistics for continuous data

TS_disc

find test statistics for discrete data

TSw_cont

find test statistics for continuous data with weights

TSw_disc

find test statistics for discrete data

twosample_power

Find the power of various two sample tests using Rcpp and parallel com...

twosample_test_adjusted_pvalue

This function runs a number of two sample tests using Rcpp and paralle...

twosample_test

This function runs a number of two sample tests using Rcpp and paralle...

wbincounter

Find counts and/or sum of weights in bins. Useful for power calculatio...

weights

find weights for several statistics for discrete data

The routine twosample_test() in this package runs the two sample test using various test statistic. The p values are found via permutation or large sample theory. The routine twosample_power() allows the calculation of the power in various cases, and plot_power() draws the corresponding power graphs.

  • Maintainer: Wolfgang Rolke
  • License: GPL (>= 2)
  • Last published: 2024-10-21