{"id":8838,"date":"2018-06-28T19:00:16","date_gmt":"2018-06-28T17:00:16","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8838"},"modified":"2018-06-28T19:00:16","modified_gmt":"2018-06-28T17:00:16","slug":"formula-de-covarianza-en-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/covar-formula-in-google-sheets\/","title":{"rendered":"C\u00f3mo utilizar la f\u00f3rmula COVAR en Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Analyzing the data leads us to multiple interpretations as to what the underlying nature is. And we have many important statistical tools and metrics that help us with this exercise. One such important metric that mathematicians have at their disposal is the covariance. It measures the joint variability of two random variables. Given two data sets, we can calculate this using the readily available<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093993\" target=\"_blank\" rel=\"noopener noreferrer\">COVAR<\/a>formula in Google Sheets.<\/p>\n<p>If the covariance is positive, it indicates that the variables tend to change together in the same direction. Whereas, the negative covariance indicates that they tend to change together in the opposite direction (i.e. increase in one leads to decrease in the other). If you are interested in understanding how we mathematically calculate the covariance, here\u2019s the<span>\u00a0<\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Covariance\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a><span>\u00a0<\/span>to it.<\/p>\n<h3>Syntax<\/h3>\n<p><strong>COVAR(data_y, data_x)<\/strong><\/p>\n<ul>\n<li><strong>data_y<\/strong><span>\u00a0<\/span>\u2013 is the range of values or a reference to the range of cells that consists of the dependent data.<\/li>\n<li><strong>data_x<\/strong><span>\u00a0<\/span>\u2013 is the range of values or a reference to the range of cells that consists of the independent data.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: COVAR formula in Google Sheets<\/h3>\n<p>Now let us go ahead and dive right into the practical application of this formula. Because examples always help us to reinforce our understanding. Please go through the following snapshot taken off the Google Sheets application.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COVAR-formula-Illustration-Frame-2.png&#8221; alt=&#8221;COVAR Formula in Google Sheets&#8221; title_text=&#8221;covar-formula&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The parameters accept\u00a0the input values in two different ways. We can either choose to input the direct numeric datasets using curly braces that indicate ranges (first example). Or we can simply use range references (final three example).<\/p>\n<p>You\u2019ll notice that we have used three different sets of y data against a single x dataset. There is no particular relation between the datasets in columns A and D. But, observe the data sets in columns B and C. And compare them with that of column D. You\u2019ll see they have positive and negative linear relationships respectively. The sign of the covariance shows the tendency in the linear relationship between the variables. This was evident from the third and fourth examples.<\/p>\n<p>However, it is not straightforward to interpret the magnitude of the covariance. That is because it is not normalized and hence depends on the magnitudes of the variables. If we need to gauge the strength of the linear relationship though, we can use the\u00a0<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/correlation-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">CORREL<\/a><span>\u00a0<\/span>formula.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Analyzing the data leads us to multiple interpretations as to what the underlying nature is. And we have many important statistical tools and metrics that help us with this exercise. One such important metric that mathematicians have at their disposal is the covariance. It measures the joint variability of two random variables. Given two data [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":8839,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"Analyzing the data leads us to multiple interpretations as to what the underlying nature is. And we have many important statistical tools and metrics that help us with this exercise. One such important metric that mathematicians have at their disposal is the covariance. It measures the joint variability of two random variables. Given two data sets, we can calculate this using the readily available <a href=\"https:\/\/support.google.com\/docs\/answer\/3093993\" target=\"_blank\" rel=\"noopener noreferrer\">COVAR<\/a> formula in Google Sheets.\n\nIf the covariance is positive, it indicates that the variables tend to change together in the same direction. Whereas, the negative covariance indicates that they tend to change together in the opposite direction (i.e. increase in one leads to decrease in the other). If you are interested in understanding how we mathematically calculate the covariance, here\u2019s the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Covariance\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a> to it.\n<h3>Syntax<\/h3>\n<strong>COVAR(data_y, data_x)<\/strong>\n<ul>\n \t<li><strong>data_y<\/strong> - is the range of values or a reference to the range of cells that consists of the dependent data.<\/li>\n \t<li><strong>data_x<\/strong> - is&nbsp;the range of values or a reference to the range of cells that consists of the independent data.<\/li>\n<\/ul>\n<h3>Usage: COVAR formula in Google Sheets<\/h3>\nNow let us go ahead and dive right into the practical application of this formula. Because examples always help us to reinforce our understanding. Please go through the following snapshot taken off the Google Sheets application.\n\n<img class=\"aligncenter wp-image-8955 size-full\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COVAR-formula-Illustration-Frame-2.png\" alt=\"COVAR formula in Google Sheets\" width=\"863\" height=\"554\">\n\nThe parameters accept&nbsp;the input values in two different ways. We can either choose to input the direct numeric datasets using curly braces that indicate ranges (first example). Or we can simply use range references (final three example).\n\nYou'll notice that we have used three different sets of y data against a single x dataset. There is no particular relation between the datasets in columns A and D. But, observe the data sets in columns B and C. And compare them with that of column D. You'll see they have positive and negative linear relationships respectively. The sign of the covariance shows the tendency in the linear relationship between the variables. This was evident from the third and fourth examples.\n\nHowever, it is not straightforward to interpret the magnitude of the covariance. That is because it is not normalized and hence depends on the magnitudes of the variables. If we need to gauge the strength of the linear relationship though, we can use the&nbsp;<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/correl-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">CORREL<\/a> formula.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/8838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=8838"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/8838\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/8839"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=8838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=8838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=8838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}