{"Entry":{"collection":"func","key":"covar-samp","name":"covar_samp","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"6cf0c09477e775bc29d70286d057282096c010000cfbe447d7d6b6ee0e889b75","derived_content_hash":"45b2594b48df23cc6e2812f18611195d22c70ae37be4fb5c82df42eb8b5776c5","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:e4fabbca858c07c392425dd97ec38af14065f98418b6aff9fed665c4a1365cf6","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.2","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-27T17:57:28.919344+08:00","last_version":"20","name":"covar_samp","name_key":"covar_samp","position":21011,"present_in":["8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:1d47d990d3d69e04af48df0b0bbf9d95c20b7d0612e8ced812fe78e67363bd5e","receipt_sha256":"ceb05d178f88f1433c272bd33b2515798c59ccf2237b1d7e14ff380f87d657d6","repair":"wiki-repair-20261023"},"signature":"covar_samp ( Y double precision, X double precision ) → double precision","signature_count":1,"slug":"covar-samp","source_rev":"wiki-repair-20261023:e4fabbca858c07c392425dd97ec38af14065f98418b6aff9fed665c4a1365cf6","summary":"Computes the sample covariance.","summary_zh":""}},"Definition":{"Collection":"func","Key":"covar-samp","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"covar-samp","SourceRevision":"wiki-repair-20261023:e4fabbca858c07c392425dd97ec38af14065f98418b6aff9fed665c4a1365cf6","Facts":{"description":"Computes the sample covariance.","description_html":"Computes the sample covariance.","description_zh":"计算样本协方差。","description_zh_html":"计算样本协方差。","doc":{"anchor":"FUNCTIONS-AGGREGATE-STATISTICS-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","version":"18.7"},{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"0bf7506d27b71666fc74840a21a8f77c8a92735174f1d05033865961722e457c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"aggregate","group_label":"聚合函数","lang":"en","layout":"table-new","pages":["functions-aggregate.html"],"prose_only":false,"signatures":[{"description":"Computes the sample covariance.","description_html":"Computes the sample covariance.","description_zh":"计算样本协方差。","description_zh_html":"计算样本协方差。","examples":[],"html":"\u003ccode class=\"function\"\u003ecovar_samp\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eY\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eX\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"covar_samp ( Y double precision, X double precision ) → double precision","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-aggregate.html","sha256":"68da7af09e2749a855188bbbff99ae036fc7eece4e19b8e048baffd28aa3ca59"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-STATISTICS-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"covar-samp","SourceDatabase":"center","Version":"18","Locale":"en","Title":"covar_samp","Summary":"Computes the sample covariance.","BodyHTML":"Computes the sample covariance.","SourceRevision":"wiki-repair-20261023:e4fabbca858c07c392425dd97ec38af14065f98418b6aff9fed665c4a1365cf6","ContentHash":"6a2fb1e06827afec7f882da2d9bd182ca406a1a84c3a9217f9c3518bfb081205","Payload":{"description":"Computes the sample covariance.","description_html":"Computes the sample covariance.","signatures":[{"description":"Computes the sample covariance.","description_html":"Computes the sample covariance.","description_zh":"计算样本协方差。","description_zh_html":"计算样本协方差。","examples":[],"html":"\u003ccode class=\"function\"\u003ecovar_samp\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eY\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eX\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"covar_samp ( Y double precision, X double precision ) → double precision","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"3a0a7cafc81e967e5ce0993863660d3e2fc27eaaa5f41b77afa6e7c111e77049","Text":"covar_samp ( Y double precision, X double precision ) → double precision","Returns":"double precision","Payload":{"description":"Computes the sample covariance.","description_html":"Computes the sample covariance.","description_zh":"计算样本协方差。","description_zh_html":"计算样本协方差。","examples":[],"html":"\u003ccode class=\"function\"\u003ecovar_samp\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eY\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eX\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"covar_samp ( Y double precision, X double precision ) → double precision","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
