fsml_slope Interface

public interface fsml_slope

Computes regression coefficient/slope. where is the slope of the regression line (slope), is the covariance of x and y, and is the variance of x.

Vectors x and y must be the same size.

Calls

interface~~fsml_slope~~CallsGraph interface~fsml_slope fsml_slope proc~f_sts_slope f_sts_slope interface~fsml_slope->proc~f_sts_slope proc~f_sts_slope_core f_sts_slope_core proc~f_sts_slope->proc~f_sts_slope_core proc~f_utl_assign_nan f_utl_assign_nan proc~f_sts_slope->proc~f_utl_assign_nan proc~s_err_print s_err_print proc~f_sts_slope->proc~s_err_print proc~f_sts_cov_core f_sts_cov_core proc~f_sts_slope_core->proc~f_sts_cov_core proc~f_sts_var_core f_sts_var_core proc~f_sts_slope_core->proc~f_sts_var_core proc~f_sts_mean_core f_sts_mean_core proc~f_sts_cov_core->proc~f_sts_mean_core proc~f_sts_var_core->proc~f_sts_mean_core

Module Procedures

public impure function f_sts_slope(x, y) result(slope)

Impure wrapper function for f_sts_slope_core.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)

x vector (assumed size array)

real(kind=wp), intent(in) :: y(:)

y vector (assumed size array)

Return Value real(kind=wp)

slope/regression slope