Package: xactonomial 0.4.0
xactonomial: Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters
We consider the k sample multinomial problem where we observe k vectors (possibly of different lengths), each representing an independent sample from a multinomial. For a given function psi which takes in the concatenated vector of multinomial probabilities and outputs a real number, we are interested in constructing a confidence interval for psi. We use an exact (but computational and stochastic) method to compute a confidence interval and a function for calculation of p values. The details of the method will be in a forthcoming preprint.
Authors:
xactonomial_0.4.0.tar.gz
xactonomial_0.4.0.zip(r-4.5)xactonomial_0.4.0.zip(r-4.4)xactonomial_0.4.0.zip(r-4.3)
xactonomial_0.4.0.tgz(r-4.4-x86_64)xactonomial_0.4.0.tgz(r-4.4-arm64)xactonomial_0.4.0.tgz(r-4.3-x86_64)xactonomial_0.4.0.tgz(r-4.3-arm64)
xactonomial_0.4.0.tar.gz(r-4.5-noble)xactonomial_0.4.0.tar.gz(r-4.4-noble)
xactonomial.pdf |xactonomial.html✨
xactonomial/json (API)
NEWS
# Install 'xactonomial' in R: |
install.packages('xactonomial', repos = c('https://sachsmc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sachsmc/xactonomial/issues
Last updated 5 months agofrom:7c0820c1c9. Checks:OK: 1 WARNING: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win-x86_64 | WARNING | Nov 15 2024 |
R-4.5-linux-x86_64 | WARNING | Nov 15 2024 |
R-4.4-win-x86_64 | WARNING | Nov 15 2024 |
R-4.4-mac-x86_64 | WARNING | Nov 15 2024 |
R-4.4-mac-aarch64 | WARNING | Nov 15 2024 |
R-4.3-win-x86_64 | WARNING | Nov 15 2024 |
R-4.3-mac-x86_64 | WARNING | Nov 15 2024 |
R-4.3-mac-aarch64 | WARNING | Nov 15 2024 |
Exports:calc_prob_nullcalc_prob_null2calc_probs_rustexpand_indexget_theta_randomitp_rootlog_multinom_coefrust_sspacesample_unit_simplexsample_unit_simplexnsspace_multinomxactonomial
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Calculate probability for given parameters | calc_prob_null |
Calculate probability for given parameters | calc_prob_null2 |
calculate multinomial probabilities | calc_probs_rust |
Get a matrix of indices for all possible combinations of vectors of lengths | expand_index |
Sample from the unit simplex in d dimensions | get_theta_random |
Find the root of the function f | itp_root |
Calculate log of multinomial coefficient | log_multinom_coef |
Compute a p value for the test of psi <= psi0 | pvalue_psi0 |
calculate sample space of a multinomial with dimension d and sample size n | rust_sspace |
Return a random sample from the d unit simplex | sample_unit_simplex |
Return n random samples from the d unit simplex | sample_unit_simplexn |
Enumerate the sample space of a multinomial | sspace_multinom |
Exact inference for a real-valued function of multinomial parameters | xactonomial |