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.1272142
#>
#> $pearson_r
#> [1] -0.1272142
#>
#> $morie_spearman_rho
#> [1] -0.1272142
#>
#> $mse
#> [1] 0.56
#>
#> $mspe
#> [1] 0.56
#>
#> $rmse
#> [1] 0.7483315
#>
#> $r2
#> [1] -1.20934
#>
#> $slope
#> [1] -0.1272142
#>
#> $intercept
#> [1] 0.5185185
#>
#> $n
#> [1] 50
#>
#> $method
#> [1] "Pearson r + Spearman rho + MSE/MSPE + calibration"
#>