#include "party.h"
Go to the source code of this file.
Functions | |
void | C_standardize (const double *t, const double *mu, const double *Sigma, int pq, double tol, double *ans) |
void | C_absstandardize (const double *t, const double *mu, const double *Sigma, int pq, double tol, double *ans) |
double | C_maxabsTestStatistic (const double *t, const double *mu, const double *Sigma, int pq, double tol) |
SEXP | R_maxabsTestStatistic (SEXP t, SEXP mu, SEXP Sigma, SEXP tol) |
double | C_quadformTestStatistic (const double *t, const double *mu, const double *SigmaPlus, int pq) |
SEXP | R_quadformTestStatistic (SEXP t, SEXP mu, SEXP SigmaPlus) |
Definition in file TestStatistic.c.
void C_absstandardize | ( | const double * | t, | |
const double * | mu, | |||
const double * | Sigma, | |||
int | pq, | |||
double | tol, | |||
double * | ans | |||
) |
Absolute values of standardized statistics
t | the vector of statistics | |
mu | expectations | |
Sigma | covariance matrix | |
pq | dimension of t | |
tol | tolerance for variances | |
ans | return value; a pointer to a REALSXP-vector of length pq |
Definition at line 49 of file TestStatistic.c.
References C_abs(), and C_standardize().
Referenced by C_maxabsTestStatistic().
double C_maxabsTestStatistic | ( | const double * | t, | |
const double * | mu, | |||
const double * | Sigma, | |||
int | pq, | |||
double | tol | |||
) |
Maximum absolute values of standardized statistics
t | the vector of statistics | |
mu | expectations | |
Sigma | covariance matrix | |
pq | dimension of t | |
tol | tolerance for variances |
Definition at line 66 of file TestStatistic.c.
Referenced by C_TestStatistic(), and R_maxabsTestStatistic().
double C_quadformTestStatistic | ( | const double * | t, | |
const double * | mu, | |||
const double * | SigmaPlus, | |||
int | pq | |||
) |
Quadratic form t(t - mu) SigmaPlus (t - mu)
t | the vector of statistics | |
mu | expectations | |
SigmaPlus | Moore-Penrose inverse | |
pq | dimension of t |
Definition at line 110 of file TestStatistic.c.
Referenced by C_TestStatistic(), and R_quadformTestStatistic().
void C_standardize | ( | const double * | t, | |
const double * | mu, | |||
const double * | Sigma, | |||
int | pq, | |||
double | tol, | |||
double * | ans | |||
) |
Standardizes a statistic t of length pq with mean mu and covariance Sigma for variances > tol
t | the vector of statistics | |
mu | expectations | |
Sigma | covariance matrix | |
pq | dimension of t | |
tol | tolerance for variances | |
ans | return value; a pointer to a REALSXP-vector of length pq |
Definition at line 23 of file TestStatistic.c.
Referenced by C_absstandardize(), C_Node(), and R_splitcategorical().
SEXP R_maxabsTestStatistic | ( | SEXP | t, | |
SEXP | mu, | |||
SEXP | Sigma, | |||
SEXP | tol | |||
) |
R-interface to C_maxabsTestStatistic
t | the vector of statistics | |
mu | expectations | |
Sigma | covariance matrix | |
tol | tolerance for variances |
Definition at line 87 of file TestStatistic.c.
References C_maxabsTestStatistic().
SEXP R_quadformTestStatistic | ( | SEXP | t, | |
SEXP | mu, | |||
SEXP | SigmaPlus | |||
) |
R-interface to C_quadformTestStatistic
t | the vector of statistics | |
mu | expectations | |
SigmaPlus | Moore-Penrose inverse |
Definition at line 140 of file TestStatistic.c.
References C_quadformTestStatistic().