math/p5-Statistics-ChiSquare 1.0000 FreeBSD
How random is your data?
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- math, perl5
- Package size
- 17.2 KiB, 45.1 KiB installed
Description
Suppose you flip a coin 100 times, and it turns up heads 70 times. Is the coin fair?
Suppose you roll a die 100 times, and it shows 30 sixes. Is the die loaded?
In statistics, the chi-square test calculates "how random" a series of numbers is. But it doesn't simply say "yes" or "no". Instead, it gives you a confidence interval, which sets upper and lower bounds on the likelihood that the variation in your data is due to chance. See the examples below.
There's just one function in this module: chisquare(). Instead of returning the bounds on the confidence interval in a tidy little two-element array, it returns an English string. This was a deliberate design choice---many people misinterpret chi-square results, and the string helps clarify the meaning.
-Anton <[email protected]>
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/p5-Statistics-ChiSquare | 1.0000 |
| NetBSD | math/p5-Statistics-ChiSquare | 1.0000nb2 |
| DragonFly | math/p5-Statistics-ChiSquare | 1.0000 |
Install
Binary package:
pkg install p5-Statistics-ChiSquare
From the ports tree:
cd /usr/ports/math/p5-Statistics-ChiSquare/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Statistics-ChiSquare>0:math/p5-Statistics-ChiSquare
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| FreeBSD:14:quarterly | 1.0000 | 1.0000 | n/a | 1.0000 | 1.0000 |
| FreeBSD:15:latest | 1.0000 | 1.0000 | n/a | 1.0000 | 1.0000 |
| FreeBSD:15:quarterly | 1.0000 | 1.0000 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0000 | 1.0000 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Statistics/ChiSquare.pm
- %%PERL5_MAN3%%/Statistics::ChiSquare.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Statistics-ChiSquare-1.0000.tar.gz | 28821 | 255a5a38336d048ddb9077222691e000984e907aae09a4ea695a9cfd49a1ddd0 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.