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_ (a_size n, a_float const *p, a_float *odm, a_float p_mean)
 calculate observation deviation from mean for regression
 
a_float a_regress_odm (a_size n, a_float const *p, a_float *odm)
 calculate observation deviation from mean for regression
 

Detailed Description

Function Documentation

◆ a_regress_odm()

a_float a_regress_odm ( a_size n,
a_float const * p,
a_float * 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_ ( a_size n,
a_float const * p,
a_float * odm,
a_float 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