Calculate the correlation coefficient of two-dimensional discrete distribution online

发布日期 : 2021-01-28 01:19:09 UTC      

分类 : Probability

Calculate the correlation coefficient ρ of a two-dimensional discrete random vector (<i>X</i>, <i>Y</i>) with only a finite number of values, and the <i> obtained for the correlation coefficient ρ Mathematical expectations of X</i> and <i>Y</i>E(<i>X</i>),E(<i>Y</i>),variance is D(<i>X</i>),D(<i>Y</i>),标准差σ<sub><i>X</i></sub>,σ<sub><i>Y</i></su

In the input box below, enter three sets of data separated by two "|" characters. Each real number of each set of data is separated by a comma. These real numbers can be entered as fractions, for example, 2/3 represents three points. Second, you can also enter in decimal form.

The first set of data is all possible values for <i>X</i> is <i>x</i><sub>1</sub>,<i>x</i><sub>2</sub>,...,<i>x<sub>n</sub></i>,The second set of data is <i>Y</i> all possible values are <i>y</i><sub>1</sub>,<i>y</i><sub>2</sub>,...,<i>y<sub>m</sub></i>,The third set of data is (<i>X</i>,<i>Y</i>) probability of all possible pairs of values <i>p</i><sub>11</sub>,<i>p</i><sub>12</sub>,...,<i>p</i><sub>1<i>n</i></sub>, <i>p</i><sub>21</sub>,<i>p</i><sub>22</sub>,...,<i>p</i><sub>2<i>n</i></sub>,...<i>p<sub>m</sub></i><sub>1</sub>,<i>p<sub>m</sub></i><sub>2</sub>,...,<i>p<sub>mn</sub></i>。

Click the "Start Calculation" button after entering the data and you will get the desired calculation result.