{"id":3230,"date":"2022-06-08T21:31:31","date_gmt":"2022-06-08T21:31:31","guid":{"rendered":"https:\/\/ricovictor.com\/?p=3230"},"modified":"2026-01-29T21:42:41","modified_gmt":"2026-01-29T21:42:41","slug":"variables-dicotomas-dummy-en-modelos-de-regresion","status":"publish","type":"post","link":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/","title":{"rendered":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3230\" class=\"elementor elementor-3230\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5664dd57 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5664dd57\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-wide\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-60ba3167\" data-id=\"60ba3167\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b747327 elementor-widget elementor-widget-text-editor\" data-id=\"1b747327\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Las <strong>variables Dic\u00f3tomas , tambi\u00e9n llamadas Dummy en ingl\u00e9s, son aquellas variables de car\u00e1cter cualitativo que podemos a\u00f1adir a modelos de regresi\u00f3n<\/strong>. Por ejemplo, en econom\u00eda variables cualitativas como sexo o raza pueden influir en muchos estudios. De forma que podemos a\u00f1adir a modelos de caracter cuantitativo tambi\u00e9n variables cualitativas.<\/p><p>Una manera de \u201ccuantificar\u201d tales atributos es mediante variables artificiales que toman los valores 0 o 1, donde 1 indica la presencia (o posesi\u00f3n) de ese atributo y 0 su ausencia. Un ejemplo que luego veremos en el tutorial es establecer si existe cambio estructural o no, poniendo 1 si existe ese cambio y 0 si no se da.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-7101f44d\" data-id=\"7101f44d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1dfeccf2 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"1dfeccf2\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3c982a1d elementor-widget elementor-widget-video\" data-id=\"3c982a1d\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=rjyqwcjliQc&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-759de23d elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"759de23d\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1272fe7b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1272fe7b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3cbbddb4\" data-id=\"3cbbddb4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-44f65680 elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"44f65680\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-arrow-circle-down\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65c016be elementor-widget elementor-widget-text-editor\" data-id=\"65c016be\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2>C\u00d3DIGO R<\/h2><p>\u00a0<\/p><p>#VARIABLES DICOTOMAS,BINARIAS,CATEGORICAS O DUMMY<\/p><p># Creamos las variable dicotoma a partir del punto de ruptura estructural<\/p><p># 0 antes de la ruptura<br \/># 1 despu\u00e9s de la ruptura<\/p><p><br \/>#install.packages(\u00abquantmod\u00bb)<br \/>library(quantmod)<br \/>#install.packages(\u00abtseries\u00bb)<br \/>library(tseries)<br \/>#install.packages(\u00abfImport\u00bb)<br \/>library(fImport)<\/p><p><br \/>Ahorro &lt;- c(61,68.6,63.6,89.6, 97.6,104.4,96.4,92.5,112.6,130.1,161.8,199.1,205.5,<br \/>167,235.7,206.2,196.5,168.4,189.1,187.8,208.7,246.4,272.6,214.4,189.4,249.3)<\/p><p>Ingreso &lt;- c( 727.1,790.2,855.3,965, 1054.2,1159.2,1273,1401.4,1580.1,1769.5,1973.3,2200.2,2347.3,<br \/>2522.4,2810,3002,3187.6,3363.1,3640.8,3894.5,4166.8,4343.7,4613.7,4790.2,<br \/>5021.7,5320.8)<\/p><p>s &lt;- as.Date(\u00ab1970-12-31\u00bb)<br \/>e &lt;- as.Date(\u00ab1995-12-31\u00bb)<\/p><p>seq(from=s, to=e, by=\u00bbyear\u00bb)<\/p><p>A\u00f1o &lt;- seq(from=s, to=e, by=\u00bbyear\u00bb)<\/p><p>tabla_ahorro_ingres &lt;- data.frame(A\u00f1o,Ahorro,Ingreso)<\/p><p>## Periodos que analizaremos- 1970 a 1981<br \/>## 1982 a 1995<\/p><p>plot(tabla_ahorro_ingres$Ahorro,type=\u00bbl\u00bb)<br \/>abline(v=12)<\/p><p>plot(tabla_ahorro_ingres$Ingreso,type=\u00bbl\u00bb)<br \/>abline(v=12)<\/p><p><br \/>#######<\/p><p>#######<\/p><p>ML_1 &lt;- lm(tabla_ahorro_ingres$Ahorro[1:12]~tabla_ahorro_ingres$Ingreso[1:12])<br \/>summary(ML_1)<br \/>SCR_1&lt;-sum(residuals(ML_1)^2)<\/p><p>ML_2 &lt;- lm(tabla_ahorro_ingres$Ahorro[13:26]~tabla_ahorro_ingres$Ingreso[13:26])<br \/>summary(ML_2)<\/p><p>SCR_2&lt;-sum(residuals(ML_2)^2)<\/p><p>ML_3 &lt;- lm(tabla_ahorro_ingres$Ahorro~tabla_ahorro_ingres$Ingreso)<br \/>summary(ML_3)<br \/>SCR_3&lt;-sum(residuals(ML_3)^2)<\/p><p># vemos claramente que la realci\u00f3n entre ahorro y el IPD no es la misma<br \/># en los dos subperiodos<\/p><p><br \/>#sumamos SCR1 y SCR2<\/p><p>SCRrn &lt;- SCR_1 + SCR_2<\/p><p>SCRrn<\/p><p>## CREACI\u00d3N DEL ESTADISTICO F<\/p><p>num_F &lt;- ((SCR_3-SCRrn)\/2)<br \/>den_F &lt;- SCRrn\/(12+14-4) #SCRrn\/n1 + n2 \u2013 2*k<\/p><p>Valor_F&lt;- num_F\/den_F<br \/>#2 Y 22 GL DENOMINADOR<br \/>F_al_0.99 &lt;- 5.72 # 2 gl en numerador y 22 denominador<\/p><p>## c\u00f3digo para directo desde R sin mirar la tabla<\/p><p>ft&lt;- qf(0.99,2,(12+14)-2*2)<br \/>ft<br \/>#qf(0.99,2,22)<\/p><p>p &lt;- df(Valor_F,2,22)*2<br \/>p<\/p><p><br \/>Valor_F<br \/>#95.75 valor tabla<br \/># distirbucion F (2 y 22)<\/p><p>#Si valor F calculado &lt; valor critico tabla F = NO hay cambio estructural<br \/>#si valor F calculado &gt; valor critico tabla F = Hay cambio estructural<\/p><p>\u00a0<\/p><p># TEST DE SHOW CON LOS PAQUETES EN R<\/p><p>#install.packages(\u00abstrucchange\u00bb)<br \/>#install.packages(\u00abRtools\u00bb)<br \/>library(strucchange)<\/p><p>sctest (Ahorro~Ingreso, type = \u00abChow\u00bb, point = 12 )<\/p><p>## Vams a crear nuestra variable dic\u00f3toma o dummy<\/p><p>12+14<\/p><p>dum_var &lt;- as.matrix(c(rep(0,12),rep(1,14)))<\/p><p><br \/># una vez tenemos la varible la introducimos en el modelo de regresi\u00f3n lineal<\/p><p>#MODELO REGRESI\u00d3N LINEAL CON DUMMY<\/p><p>ML_3 &lt;- lm(tabla_ahorro_ingres$Ahorro~tabla_ahorro_ingres$Ingreso)<br \/>summary(ML_3)<\/p><p><br \/>ML_DUM &lt;- lm(tabla_ahorro_ingres$Ahorro~tabla_ahorro_ingres$Ingreso+dum_var)<br \/>summary(ML_DUM)<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Las variables Dic\u00f3tomas , tambi\u00e9n llamadas Dummy en ingl\u00e9s, son aquellas variables de car\u00e1cter cualitativo que podemos a\u00f1adir a modelos de regresi\u00f3n. Por ejemplo, en econom\u00eda variables cualitativas como sexo o raza pueden influir en muchos estudios. De forma que podemos a\u00f1adir a modelos de caracter cuantitativo tambi\u00e9n variables cualitativas. Una manera de \u201ccuantificar\u201d tales &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\"> <span class=\"screen-reader-text\">Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n<\/span> Leer m\u00e1s &raquo;<\/a><\/p>\n","protected":false},"author":19,"featured_media":3232,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\" \/>\n<meta property=\"og:description\" content=\"Las variables Dic\u00f3tomas , tambi\u00e9n llamadas Dummy en ingl\u00e9s, son aquellas variables de car\u00e1cter cualitativo que podemos a\u00f1adir a modelos de regresi\u00f3n. Por ejemplo, en econom\u00eda variables cualitativas como sexo o raza pueden influir en muchos estudios. De forma que podemos a\u00f1adir a modelos de caracter cuantitativo tambi\u00e9n variables cualitativas. Una manera de \u201ccuantificar\u201d tales &hellip; Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n Leer m\u00e1s &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\" \/>\n<meta property=\"og:site_name\" content=\"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-08T21:31:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-29T21:42:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ricovictor.com\/wp-content\/uploads\/2022\/06\/victor-a.rico-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Victor A.Rico\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Victor A.Rico\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\"},\"author\":{\"name\":\"Victor A.Rico\",\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae\"},\"headline\":\"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n\",\"datePublished\":\"2022-06-08T21:31:31+00:00\",\"dateModified\":\"2026-01-29T21:42:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\"},\"wordCount\":520,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ricovictor.com\/#organization\"},\"articleSection\":[\"Econometr\u00eda y Estad\u00edstica\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\",\"url\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\",\"name\":\"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\",\"isPartOf\":{\"@id\":\"https:\/\/ricovictor.com\/#website\"},\"datePublished\":\"2022-06-08T21:31:31+00:00\",\"dateModified\":\"2026-01-29T21:42:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/ricovictor.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ricovictor.com\/#website\",\"url\":\"https:\/\/ricovictor.com\/\",\"name\":\"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ricovictor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ricovictor.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ricovictor.com\/#organization\",\"name\":\"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\",\"url\":\"https:\/\/ricovictor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ricovictor.com\/wp-content\/uploads\/2026\/02\/cropped-ChatGPT-Image-4-feb-2026-12_41_28.png\",\"contentUrl\":\"https:\/\/ricovictor.com\/wp-content\/uploads\/2026\/02\/cropped-ChatGPT-Image-4-feb-2026-12_41_28.png\",\"width\":1402,\"height\":474,\"caption\":\"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\"},\"image\":{\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae\",\"name\":\"Victor A.Rico\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4edf55780c0c232271ecbcb12fae9460?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4edf55780c0c232271ecbcb12fae9460?s=96&d=mm&r=g\",\"caption\":\"Victor A.Rico\"},\"url\":\"https:\/\/ricovictor.com\/index.php\/author\/granada_26_wp\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/","og_locale":"es_ES","og_type":"article","og_title":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","og_description":"Las variables Dic\u00f3tomas , tambi\u00e9n llamadas Dummy en ingl\u00e9s, son aquellas variables de car\u00e1cter cualitativo que podemos a\u00f1adir a modelos de regresi\u00f3n. Por ejemplo, en econom\u00eda variables cualitativas como sexo o raza pueden influir en muchos estudios. De forma que podemos a\u00f1adir a modelos de caracter cuantitativo tambi\u00e9n variables cualitativas. Una manera de \u201ccuantificar\u201d tales &hellip; Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n Leer m\u00e1s &raquo;","og_url":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/","og_site_name":"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","article_published_time":"2022-06-08T21:31:31+00:00","article_modified_time":"2026-01-29T21:42:41+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/ricovictor.com\/wp-content\/uploads\/2022\/06\/victor-a.rico-1.jpg","type":"image\/jpeg"}],"author":"Victor A.Rico","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Victor A.Rico","Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#article","isPartOf":{"@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/"},"author":{"name":"Victor A.Rico","@id":"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae"},"headline":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n","datePublished":"2022-06-08T21:31:31+00:00","dateModified":"2026-01-29T21:42:41+00:00","mainEntityOfPage":{"@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/"},"wordCount":520,"commentCount":0,"publisher":{"@id":"https:\/\/ricovictor.com\/#organization"},"articleSection":["Econometr\u00eda y Estad\u00edstica"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/","url":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/","name":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","isPartOf":{"@id":"https:\/\/ricovictor.com\/#website"},"datePublished":"2022-06-08T21:31:31+00:00","dateModified":"2026-01-29T21:42:41+00:00","breadcrumb":{"@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ricovictor.com\/index.php\/2022\/06\/08\/variables-dicotomas-dummy-en-modelos-de-regresion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/ricovictor.com\/"},{"@type":"ListItem","position":2,"name":"Variables Dic\u00f3tomas (Dummy) en Modelos de Regresi\u00f3n"}]},{"@type":"WebSite","@id":"https:\/\/ricovictor.com\/#website","url":"https:\/\/ricovictor.com\/","name":"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","description":"","publisher":{"@id":"https:\/\/ricovictor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ricovictor.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/ricovictor.com\/#organization","name":"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","url":"https:\/\/ricovictor.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/ricovictor.com\/#\/schema\/logo\/image\/","url":"https:\/\/ricovictor.com\/wp-content\/uploads\/2026\/02\/cropped-ChatGPT-Image-4-feb-2026-12_41_28.png","contentUrl":"https:\/\/ricovictor.com\/wp-content\/uploads\/2026\/02\/cropped-ChatGPT-Image-4-feb-2026-12_41_28.png","width":1402,"height":474,"caption":"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas"},"image":{"@id":"https:\/\/ricovictor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae","name":"Victor A.Rico","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/ricovictor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4edf55780c0c232271ecbcb12fae9460?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4edf55780c0c232271ecbcb12fae9460?s=96&d=mm&r=g","caption":"Victor A.Rico"},"url":"https:\/\/ricovictor.com\/index.php\/author\/granada_26_wp\/"}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts\/3230"}],"collection":[{"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/comments?post=3230"}],"version-history":[{"count":4,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts\/3230\/revisions"}],"predecessor-version":[{"id":3235,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts\/3230\/revisions\/3235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/media\/3232"}],"wp:attachment":[{"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/media?parent=3230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/categories?post=3230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/tags?post=3230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}