Skip to content

Help with manipulation of matrix object

2 messages · Jeremy Ng, Gerrit Eichner

#
Hi, Jeremy!
Hm, I think you have to be more precise since the probability to observe a 
specific value under the assumption of a continuous distribution (e.g., 
the normal distribution) is zero -- always.

And you presumably do not want the first column to be included in the 
calculation of the median, the sd, and finally the probability, do you?


However, if I understand correctly, you could maybe proceed as follows: 
With
you could standardize the rows of your matrix by
(utilizing the way matrices and vectors are handled in arithmetic 
expression), and then use relations within the family of normal 
distributions to compute density or cumulative probability values by
Hth  --  Gerrit