Ковариационная функция в системе Mathematica - PullRequest
0 голосов
/ 02 августа 2020

Я пытаюсь использовать функцию ковариации в математике, используя следующую команду:

LCotMartor = 10.33
LCotBiovit = 10.66
LCotReglag = 10.77

Grid[
 {{"Comparație", "Covariance", "Correlation"},
  {"LCotMartor vs LCotBiovit", Covariance[LCotMartor, LCotBiovit], 
   Correlation[LCotMartor, LCotBiovit]},
  { "LCotMartor vs LCotReglag", Covariance[LCotMartor, LCotReglag], 
   Correlation[LCotMartor, LCotReglag]}},
  Frame -> All , 
  Background -> {{White, {White}}, {None, {Green, Green, Yellow, 
      Yellow}}}, Dividers -> {2 -> True, 2 -> True}, 
  Frame -> {{True}, {True}}, 
  FrameStyle -> Directive[Thickness[2], Blue] // N]

Затем я получаю следующую ошибку: Covariance :: vctmat: аргументы ковариации не являются парой векторов или пара матриц одинаковой длины.

...