Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Statistics-ChiSquare
perl-Statistics-ChiSquare.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Statistics-ChiSquare.spec of Package perl-Statistics-ChiSquare
# # spec file for package perl-Statistics-ChiSquare # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Statistics-ChiSquare Version: 1.0000 Release: 0 %define cpan_name Statistics-ChiSquare Summary: How well-distributed is your data? License: CHECK(Artistic-1.0 OR GPL-1.0-or-later) Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Test::More) >= 0.88 %{perl_requires} %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 well a series of numbers fits a distribution. In this module, we only test for whether results fit an even distribution. 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. If you've ever studied elementary genetics, you've probably heard about Gregor Mendel. He was a wacky Austrian botanist who discovered (in 1865) that traits could be inherited in a predictable fashion. He did lots of experiments with cross breeding peas: green peas, yellow peas, smooth peas, wrinkled peas. A veritable Brave New World of legumes. But Mendel faked his data. A statistician by the name of R. A. Fisher used the chi-square test to prove it. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc CHANGELOG GPL2.txt README %license ARTISTIC.txt %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor