fsml_pcc Interface

public interface fsml_pcc

Computes Pearson correlation coefficient (PCC). where is the Pearson correlation coefficient for vectors x and y, is the covariance of x and y, and and are the standard deviations of x and y.

Vectors x and y must be the same size.

Calls

interface~~fsml_pcc~~CallsGraph interface~fsml_pcc fsml_pcc proc~f_sts_pcc f_sts_pcc interface~fsml_pcc->proc~f_sts_pcc proc~f_sts_pcc_core f_sts_pcc_core proc~f_sts_pcc->proc~f_sts_pcc_core proc~s_err_print s_err_print proc~f_sts_pcc->proc~s_err_print proc~f_sts_cov_core f_sts_cov_core proc~f_sts_pcc_core->proc~f_sts_cov_core proc~f_sts_var_core f_sts_var_core proc~f_sts_pcc_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_pcc(x, y) result(corr)

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)

Pearson correlation coefficient