# Problem: contrib-prib-functions ---Corelationship, Covariance

**URL:** <https://discourse.nodered.org/t/problem-contrib-prib-functions-corelationship-covariance/72633>\
**Category:** General\
**Created:** [23 December 2022 14:18 UTC](https://discourse.nodered.org/t/problem-contrib-prib-functions-corelationship-covariance/72633 "2022-12-23T14:18:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsuratolya](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tsuratolya/32/59853_2.png) [@tsuratolya](https://discourse.nodered.org/u/tsuratolya)\
**Post date:** [23 December 2022 14:18 UTC](https://discourse.nodered.org/t/problem-contrib-prib-functions-corelationship-covariance/72633/1 "2022-12-23T14:18:58Z")

</div>

Help get results. I do not understand what is needed to get the result.

```auto
[
    {
        "id": "82ca4bd0ff1af07a",
        "type": "Data Analysis",
        "z": "eec42e70b4f2e4e6",
        "name": "Covariance",
        "action": "covariance",
        "columns": "",
        "outputs": 2,
        "outliersBase": "avg",
        "outliersStdDevs": "3",
        "term": "10",
        "keyProperty": "msg.topic",
        "dataProperty": "msg.payload",
        "dataProperties": [
            "msg.payload[0]",
            "msg.payload[1]"
        ],
        "x": 470,
        "y": 160,
        "wires": [
            [
                "cee757ca5c4ecd3a"
            ],
            [
                "9c6574412f180034",
                "55656602712e47f6",
                "14d604258dd22d21"
            ]
        ]
    },
    {
        "id": "cee757ca5c4ecd3a",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 670,
        "y": 40,
        "wires": []
    },
    {
        "id": "82c84d9bf32a2043",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 450,
        "y": 220,
        "wires": []
    },
    {
        "id": "98d7eff89261c687",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 410,
        "y": 100,
        "wires": []
    },
    {
        "id": "ad61f4e7b5d41ad4",
        "type": "Data Analysis",
        "z": "eec42e70b4f2e4e6",
        "name": "Corelationship",
        "action": "corelationship",
        "columns": "",
        "outputs": 2,
        "outliersBase": "avg",
        "outliersStdDevs": "3",
        "term": "10",
        "keyProperty": "msg.topic",
        "dataProperty": "msg.payload",
        "dataProperties": [
            "msg.payload[0]",
            "msg.payload[1]"
        ],
        "x": 460,
        "y": 360,
        "wires": [
            [
                "8b2216103f617e15"
            ],
            [
                "feadb730447b18d7"
            ]
        ]
    },
    {
        "id": "8b2216103f617e15",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "true",
        "targetType": "full",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 650,
        "y": 320,
        "wires": []
    },
    {
        "id": "feadb730447b18d7",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 650,
        "y": 400,
        "wires": []
    },
    {
        "id": "7bee945f178d39a2",
        "type": "inject",
        "z": "eec42e70b4f2e4e6",
        "name": "7",
        "props": [
            {
                "p": "payload[0]",
                "v": "[7,7]",
                "vt": "json"
            },
            {
                "p": "payload[1]",
                "v": "[7,7]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 210,
        "y": 360,
        "wires": [
            [
                "ad61f4e7b5d41ad4",
                "f5447d3027cc6299"
            ]
        ]
    },
    {
        "id": "53e2e4f9ad06808e",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 430,
        "y": 420,
        "wires": []
    },
    {
        "id": "f5447d3027cc6299",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 390,
        "y": 300,
        "wires": []
    },
    {
        "id": "f69d6f2aa8d010b8",
        "type": "inject",
        "z": "eec42e70b4f2e4e6",
        "name": "7",
        "props": [
            {
                "p": "payload[1]",
                "v": "[4,4,4,4,4]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 210,
        "y": 420,
        "wires": [
            [
                "53e2e4f9ad06808e",
                "ad61f4e7b5d41ad4"
            ]
        ]
    },
    {
        "id": "3330798c3722e5f6",
        "type": "inject",
        "z": "eec42e70b4f2e4e6",
        "name": "7",
        "props": [
            {
                "p": "payload[0]",
                "v": "[6,8]",
                "vt": "json"
            },
            {
                "p": "payload[1]",
                "v": "[7,2]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 230,
        "y": 220,
        "wires": [
            [
                "82ca4bd0ff1af07a",
                "82c84d9bf32a2043"
            ]
        ]
    },
    {
        "id": "9c6574412f180034",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "result",
        "targetType": "msg",
        "statusVal": "result",
        "statusType": "msg",
        "x": 690,
        "y": 140,
        "wires": []
    },
    {
        "id": "55656602712e47f6",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": true,
        "tostatus": true,
        "complete": "result",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 690,
        "y": 180,
        "wires": []
    },
    {
        "id": "14d604258dd22d21",
        "type": "debug",
        "z": "eec42e70b4f2e4e6",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": true,
        "tostatus": false,
        "complete": "result",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 690,
        "y": 220,
        "wires": []
    },
    {
        "id": "1225610996c17b89",
        "type": "inject",
        "z": "eec42e70b4f2e4e6",
        "name": "7",
        "props": [
            {
                "p": "payload[0]",
                "v": "[5,7]",
                "vt": "json"
            },
            {
                "p": "payload[1]",
                "v": "[1,2]",
                "vt": "json"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 230,
        "y": 120,
        "wires": [
            [
                "82ca4bd0ff1af07a",
                "98d7eff89261c687"
            ]
        ]
    }
]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 February 2023 14:19 UTC](https://discourse.nodered.org/t/problem-contrib-prib-functions-corelationship-covariance/72633/2 "2023-02-21T14:19:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
