exceedProb

Exceedance probability and associated confidence intervals for general linear models

https://github.com/bdsegal/exceedprob

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Exceedance probability and associated confidence intervals for general linear models

Basic Info
  • Host: GitHub
  • Owner: bdsegal
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 20.5 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 7 years ago · Last pushed over 6 years ago
Metadata Files
Readme

README.md

exceedProb

This R package computes exceedance probabilities and associated confidence intervals. Currently supports general linear models, with a beta function for Cox models. Please see Segal (2019) for more information.

Installation

{r} install.packages("exceedProb")

Examples

```{r} library(exceedProb)

Sample mean -----------------------------------------------------------------

n <- 100 x <- rnorm(n = n)

thetahat <- mean(x) sdhat <- sd(x)

cutoff <- seq(from = thetahat - 0.5, to = thetahat + 0.5, by = 0.1)

exceedProb(cutoff = cutoff, thetahat = thetahat, sdhat = sdhat, alpha = 0.05, d = 1, n = n, m = n)

Linear regression -----------------------------------------------------------

n <- 100 beta <- c(1, 2) x <-runif(n = n, min = 0, max = 10) y <- rnorm(n = n, mean = cbind(1, x) %*% beta, sd = 1)

j <- 2 fit <- lm(y ~ x) thetahat <- coef(fit)[j] sdhat <- sqrt(n * vcov(fit)[j, j])

cutoff <- seq(from = thetahat - 0.5, to = thetahat + 0.5, by = 0.1)

exceedProb(cutoff = cutoff, thetahat = thetahat, sdhat = sdhat, alpha = 0.05, d = length(beta), n = n, m = n) ```

References

Segal, B. D. (2019). Toward replicability with confidence intervals for the exceedance probability. The American Statistician. doi:10.1080/00031305.2019.1678521.

Owner

  • Name: Brian Segal
  • Login: bdsegal
  • Kind: user
  • Location: Washington, DC
  • Company: Indigo Ag

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 12
  • Total Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
bdsegal b****l@u****u 12
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 155 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: exceedProb

Confidence Intervals for Exceedance Probability

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 155 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 31.7%
Dependent repos count: 35.5%
Average: 41.6%
Downloads: 82.4%
Maintainers (1)
Last synced: over 1 year ago

Dependencies

DESCRIPTION cran
  • R >= 3.1 depends
  • Rcpp >= 1.0.2 imports
  • boot >= 1.3 imports
  • survival >= 2.44 imports