finding MSE of elements in an array

I am trying to calculate MSE of some elements that are in an array, for example:
a=[2,3,4,16,7,19,10]
how can I find MSE for the values of this array?

 Risposta accettata

Star Strider
Star Strider il 11 Feb 2018

0 voti

The Wikipedia article on Mean squared error (link) states ‘For an unbiased estimator, the MSE is the variance of the estimator.’ I would use the var (link) function.

Più risposte (0)

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by