d_score: d score

View source: R/d_score.R

d_scoreR Documentation

d score

Description

d score measures the similarity of two square matrix with same dimension. d_score equals 0 if the estimator is a column permutation of true value.

Usage

d_score(estimator, true_value)

Arguments

estimator

A square matrix, usually an estimator of the true_value matrix.

true_value

A square matrix, which the estimator is compared to.

Value

A numeric value in [0,1].

Examples

d_score(diag(3), diag(3))

BSSoverSpace documentation built on Nov. 11, 2022, 1:06 a.m.