Mobile API Reference  MicroStrategy 2019
Regression Class Reference

#include <statistic.h>

Public Member Functions

 Regression (enum MathError *error, Int32 varNum, Int32 obsNum, double Y[], double **X, Int32 function=0)
 
 ~Regression ()
 
double Predict (enum MathError *error, Int32 nX, double X[])
 
 Regression (enum MathError *error, Int32 varNum, Int32 obsNum, double Y[], double **X, Int32 function=0)
 
 ~Regression ()
 
double Predict (enum MathError *error, Int32 nX, double X[])
 

Public Attributes

double(* Function )(double)
 
double(* InverseFunction )(double)
 
Int32 ParametersNum
 
Int32 ObservationsNum
 
double * Parameters
 
double * Variances
 
double * Pvalues
 
double Rsquare
 
double Ssquare
 

Constructor & Destructor Documentation

◆ Regression() [1/2]

Regression::Regression ( enum MathError error,
Int32  varNum,
Int32  obsNum,
double  Y[],
double **  X,
Int32  function = 0 
)

◆ ~Regression() [1/2]

Regression::~Regression ( )

◆ Regression() [2/2]

Regression::Regression ( enum MathError error,
Int32  varNum,
Int32  obsNum,
double  Y[],
double **  X,
Int32  function = 0 
)

◆ ~Regression() [2/2]

Regression::~Regression ( )

Member Function Documentation

◆ Predict() [1/2]

double Regression::Predict ( enum MathError error,
Int32  nX,
double  X[] 
)

◆ Predict() [2/2]

double Regression::Predict ( enum MathError error,
Int32  nX,
double  X[] 
)

Member Data Documentation

◆ Function

double(* Regression::Function)(double)

◆ InverseFunction

double(* Regression::InverseFunction)(double)

◆ ObservationsNum

Int32 Regression::ObservationsNum

◆ Parameters

double * Regression::Parameters

◆ ParametersNum

Int32 Regression::ParametersNum

◆ Pvalues

double * Regression::Pvalues

◆ Rsquare

double Regression::Rsquare

◆ Ssquare

double Regression::Ssquare

◆ Variances

double * Regression::Variances