liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
Collaboration diagram for regression:

Topics

 linear regression
 
 simple linear regression
 

Functions

void a_regress_odm_ (size_t n, double const *p, double *odm, double p_mean)
 calculate observation deviation from mean for regression
 
double a_regress_odm (size_t n, double const *p, double *odm)
 calculate observation deviation from mean for regression
 

Detailed Description

Function Documentation

◆ a_regress_odm()

double a_regress_odm ( size_t n,
double const * p,
double * odm )

calculate observation deviation from mean for regression

Parameters
[in]nnumber of samples, p[n], odm[n]
[in]presponse data, specified as a numeric vector
[in,out]odmdeviation, specified as a numeric vector
Returns
mean of response data

◆ a_regress_odm_()

void a_regress_odm_ ( size_t n,
double const * p,
double * odm,
double p_mean )

calculate observation deviation from mean for regression

Parameters
[in]nnumber of samples, p[n], odm[n]
[in]presponse data, specified as a numeric vector
[in,out]odmdeviation, specified as a numeric vector
[in]p_meanmean of response data