Various Methods for the Two Sample Problem
This function finds the p values of several tests based on large sampl...
find counts in bins. Useful for power calculations. Replaces hist comm...
This function runs the chi-square test for continuous or discrete data
This function runs the chi-square test for continuous or discrete data
sort vector y by values in vector x
run permutation test.
run permutation test.
permute discrete data
This function draws the power graph, with curves sorted by the mean po...
Find the power of various discrete tests via permutation.
Find the power of various discrete tests via permutation.
Find the power of various tests via permutation.
cpp version of R routine rep
Runs the shiny app associated with R2sample package
This function does some rounding to nice numbers
find test statistics for continuous data
find test statistics for discrete data
find test statistics for continuous data with weights
find test statistics for discrete data
Find the power of various two sample tests using Rcpp and parallel com...
This function runs a number of two sample tests using Rcpp and paralle...
This function runs a number of two sample tests using Rcpp and paralle...
Find counts and/or sum of weights in bins. Useful for power calculatio...
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.