fsml_trend Interface

public interface fsml_trend

Computes regression coefficient/trend. where is the slope of the regression line (linear trend), 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_trend~~CallsGraph interface~fsml_trend fsml_trend proc~f_sts_trend f_sts_trend interface~fsml_trend->proc~f_sts_trend proc~f_sts_trend_core f_sts_trend_core proc~f_sts_trend->proc~f_sts_trend_core proc~s_err_print s_err_print proc~f_sts_trend->proc~s_err_print proc~f_sts_cov_core f_sts_cov_core proc~f_sts_trend_core->proc~f_sts_cov_core proc~f_sts_var_core f_sts_var_core proc~f_sts_trend_core->proc~f_sts_var_core proc~f_utl_r2c f_utl_r2c proc~s_err_print->proc~f_utl_r2c 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_trend(x, y) result(trend)

Impure wrapper function for f_sts_trend_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)

trend/regression slope