{"id":"correlation-spearman","version":"1.0.0","description":"Compute Spearman rank correlation with average ranks for ties and return a rounded decimal coefficient.","supported_operations":["spearman correlation between two columns","calculate rank correlation with ties","compare monotonic association of two series","rank paired values and correlate them","find Spearman rho from decimal columns","nonparametric correlation coefficient"],"unsupported_operations":["correlation significance test or p-value","missing-value imputation","custom tie-breaking ranks"],"semantics":["The coefficient is rounded to precision decimal places, with exact halves away from zero; rounded zero has no minus sign.","Inputs are paired decimal strings or finite JSON numbers; decimal text is interpreted exactly.","Equal values receive the exact average of their one-based ranks, then Pearson correlation of ranks is evaluated rationally.","Constant rank columns produce not_computable. No significance test, confidence interval, or p-value is computed.","standard_version is R92-NIST-Dataplot-Kendall1945-v1."],"limits":{"max_input_bytes":16384,"max_items":128,"max_decimal_chars":128,"max_iterations":8128,"max_output_bytes":93},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["x","y","precision"],"properties":{"x":{"type":"array","minItems":2,"maxItems":128,"items":{"type":["string","number"]}},"y":{"type":"array","minItems":2,"maxItems":128,"items":{"type":["string","number"]}},"precision":{"type":"integer","minimum":0,"maximum":18}}},"output_schema":{"type":"object","additionalProperties":false,"required":["correlation","standard_version"],"properties":{"correlation":{"type":"string","maxLength":21,"pattern":"^-?(?:0|1)(?:\\.\\d{1,18})?$"},"standard_version":{"type":"string","const":"R92-NIST-Dataplot-Kendall1945-v1"}}},"examples":[{"input":{"x":[1,2,3],"y":[10,20,30],"precision":4},"output":{"correlation":"1.0000","standard_version":"R92-NIST-Dataplot-Kendall1945-v1"}},{"input":{"x":[1,1,2,3],"y":[1,2,2,4],"precision":6},"output":{"correlation":"0.833333","standard_version":"R92-NIST-Dataplot-Kendall1945-v1"}}],"execute_url":"/v1/tools/correlation-spearman/versions/1.0.0/execute"}