xactonomial
Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.8%) to scientific vocabulary
Repository
Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters
Basic Info
- Host: GitHub
- Owner: sachsmc
- License: other
- Language: R
- Default Branch: master
- Homepage: https://sachsmc.github.io/xactonomial/
- Size: 11.7 MB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
xactonomial
The goal of xactonomial is to use an exact (but computational and stochastic) method to compute a confidence interval and a function for calculation of p values in the k sample multinomial setting where interest is about a real-valued functional of the multinomial probabilities.
Installation
You can install the development version of xactonomial like so:
r
remotes::install_github("sachsmc/xactonomial")
but building the package from source requires a local rust environment. Instead, pre-built binaries can be found at https://sachsmc.r-universe.dev/xactonomial or used directly from R as
r
install.packages("xactonomial", repos = c('https://sachsmc.r-universe.dev', 'https://cloud.r-project.org'))
Example
This is a basic example which shows you how to use the main function:
``` r library(xactonomial)
tau_ba <- function(theta) { theta1 <- theta[1:4] theta2 <- theta[5:8] sum(sqrt(theta1 * theta2)) }
data <- list(T1 = c(2,1,2,1), T2 = c(0,1,3,3)) xactonomial(data, fparam = tauba, psi_limits = c(0, 1), maxit = 5, chunksize = 20) ```
Owner
- Name: Michael Sachs
- Login: sachsmc
- Kind: user
- Location: Copenhagen, Denmark
- Company: University of Copenhagen
- Website: sachsmc.github.io
- Repositories: 91
- Profile: https://github.com/sachsmc
GitHub Events
Total
- Push event: 13
- Fork event: 1
Last Year
- Push event: 13
- Fork event: 1
Packages
- Total packages: 1
-
Total downloads:
- cran 130 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: xactonomial
Inference for Functions of Multinomial Parameters
- Homepage: https://sachsmc.github.io/xactonomial/
- Documentation: http://cran.r-project.org/web/packages/xactonomial/xactonomial.pdf
- License: MIT + file LICENSE
-
Latest release: 1.2.0
published 8 months ago
Rankings
Maintainers (1)
Dependencies
- cfg-if 1.0.0
- either 1.10.0
- extendr-api 0.6.0
- extendr-macros 0.6.0
- getrandom 0.2.12
- itertools 0.12.1
- libR-sys 0.6.0
- libc 0.2.153
- once_cell 1.19.0
- paste 1.0.14
- ppv-lite86 0.2.17
- proc-macro2 1.0.78
- quote 1.0.35
- rand 0.8.5
- rand_chacha 0.3.1
- rand_core 0.6.4
- syn 2.0.52
- unicode-ident 1.0.12
- wasi 0.11.0+wasi-snapshot-preview1
- knitr * suggests
- rmarkdown * suggests