Go to the source code of this file.
Functions | |
void | C_GlobalTest (SEXP learnsample, SEXP weights, SEXP fitmem, SEXP varctrl, SEXP gtestctrl, double minsplit, double *teststat, double *criterion) |
void | C_TeststatPvalue (const SEXP linexpcov, const SEXP varctrl, double *ans_teststat, double *ans_pvalue) |
void | C_TeststatCriterion (const SEXP linexpcov, const SEXP varctrl, double *ans_teststat, double *ans_criterion) |
void C_GlobalTest | ( | const SEXP | learnsample, | |
const SEXP | weights, | |||
SEXP | fitmem, | |||
const SEXP | varctrl, | |||
const SEXP | gtctrl, | |||
const double | minsplit, | |||
double * | ans_teststat, | |||
double * | ans_criterion | |||
) |
Perform a global test on independence of a response and multiple inputs
learnsample | an object of class `LearningSample' | |
weights | case weights | |
fitmem | an object of class `TreeFitMemory' | |
varctrl | an object of class `VariableControl' | |
gtctrl | an object of class `GlobalTestControl' | |
minsplit | minimum sum of weights to proceed | |
ans_teststat | return value; vector of test statistics | |
ans_criterion | return value; vector of node criteria (adjusted) pvalues or raw test statistics |
Definition at line 129 of file IndependenceTest.c.
References AGGREGATED, BONFERRONI, C_ExpectCovarInfluence(), C_LinStatExpCov(), C_LinStatExpCovMPinv(), C_MonteCarlo(), C_SampleNoReplace(), C_tempweights(), C_TeststatCriterion(), get_dontuse(), get_dontusetmp(), get_mtry(), get_ninputs(), get_nobs(), get_randomsplits(), get_test_trafo(), get_teststat(), get_testtype(), get_tol(), get_transformation(), get_varmemory(), has_missings(), MONTECARLO, ncol(), nrow(), PL2_expcovinfSym, PL2_inputsSym, PL2_responsesSym, PL2_sumweightsSym, TESTSTATISTIC, and UNIVARIATE.
void C_TeststatCriterion | ( | const SEXP | linexpcov, | |
const SEXP | varctrl, | |||
double * | ans_teststat, | |||
double * | ans_criterion | |||
) |
Computes the test statistic and the node criterion
linexpcov | an object of class `LinStatExpectCovar' | |
varctrl | an object of class `VariableControl' | |
ans_teststat; | return value, the test statistic | |
ans_criterion; | return value, thep-value |
Definition at line 53 of file IndependenceTest.c.
References C_TeststatPvalue(), and get_pvalue().
void C_TeststatPvalue | ( | const SEXP | linexpcov, | |
const SEXP | varctrl, | |||
double * | ans_teststat, | |||
double * | ans_pvalue | |||
) |
Computes the test statistic and, if requested, the corresponding P-value for a linear statistic
linexpcov | an object of class `LinStatExpectCovar' | |
varctrl | an object of class `VariableControl' | |
ans_teststat; | return value, the test statistic | |
ans_pvalue; | return value, the p-value |
Definition at line 21 of file IndependenceTest.c.
References C_ConditionalPvalue(), C_TestStatistic(), get_abseps(), get_maxpts(), get_pvalue(), get_releps(), get_teststat(), and get_tol().