Reports Pearson r, Spearman rho, MSE/MSPE, RMSE, R^2, calibration slope and intercept.
Value
list(estimate (Pearson r), pearson_r, morie_spearman_rho, mse, mspe, rmse, r2, slope, intercept, n, method).
Examples
morie_prediction_accuracy(y_true = rbinom(50, 1, 0.5), y_pred = rbinom(50, 1, 0.5))
#> $estimate
#> [1] -0.0527535
#>
#> $pearson_r
#> [1] -0.0527535
#>
#> $morie_spearman_rho
#> [1] -0.0527535
#>
#> $mse
#> [1] 0.5
#>
#> $mspe
#> [1] 0.5
#>
#> $rmse
#> [1] 0.7071068
#>
#> $r2
#> [1] -1.333333
#>
#> $slope
#> [1] -0.0487013
#>
#> $intercept
#> [1] 0.3214286
#>
#> $n
#> [1] 50
#>
#> $method
#> [1] "Pearson r + Spearman rho + MSE/MSPE + calibration"
#>
