|
statcpp
C++17 Header-Only Statistics Library
|
Structure to store simple regression analysis results. More...
#include <linear_regression.hpp>
Public Attributes | |
| double | intercept |
| Intercept (b0) | |
| double | slope |
| Slope (b1) | |
| double | intercept_se |
| Standard error of intercept. | |
| double | slope_se |
| Standard error of slope. | |
| double | intercept_t |
| t-statistic for intercept | |
| double | slope_t |
| t-statistic for slope | |
| double | intercept_p |
| p-value for intercept | |
| double | slope_p |
| p-value for slope | |
| double | r_squared |
| Coefficient of determination R^2. | |
| double | adj_r_squared |
| Adjusted R^2. | |
| double | residual_se |
| Residual standard error. | |
| double | f_statistic |
| F-statistic. | |
| double | f_p_value |
| p-value for F-test | |
| double | df_regression |
| Regression degrees of freedom. | |
| double | df_residual |
| Residual degrees of freedom. | |
| double | ss_total |
| Total sum of squares. | |
| double | ss_regression |
| Regression sum of squares. | |
| double | ss_residual |
| Residual sum of squares. | |
Structure to store simple regression analysis results.
Holds regression coefficients, standard errors, test statistics, and coefficient of determination for simple regression y = b0 + b1*x.
Definition at line 35 of file linear_regression.hpp.
| double statcpp::simple_regression_result::adj_r_squared |
Adjusted R^2.
Definition at line 45 of file linear_regression.hpp.
| double statcpp::simple_regression_result::df_regression |
Regression degrees of freedom.
Definition at line 49 of file linear_regression.hpp.
| double statcpp::simple_regression_result::df_residual |
Residual degrees of freedom.
Definition at line 50 of file linear_regression.hpp.
| double statcpp::simple_regression_result::f_p_value |
p-value for F-test
Definition at line 48 of file linear_regression.hpp.
| double statcpp::simple_regression_result::f_statistic |
F-statistic.
Definition at line 47 of file linear_regression.hpp.
| double statcpp::simple_regression_result::intercept |
Intercept (b0)
Definition at line 36 of file linear_regression.hpp.
| double statcpp::simple_regression_result::intercept_p |
p-value for intercept
Definition at line 42 of file linear_regression.hpp.
| double statcpp::simple_regression_result::intercept_se |
Standard error of intercept.
Definition at line 38 of file linear_regression.hpp.
| double statcpp::simple_regression_result::intercept_t |
t-statistic for intercept
Definition at line 40 of file linear_regression.hpp.
| double statcpp::simple_regression_result::r_squared |
Coefficient of determination R^2.
Definition at line 44 of file linear_regression.hpp.
| double statcpp::simple_regression_result::residual_se |
Residual standard error.
Definition at line 46 of file linear_regression.hpp.
| double statcpp::simple_regression_result::slope |
Slope (b1)
Definition at line 37 of file linear_regression.hpp.
| double statcpp::simple_regression_result::slope_p |
p-value for slope
Definition at line 43 of file linear_regression.hpp.
| double statcpp::simple_regression_result::slope_se |
Standard error of slope.
Definition at line 39 of file linear_regression.hpp.
| double statcpp::simple_regression_result::slope_t |
t-statistic for slope
Definition at line 41 of file linear_regression.hpp.
| double statcpp::simple_regression_result::ss_regression |
Regression sum of squares.
Definition at line 52 of file linear_regression.hpp.
| double statcpp::simple_regression_result::ss_residual |
Residual sum of squares.
Definition at line 53 of file linear_regression.hpp.
| double statcpp::simple_regression_result::ss_total |
Total sum of squares.
Definition at line 51 of file linear_regression.hpp.