Zephyr Scientific Library (zscilib)
Data Fields
zsl_sta_linreg Struct Reference

Simple linear regression coefficients. More...

#include <statistics.h>

Data Fields

zsl_real_t slope
 The estimated slope. More...
 
zsl_real_t intercept
 The estimated intercept. More...
 
zsl_real_t correlation
 The correlation coefficient, where closer to 1.0 is better. More...
 

Detailed Description

Simple linear regression coefficients.

Definition at line 35 of file statistics.h.

Field Documentation

◆ correlation

zsl_real_t zsl_sta_linreg::correlation

The correlation coefficient, where closer to 1.0 is better.

Definition at line 47 of file statistics.h.

Referenced by zsl_sta_linear_reg().

◆ intercept

zsl_real_t zsl_sta_linreg::intercept

The estimated intercept.

Definition at line 43 of file statistics.h.

Referenced by zsl_sta_linear_reg().

◆ slope

zsl_real_t zsl_sta_linreg::slope

The estimated slope.

Definition at line 39 of file statistics.h.

Referenced by zsl_sta_linear_reg().


The documentation for this struct was generated from the following file: