1.12.42
[gnumeric.git] / src / tools / analysis-anova.h
blob18671ebc5ba2e451278db603afff8ee4742fa274
1 /*
2 * analysis-anova.h:
4 * Author:
5 * Andreas J. Guelzow <aguelzow@pyrshep.ca>
7 * (C) Copyright 2009 by Andreas J. Guelzow <aguelzow@pyrshep.ca>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, see <https://www.gnu.org/licenses/>.
25 #ifndef ANALYSIS_ANOVA_H
26 #define ANALYSIS_ANOVA_H
28 #include <gnumeric.h>
29 #include <numbers.h>
30 #include <tools/dao.h>
31 #include <tools/tools.h>
32 #include <tools/analysis-tools.h>
34 /**************** 2-Factor ANOVA ***************/
35 /*** with contingency table like data provision **/
37 typedef struct {
38 analysis_tools_error_code_t err;
39 WorkbookControl *wbc;
40 GnmValue *input;
41 group_by_t group_by;
42 gboolean labels;
43 gnm_float alpha;
44 gint replication;
45 gint rows;
46 gint n_c;
47 gint n_r;
48 } analysis_tools_data_anova_two_factor_t;
50 gboolean analysis_tool_anova_two_factor_engine (GOCmdContext *gcc,
51 data_analysis_output_t *dao,
52 gpointer specs,
53 analysis_tool_engine_t selector,
54 gpointer result);
57 #endif