| 1 | #cxx . . $ `<file>/dwtools/ContingencyTable.h`/ifndef _ContingencyTable_h_ |
| 2 | #define _ContingencyTable_h_cxx . . $ `dwtools/ContingencyTable.h:2:9`! |
| 3 | /* ContingencyTable.h |
| 4 | * |
| 5 | * Copyright (C) 1993-2018 David Weenink |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/ |
| 22 | #include "Confusion.h"cxx . . $ `<file>/dwtools/Confusion.h`/ |
| 23 | |
| 24 | Thing_definecxx . . $ ContingencyTable_Parent# (ContingencyTable, TableOfReal) { |
| 25 | void v1_infocxx . . $ structContingencyTable#v1_info(49f6e7a06ebc5aa8). () |
| 26 | override; |
| 27 | }; |
| 28 | |
| 29 | // Precondition: All entries in a ContingencyTable are nonnegative numbers |
| 30 | |
| 31 | autoContingencyTablecxx . . $ autoContingencyTable# ContingencyTable_createcxx . . $ ContingencyTable_create(2b4077a05b3fe2d8). (integercxx . . $ integer# numberOfRows, integercxx . . $ integer# numberOfColumns); |
| 32 | |
| 33 | double ContingencyTable_chisqProbabilitycxx . . $ ContingencyTable_chisqProbability(366d06175faf8ecc). (ContingencyTablecxx . . $ ContingencyTable# me); |
| 34 | |
| 35 | double ContingencyTable_cramersStatisticcxx . . $ ContingencyTable_cramersStatistic(366d06175faf8ecc). (ContingencyTablecxx . . $ ContingencyTable# me); |
| 36 | |
| 37 | double ContingencyTable_contingencyCoefficientcxx . . $ ContingencyTable_contingencyCoefficient(366d06175faf8ecc). (ContingencyTablecxx . . $ ContingencyTable# me); |
| 38 | |
| 39 | void ContingencyTable_chisqcxx . . $ ContingencyTable_chisq(11182ede277341eb). (ContingencyTablecxx . . $ ContingencyTable# me, double *out_chisq, double *out_df); |
| 40 | |
| 41 | void ContingencyTable_getEntropiescxx . . $ ContingencyTable_getEntropies(199f559b6763fde0). (ContingencyTablecxx . . $ ContingencyTable# me, double *out_h, double *out_hx, double *out_hy, double *out_hygx, double *out_hxgy, double *out_uygx, double *out_uxgy, double *out_uxy); |
| 42 | |
| 43 | autoContingencyTablecxx . . $ autoContingencyTable# Confusion_to_ContingencyTablecxx . . $ Confusion_to_ContingencyTable(8f0fb3e09052eac). (Confusioncxx . . $ Confusion# me); |
| 44 | |
| 45 | autoContingencyTablecxx . . $ autoContingencyTable# TableOfReal_to_ContingencyTablecxx . . $ TableOfReal_to_ContingencyTable(ecb9c40643098b2c). (TableOfRealcxx . . $ TableOfReal# me); |
| 46 | |
| 47 | #endif // _ContingencyTable_h_ |