الإحصاء والبياناتالبرمجة وتحليل البيانات النفسية

كيفية إجراء اختبار الارتباط في بايثون (مع مثال)

دليل أكاديمي شامل يوضح كيفية إجراء اختبار الارتباط الخطي بيرسون وحساب الدلالة الإحصائية في لغة بايثون باستخدام مكتبة SciPy مع أمثلة وتطبيقات عملية متقدمة.

تاريخ النشر

{
“response”: {
“candidates”: [
{
“content”: {},
“finishReason”: “RECITATION”,
“finishMessage”: “The generated content was filtered because it may contain material that resembles existing copyrighted works. Try rephrasing the prompt. If you think this was an error, [send feedback](https://ai.google.dev/gemini-api/docs/troubleshooting).”,
“citationMetadata”: {
“citations”: [
{
“startIndex”: 64654,
“endIndex”: 64929,
“uri”: “https://arxiv.org/html/2405.07168v1”
}
]
}
}
],
“usageMetadata”: {
“promptTokenCount”: 4519,
“totalTokenCount”: 6438,
“thoughtsTokenCount”: 1919
},
“modelVersion”: “gemini-3.7-flash-tiered”,
“responseId”: “IYiWaujjNpz4nsEPnsnToQ0”
},
“traceId”: “9dfd1ef3a2b24de”,
“metadata”: {}
}

اقتباس هذا المقال

looti, M. (2026, سبتمبر 1). كيفية إجراء اختبار الارتباط في بايثون (مع مثال). عرب سايكلوجي. https://arabpsychology.com/statistics/how-to-perform-correlation-test-python-example/
looti, Mohammed. “كيفية إجراء اختبار الارتباط في بايثون (مع مثال).” عرب سايكلوجي, 1 سبتمبر 2026, https://arabpsychology.com/statistics/how-to-perform-correlation-test-python-example/.
looti, Mohammed. “كيفية إجراء اختبار الارتباط في بايثون (مع مثال).” عرب سايكلوجي. سبتمبر 1, 2026. https://arabpsychology.com/statistics/how-to-perform-correlation-test-python-example/.