STK++ 0.9.13
STK_Law_ChiSquared.cpp
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: stkpp::STatistiK::Law
27 * Purpose: ChiSquared probability distribution.
28 * Author: Serge Iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 **/
30
36#ifndef IS_RTKPP_LIB
37#include "../include/STK_Law_ChiSquared.h"
38#endif
39
40namespace STK
41{
42namespace Law
43{
44
45#ifndef IS_RTKPP_LIB
46
47/* @return a pseudo ChiSquared random variate. */
49{
50 return 0.;
51}
52/* @return the value of the pdf
53 * @param x a positive real value
54 **/
55Real ChiSquared::pdf(const Real& x) const
56{
57 return 0.;
58}
59
60Real ChiSquared::lpdf(const Real& x) const
61{
62 return 0.;
63}
64
65/* @return the cumulative distribution function
66 * @param t a positive real value
67 **/
69{
70 return 0.;
71}
72
73/* @return the inverse cumulative distribution function
74 * @param p a probability number
75 **/
77{
78 return 0.;
79}
80
81/* @return a pseudo ChiSquared random variate with the specified parameters.
82 * @param df degree of freedom parameter
83 **/
85{
86 return 0.;
87}
88
89/* @return the value of the pdf
90 * @param x a positive real value
91 * @param df degree of freedom parameter
92 **/
93Real ChiSquared::pdf(const Real& x, int df)
94{
95 return 0.;
96}
97
98/* @return the value of the log-pdf
99 * @param x a positive real value
100 * @param df degree of freedom parameter
101 **/
102Real ChiSquared::lpdf(const Real& x, int df)
103{
104 return 0.;
105}
106
107/* @return the cumulative distribution function
108 * @param t a positive real value
109 * @param df degree of freedom parameter
110 **/
111Real ChiSquared::cdf(const Real& t, int df)
112{
113 return 0.;
114}
115
116/* @return the inverse cumulative distribution function
117 * @param p a probability number
118 * @param df degree of freedom parameter
119 **/
121{
122 return 0.;
123}
124
125#endif
126} // namespace Law
127
128} // namespace STK
129
virtual Real rand() const
virtual Real icdf(Real const &p) const
virtual Real lpdf(Real const &x) const
virtual Real pdf(Real const &x) const
virtual Real cdf(Real const &t) const
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.