Implementation of the v-statistic
Project description
v-statistic
Implements the v-statistic, a measure that compares the estimation accuracy of the ordinary least squares estimator against a random benchmark.
See the paper here: http://www.ncbi.nlm.nih.gov/m/pubmed/23661222/ which features and implementation in R.
I also wrote a Julia version, see https://github.com/dostodabsi/V.jl.
install and run
install with
` [sudo] pip install vstat `
import with
` import vstat `
and calculate v with
` vstat.vstat(120, 4, .05) `
or calculate necessary (total n, n per predictor) for a specific v with
` vstat.sample_size(3, .05, v=.8) `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vstat-0.3.tar.gz
(1.8 kB
view details)
File details
Details for the file vstat-0.3.tar.gz.
File metadata
- Download URL: vstat-0.3.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bbabc9ddce9561290be01684b08793d3b8f92a5d5c274831145636a478f6ee9
|
|
| MD5 |
87d824df2dc4597242507c760317b55e
|
|
| BLAKE2b-256 |
2f06dfb14771f7bbc80e80129be59c7165826d53b9d6eae3e92f48f3ee52ed1b
|