xactonomial

Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters

https://github.com/sachsmc/xactonomial

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
Last synced: 7 months ago · JSON representation

Repository

Exact Inference for Real-Valued Functionals of k-Sample Multinomial Parameters

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed 8 months ago
Metadata Files
Readme License

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

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

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 130 Last month
Rankings
Dependent packages count: 26.7%
Dependent repos count: 32.9%
Average: 48.8%
Downloads: 86.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

src/rust/Cargo.lock cargo
  • 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
src/rust/Cargo.toml cargo
DESCRIPTION cran
  • knitr * suggests
  • rmarkdown * suggests