ChiSquareTest.h
Go to the documentation of this file.
/***************************************************************************
File : ChiSquareTest.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2010 by Ion Vasilief
Email (use @ for *) : ion_vasilief*yahoo.fr
Description : Chi Square Test for Variance
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
* Boston, MA 02110-1301 USA *
* *
***************************************************************************/
#ifndef CHISQUARETEST_H
#define CHISQUARETEST_H
#include <StatisticTest.h>
class ChiSquareTest : public StatisticTest
{
Q_OBJECT
public:
ChiSquareTest(ApplicationWindow *parent, double testValue, double level, const QString& sample = QString());
virtual QString logInfo();
double chiSquare();
double pValue();
double statistic(){return chiSquare();};
double lcl(double confidenceLevel);
double ucl(double confidenceLevel);
};
#endif
ChiSquareTest::pValue
double pValue()
Definition: ChiSquareTest.cpp:51
ChiSquareTest::logInfo
virtual QString logInfo()
Definition: ChiSquareTest.cpp:95
ChiSquareTest::chiSquare
double chiSquare()
Definition: ChiSquareTest.cpp:43
ChiSquareTest::ChiSquareTest
ChiSquareTest(ApplicationWindow *parent, double testValue, double level, const QString &sample=QString())
Definition: ChiSquareTest.cpp:37
ChiSquareTest::ucl
double ucl(double confidenceLevel)
Upper Confidence Limit.
Definition: ChiSquareTest.cpp:85
ApplicationWindow
QtiPlot&#39;s main window.
Definition: ApplicationWindow.h:133
ChiSquareTest
Chi-Square test for variance.
Definition: ChiSquareTest.h:35
ChiSquareTest::statistic
double statistic()
Definition: ChiSquareTest.h:45
StatisticTest
Abstract base class for statistic tests.
Definition: StatisticTest.h:37
ChiSquareTest::lcl
double lcl(double confidenceLevel)
Lower Confidence Limit.
Definition: ChiSquareTest.cpp:74
StatisticTest.h