{"id":3030,"date":"2021-10-21T16:12:56","date_gmt":"2021-10-21T16:12:56","guid":{"rendered":"https:\/\/ricovictor.com\/?p=3030"},"modified":"2026-01-29T21:45:06","modified_gmt":"2026-01-29T21:45:06","slug":"prediccion-con-modelos-autorregresivos-ar-en-r","status":"publish","type":"post","link":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/","title":{"rendered":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3030\" class=\"elementor elementor-3030\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-16027f53 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"16027f53\" 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-517d5d6c\" data-id=\"517d5d6c\" 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-eb988df elementor-widget elementor-widget-spacer\" data-id=\"eb988df\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/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-4328b8f2 elementor-widget elementor-widget-text-editor\" data-id=\"4328b8f2\" 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>En este video vamos a ver como podemos realizar una <strong>Predicci\u00f3n con Modelos Autorregresivos(AR) usando R. <\/strong><\/p><p>Dentro de la estad\u00edstica, un modelo autorregresivo (AR) es una representaci\u00f3n de un proceso aleatorio(estoc\u00e1stico), en el que la variable de inter\u00e9s depende de sus observaciones pasadas.<\/p><p>Espec\u00edficamente, la variable de inter\u00e9s o de salida, depende linealmente de sus valores anteriores. Este tutorial es continuaci\u00f3n del siguiente video que ya realic\u00e9 hace unas semanas. Puedes revisarlo si no sabes de que va el tema.<\/p><p><strong>M\u00e1s abajo tienes el C\u00d3DIGO EN R usado en el video<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-52ed24fb elementor-view-stacked elementor-shape-circle elementor-widget elementor-widget-icon\" data-id=\"52ed24fb\" 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=\"far fa-hand-point-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\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-53b1e8e8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"53b1e8e8\" 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-23012fa0\" data-id=\"23012fa0\" 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-18569243 elementor-widget elementor-widget-video\" data-id=\"18569243\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/ih__gkbiNR4&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\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-beafcb9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"beafcb9\" 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-a91c4ff\" data-id=\"a91c4ff\" 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-3886ae5 elementor-widget elementor-widget-text-editor\" data-id=\"3886ae5\" 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><em><strong>C\u00d3DIGO EN R<\/strong><\/em><\/p><p>\u00a0<\/p><p><strong>#video Proceso Autoregresivo (AR)<\/strong><\/p><p>#install.packages(\u00abquantmod\u00bb)<br \/>library(quantmod)<br \/>#install.packages(\u00abtseries\u00bb)<br \/>library(tseries)<br \/>#install.packages(\u00abforecast\u00bb)<br \/>library(forecast)<br \/>#install.packages(\u00abTSA\u00bb)<br \/>library(TSA)<br \/>#install.packages(\u00abQuandl\u00bb)<br \/>library(Quandl)<br \/>library(stats)<\/p><p>#getSymbols(\u00abCPIAUCNS\u00bb,src=\u00bbFRED\u00bb)<\/p><p>getSymbols(\u00abEXUSEU\u00bb,src=\u00bbFRED\u00bb)<\/p><p>plot(EXUSEU,type=\u00bbl\u00bb)<\/p><p>#Modelo AR(1)<\/p><p>MAR_100= Arima(EXUSEU,order=c(1,0,0))<br \/>MAR_100<\/p><p>residuos &lt;- MAR_100$residuals<\/p><p>plot(residuos,type=\u00bbl\u00bb)<\/p><p>summary(MAR_100)<\/p><p>#adf.test(EXUSEU)<\/p><p>ar1 &lt;- arima(EXUSEU,order=c(2,0,0))<br \/>ar1<\/p><p># PREDICCI\u00d3N CON MODELO AR(AUTOREGRESIVOS)<\/p><p>EURUSD_ts &lt;- ts( EXUSEU$EXUSEU)<br \/>val_fijados &lt;- EURUSD_ts &#8211; residuos<\/p><p>plot(EURUSD_ts,type=\u00bbl\u00bb)<br \/>lines(val_fijados,type=\u00bbl\u00bb,col=\u00bbred\u00bb)<\/p><p># Pasos<\/p><p>#1 FIJAR EL MODELO<br \/>#2 REALIZAMOS LA PREDICCI\u00d3N &#8212; predict<br \/>#3 A\u00d1ADIMOS UN INTERVALO DE CONFIANZA<\/p><p>#1<\/p><p>MAR_100= Arima(EXUSEU,order=c(1,0,0))<br \/>MAR_100<\/p><p>residuos &lt;- MAR_100$residuals<\/p><p>plot(residuos,type=\u00bbl\u00bb)<\/p><p>summary(MAR_100)<\/p><p>#2 PREDICT<\/p><p>MAR_predict &lt;- predict(MAR_100, n.ahead = 10)<br \/>#Modelo AR, num pred <br \/>MAR_predict<\/p><p>MAR_prediccion &lt;- MAR_predict$pred<br \/>plot(MAR_prediccion,type=\u00bbl\u00bb)<\/p><p>MAR_error &lt;- MAR_predict$se<br \/>plot(MAR_error,type=\u00bbl\u00bb)<\/p><p>plot.ts(EURUSD_ts,xlim = c(0, 300),type=\u00bbl\u00bb)<\/p><p>points(MAR_prediccion , type = \u00abl\u00bb, col = \u00abblue\u00bb)<\/p><p>#3 intevalos confianza<\/p><p>int_conf &lt;- data.frame(MAR_prediccion-MAR_error,MAR_prediccion,MAR_prediccion+MAR_error)<\/p><p>int_conf_2 &lt;- data.frame(MAR_prediccion-(MAR_error*2),MAR_prediccion,MAR_prediccion+(MAR_error*2))<\/p><p>plot.ts(EURUSD_ts,xlim = c(0, 300),type=\u00bbl\u00bb)<\/p><p>points(MAR_prediccion , type = \u00abl\u00bb, col = \u00abblue\u00bb)<br \/>points(MAR_prediccion &#8211; MAR_error*2, type = \u00abl\u00bb, col = \u00abred\u00bb, lty = 2)<br \/>points(MAR_prediccion + MAR_error*2, type = \u00abl\u00bb, col = \u00abred\u00bb, lty = 2)<\/p><p>points(MAR_prediccion &#8211; MAR_error, type = \u00abl\u00bb, col = \u00abgreen\u00bb, lty = 2)<br \/>points(MAR_prediccion + MAR_error, type = \u00abl\u00bb, col = \u00abgreen\u00bb, lty = 2)<\/p><p># R2 =1- SCE\/SCT<\/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>En este video vamos a ver como podemos realizar una Predicci\u00f3n con Modelos Autorregresivos(AR) usando R. Dentro de la estad\u00edstica, un modelo autorregresivo (AR) es una representaci\u00f3n de un proceso aleatorio(estoc\u00e1stico), en el que la variable de inter\u00e9s depende de sus observaciones pasadas. Espec\u00edficamente, la variable de inter\u00e9s o de salida, depende linealmente de sus &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\"> <span class=\"screen-reader-text\">Predicci\u00f3n con Modelos Autorregresivos (AR) en R<\/span> Leer m\u00e1s &raquo;<\/a><\/p>\n","protected":false},"author":19,"featured_media":3035,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_canvas","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>Predicci\u00f3n con Modelos Autorregresivos (AR) en R - 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\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Predicci\u00f3n con Modelos Autorregresivos (AR) en R - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\" \/>\n<meta property=\"og:description\" content=\"En este video vamos a ver como podemos realizar una Predicci\u00f3n con Modelos Autorregresivos(AR) usando R. Dentro de la estad\u00edstica, un modelo autorregresivo (AR) es una representaci\u00f3n de un proceso aleatorio(estoc\u00e1stico), en el que la variable de inter\u00e9s depende de sus observaciones pasadas. Espec\u00edficamente, la variable de inter\u00e9s o de salida, depende linealmente de sus &hellip; Predicci\u00f3n con Modelos Autorregresivos (AR) en R Leer m\u00e1s &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\" \/>\n<meta property=\"og:site_name\" content=\"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-21T16:12:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-29T21:45:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ricovictor.com\/wp-content\/uploads\/2021\/10\/victor-a.rico-44-1.png\" \/>\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\/png\" \/>\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=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\"},\"author\":{\"name\":\"Victor A.Rico\",\"@id\":\"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae\"},\"headline\":\"Predicci\u00f3n con Modelos Autorregresivos (AR) en R\",\"datePublished\":\"2021-10-21T16:12:56+00:00\",\"dateModified\":\"2026-01-29T21:45:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\"},\"wordCount\":405,\"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\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\",\"url\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\",\"name\":\"Predicci\u00f3n con Modelos Autorregresivos (AR) en R - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas\",\"isPartOf\":{\"@id\":\"https:\/\/ricovictor.com\/#website\"},\"datePublished\":\"2021-10-21T16:12:56+00:00\",\"dateModified\":\"2026-01-29T21:45:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/ricovictor.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Predicci\u00f3n con Modelos Autorregresivos (AR) en R\"}]},{\"@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":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R - 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\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/","og_locale":"es_ES","og_type":"article","og_title":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","og_description":"En este video vamos a ver como podemos realizar una Predicci\u00f3n con Modelos Autorregresivos(AR) usando R. Dentro de la estad\u00edstica, un modelo autorregresivo (AR) es una representaci\u00f3n de un proceso aleatorio(estoc\u00e1stico), en el que la variable de inter\u00e9s depende de sus observaciones pasadas. Espec\u00edficamente, la variable de inter\u00e9s o de salida, depende linealmente de sus &hellip; Predicci\u00f3n con Modelos Autorregresivos (AR) en R Leer m\u00e1s &raquo;","og_url":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/","og_site_name":"V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","article_published_time":"2021-10-21T16:12:56+00:00","article_modified_time":"2026-01-29T21:45:06+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/ricovictor.com\/wp-content\/uploads\/2021\/10\/victor-a.rico-44-1.png","type":"image\/png"}],"author":"Victor A.Rico","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Victor A.Rico","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#article","isPartOf":{"@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/"},"author":{"name":"Victor A.Rico","@id":"https:\/\/ricovictor.com\/#\/schema\/person\/e563011388ed0c4e7c1cdae9fcf95bae"},"headline":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R","datePublished":"2021-10-21T16:12:56+00:00","dateModified":"2026-01-29T21:45:06+00:00","mainEntityOfPage":{"@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/"},"wordCount":405,"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\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/","url":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/","name":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R - V\u00edctor A. Rico \u2014 Econometr\u00eda y Finanzas Cuantitativas","isPartOf":{"@id":"https:\/\/ricovictor.com\/#website"},"datePublished":"2021-10-21T16:12:56+00:00","dateModified":"2026-01-29T21:45:06+00:00","breadcrumb":{"@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ricovictor.com\/index.php\/2021\/10\/21\/prediccion-con-modelos-autorregresivos-ar-en-r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/ricovictor.com\/"},{"@type":"ListItem","position":2,"name":"Predicci\u00f3n con Modelos Autorregresivos (AR) en R"}]},{"@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\/3030"}],"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=3030"}],"version-history":[{"count":16,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts\/3030\/revisions"}],"predecessor-version":[{"id":3049,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/posts\/3030\/revisions\/3049"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/media\/3035"}],"wp:attachment":[{"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/media?parent=3030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/categories?post=3030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricovictor.com\/index.php\/wp-json\/wp\/v2\/tags?post=3030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}