#include "party.h"
Include dependency graph for Convenience.c:
Go to the source code of this file.
Functions | |
void | C_LinStatExpCov (const double *x, const int p, const double *y, const int q, const double *weights, const int n, const int cexpcovinf, SEXP expcovinf, SEXP ans) |
void | C_LinStatExpCovMPinv (SEXP linexpcov, double tol) |
double | C_TestStatistic (const SEXP linexpcov, const int type, const double tol) |
double | C_ConditionalPvalue (const double tstat, SEXP linexpcov, const int type, double tol, int *maxpts, double *releps, double *abseps) |
SEXP | R_get_response (SEXP learnsample) |
void | R_set_response (SEXP learnsample, SEXP y) |
Definition in file Convenience.c.
|
Compute asymptotic conditional P-value
Definition at line 99 of file Convenience.c. References C_maxabsConditionalPvalue(), C_quadformConditionalPvalue(), get_dimension(), MAXABS, PL2_covarianceSym, PL2_rankSym, and QUADFORM. Referenced by C_TeststatPvalue(). Here is the call graph for this function: ![]() |
|
Linear statistic of x, y, and weights and its conditional expectation and covariance
Definition at line 26 of file Convenience.c. References C_ExpectCovarInfluence(), C_ExpectCovarLinearStatistic(), C_LinearStatistic(), and PL2_linearstatisticSym. Referenced by C_GlobalTest(), C_IndependenceTest(), and R_splitcategorical(). Here is the call graph for this function: ![]() |
|
Moore-Penrose inverse of the covariance matrix
Definition at line 46 of file Convenience.c. References C_MPinv(), PL2_covarianceSym, and PL2_svdmemSym. Referenced by C_GlobalTest(), and C_IndependenceTest(). Here is the call graph for this function: ![]() |
|
Compute test statistic
Definition at line 59 of file Convenience.c. References C_maxabsTestStatistic(), C_quadformTestStatistic(), get_dimension(), PL2_covarianceSym, PL2_expectationSym, PL2_linearstatisticSym, and PL2_MPinvSym. Referenced by C_TeststatPvalue(). Here is the call graph for this function: ![]() |
|
extract the (first) response variable from a learning sample
Definition at line 131 of file Convenience.c. References PL2_responsesSym, and PL2_variablesSym. Referenced by R_set_response(). |
|
change the values of the response variable in a learning sample
Definition at line 143 of file Convenience.c. References PL2_jointtransfSym, PL2_responsesSym, PL2_transformationsSym, PL2_variablesSym, and R_get_response(). Here is the call graph for this function: ![]() |