Fetch Correlation
Analysis / Advanced Stats
Fetch Correlation
Description
Get correlation analysis for scale, numeric and grid questions.
Payload
{
"fromDate": string,
"toDate": string,
"filter": array,
"groups": object
}
where:
fromDate: start date in ISO format. (Required).toDate: end date in ISO format. (Required).filter: array of filters to filter the responses. (Optional).groups: Object indexed by question id with aqas prefix. Every key has assigned an array with the question ids withqprefix that are the same question through different concepts inside a concept test. Only needed for project with Concept Test or Question Loops (Optional).
Response
200 OK
{
"matrix": array,
"questionsIds": array,
}
where:
matrix: An array of objects containing the relation between every question.matrix[].r: Relation coefficient between the questions.matrix[].p: Pearson’s coefficient between the questions.questionsIds: Question ids for the questions correlated.
400 Bad Request
Missing or invalid
fromDate/toDate/projectIdfields.
401 Unauthorized
Invalid authorization.
404 Not Found
Resource not found.
500 Internal Server Error
Error occurred in the service.
POST
Fetch Correlation
Description
Get correlation analysis for scale, numeric and grid questions.Payload
fromDate: start date in ISO format. (Required).toDate: end date in ISO format. (Required).filter: array of filters to filter the responses. (Optional).groups: Object indexed by question id with aqas prefix. Every key has assigned an array with the question ids withqprefix that are the same question through different concepts inside a concept test. Only needed for project with Concept Test or Question Loops (Optional).
Response
200 OK
matrix: An array of objects containing the relation between every question.matrix[].r: Relation coefficient between the questions.matrix[].p: Pearson’s coefficient between the questions.questionsIds: Question ids for the questions correlated.
400 Bad Request
Missing or invalidfromDate/toDate/projectIdfields.
401 Unauthorized
Invalid authorization.
404 Not Found
Resource not found.
500 Internal Server Error
Error occurred in the service.