[datatable-help] How to calculate the minimum standard deviation?

quique3716 quique_3716 at hotmail.com
Mon Oct 31 20:02:18 CET 2016


Dear users,

Given the vectors A and B,

A = c(8692,8654,8758,8813,8637,8381,8428,8501,8321,8033)
B = c(4,3.896,3.906,3.859,3.707,3.52,3.595,3.719,3.648,3.47)

How can I find the value of number n that gives the minimum standard
deviation value according to:

sd(A-n*B)

Thank you very much in advance



--
View this message in context: http://r.789695.n4.nabble.com/How-to-calculate-the-minimum-standard-deviation-tp4726102.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list