{"id":12450,"date":"2023-10-11T14:59:44","date_gmt":"2023-10-11T09:29:44","guid":{"rendered":"https:\/\/skillioma.com\/learn\/courses\/ai-ml-nascomm-fsp\/lesson\/relationship-between-variables-regression-correlation-covariance-2\/"},"modified":"2024-02-02T16:15:14","modified_gmt":"2024-02-02T10:45:14","slug":"relationship-between-variables-regression-correlation-covariance-2","status":"publish","type":"lesson","link":"https:\/\/skillioma.com\/learn\/courses\/ai-ml-and-data-science-foundation-nascomm-fsp\/lesson\/relationship-between-variables-regression-correlation-covariance-2\/","title":{"rendered":"Relationship Between Variables &#8211; Regression \/ Correlation \/ covariance"},"content":{"rendered":"<p><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Regression, Correlation, and Covariance are related statistical concepts, each serving specific purposes, but they also inform one another.<\/span><\/p>\n<p><b>&nbsp;<\/b><\/p>\n<h4><b>Regression:<\/b><\/h4>\n<p><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Regression is a statistical analysis used to predict the value of one variable based on the value(s) of one or more other variables. The most common form of regression is linear regression.<\/span><\/p>\n<p><\/p>\n<p><b>Linear Regression Formula (Simple Linear Regression):<\/b><\/p>\n<p><a href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression.png\" data-mce-href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-12514\" src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression.png\" alt=\"\" width=\"512\" height=\"215\" data-mce-src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression.png\" srcset=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression.png 512w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression-300x126.png 300w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Regression-119x50.png 119w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><br data-mce-bogus=\"1\"><\/p>\n<p><\/p>\n<h4><b>Correlation:<\/b><\/h4>\n<p><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Correlation measures the strength and direction of a linear relationship between two variables. It gives a value between -1 and 1.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">A value closer to 1 implies a strong positive correlation: as one variable increases, the other also tends to increase.<\/span><\/li>\n<li style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">A value closer to -1 implies a strong negative correlation: as one variable increases, the other tends to decrease.<\/span><\/li>\n<li style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">A value closer to 0 implies little to no linear relationship between the variables.<\/span><\/li>\n<\/ul>\n<p><\/p>\n<p><b>Pearson Correlation Coefficient Formula:<\/b><\/p>\n<p><a href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation.png\" data-mce-href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-12513\" src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation.png\" alt=\"\" width=\"512\" height=\"186\" data-mce-src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation.png\" srcset=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation.png 512w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation-300x109.png 300w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/correrelation-138x50.png 138w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><br data-mce-bogus=\"1\"><\/p>\n<h4><b>Covariance:&nbsp;<\/b><\/h4>\n<p><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Covariance indicates the direction of the linear relationship between variables.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Positive covariance: If one variable tends to go up when the other goes up, there is a positive covariance.<\/span><\/li>\n<li style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\">Negative covariance: If one variable tends to go down when the other goes up, there is a negative covariance.<\/span><\/li>\n<\/ul>\n<p><\/p>\n<p><b>Covariance Formula:<\/b><\/p>\n<p><a href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane.png\" data-mce-href=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-12488\" src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane.png\" alt=\"\" width=\"512\" height=\"219\" data-mce-src=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane.png\" srcset=\"https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane.png 512w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane-300x128.png 300w, https:\/\/skillioma.com\/learn\/wp-content\/uploads\/2023\/10\/Covariane-117x50.png 117w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><br data-mce-bogus=\"1\"><\/p>\n<p><\/p>\n<p><b>In summary:<\/b><\/p>\n<p><b>Regression<\/b><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"> is used to predict and model relationships between variables.<\/span><\/p>\n<p><b>Correlation<\/b><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"> measures the strength and direction of a linear relationship.<\/span><\/p>\n<p><b>Covariance<\/b><span style=\"font-weight: 400\" data-mce-style=\"font-weight: 400;\"> provides a measure of how two variables change together.<\/span><\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","class_list":["post-12450","lesson","type-lesson","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/skillioma.com\/learn\/wp-json\/wp\/v2\/lesson\/12450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skillioma.com\/learn\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/skillioma.com\/learn\/wp-json\/wp\/v2\/types\/lesson"}],"replies":[{"embeddable":true,"href":"https:\/\/skillioma.com\/learn\/wp-json\/wp\/v2\/comments?post=12450"}],"wp:attachment":[{"href":"https:\/\/skillioma.com\/learn\/wp-json\/wp\/v2\/media?parent=12450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}