edftest

Software for the calculation of goodness-of-fit test statistics and their P-values.

https://github.com/liyao-sfu/edftest

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 3 DOI reference(s) in README
  • Academic publication links
    Links to: scholar.google
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Software for the calculation of goodness-of-fit test statistics and their P-values.

Basic Info
  • Host: GitHub
  • Owner: LiYao-sfu
  • License: other
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 1.79 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 5 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

EDFtest

This package contains software for the calculation of goodness-of-fit test statistics and their P-values. The three statistics computed are the Empirical Distribution function statistics called Cramér-von Mises, Anderson-Darling, and Watson statistic.

The statistics and their P-values can be used to assess an assumed distribution. In the simplest situation you have an i.i.d. sample from some distribution F and want to test the hypothesis that the sample is drawn from a distribution F which belongs to a specified parametric family of distributions against the alternative that F is not equal to any member of that parametric family. The following families are available: Uniform(min, max), Normal(location, scale), Gamma(shape, scale), Logistic(location, scale), Laplace(location, scale), Weibull(shape, scale), Extreme Value(shape, scale), and Exponential(scale).

This package also contains function gof.sandwich which performs Goodness-of-Fit tests for general distributions using Sandwich estimation of covariance function. This function tests the hypothesis that data y come from distribution Fdist with unknown parameter values theta. Estimates of theta must be provided. It uses a large sample approximation to the limit distribution based on the use of the score function components to estimate the Fisher information and the limiting covariance function of the empirical process.

For the future releases, EDFtest package will include regression models in which a response Y is related to predictors X. The model specifies the conditional distribution of Y given X. It will contains codes for situations where the conditional distribution is one of the list given above. The following models are handled:

Linear regression with homosecdastic errors: has a N() distribution given .

Authors:

Papers:

Installation

There are several ways you can install GitHub packages into R. For example, You can install our package by using devtools. You need to install devtools package first if you have not.

Step 1: Install the devtools package R install.packages("devtools")

Step 2: Install our EDFtest package and attach it R library(devtools) install_github("LiYao-sfu/EDFtest") library("EDFtest")

Troubleshooting

This package is still under development. EDF test for regression models and discrete distributions will be available for the future releases.

If you encounter a clear bug, You could create an issue on GitHub. For other questions, please contact Li Yao by yaoliy@sfu.ca.

Owner

  • Name: Li Yao
  • Login: LiYao-sfu
  • Kind: user
  • Location: Burnaby, Canada
  • Company: Simon Fraser University

SFU statistics student

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 206
  • Total Committers: 5
  • Avg Commits per committer: 41.2
  • Development Distribution Score (DDS): 0.481
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Li y****y@s****a 107
Richardlockhart l****t@s****a 57
Li Yao 5****e 32
Li Yao 5****u 8
duu00 3****0 2
Committer Domains (Top 20 + Academic)
sfu.ca: 2

Issues and Pull Requests

Last synced: 11 months 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 198 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: EDFtest

Goodness of Fit Based on Empirical Distribution Function

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 198 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Average: 40.5%
Downloads: 73.4%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • CompQuadForm >= 1.4.3 imports
  • rmutil >= 1.1.5 imports
  • stats * imports
  • knitr * suggests
  • rmarkdown * suggests
  • stringi * suggests
  • testthat >= 3.0.0 suggests