Skip to contents

All functions

calc_prob_null()
Calculate probability for given parameters
calc_prob_null2()
Calculate probability for given parameters
calc_probs_rust()
calculate multinomial probabilities
expand_index()
Get a matrix of indices for all possible combinations of vectors of lengths
get_theta_random()
Sample from the unit simplex in d dimensions
itp_root()
Find the root of the function f
log_multinom_coef()
Calculate log of multinomial coefficient
pvalue_psi0()
Compute a p value for the test of psi <= psi0 (lower = TRUE) or psi >= psi0 (lower = FALSE)
sample_unit_simplex()
Return a random sample from the d unit simplex
sample_unit_simplex2()
Return a random sample from the d unit simplex
sample_unit_simplexn()
Return n random samples from the d unit simplex
sspace_multinom()
Enumerate the sample space of a multinomial
xactonomial-package
xactonomial: Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters
xactonomial()
Exact inference for a real-valued function of multinomial parameters