Skip to content

Instantly share code, notes, and snippets.

@quantgirluk
Last active January 22, 2023 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save quantgirluk/64bdf810a6063296e30759a228a3dbc5 to your computer and use it in GitHub Desktop.
Save quantgirluk/64bdf810a6063296e30759a228a3dbc5 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebabecerra
Copy link

sebabecerra commented Jan 16, 2023

en realidad no está funcionando ahora
actually is not working now

@quantgirluk
Copy link
Author

Gracias por reportar qué hay un problema. Por favor agrega el mensaje de error o excepción que estás observando.

@sebabecerra
Copy link

Gracias por reportar qué hay un problema. Por favor agrega el mensaje de error o excepción que estás observando.

Screen Shot 2023-01-16 at 4 11 31 PM

@quantgirluk
Copy link
Author

quantgirluk commented Jan 16, 2023

Gracias por compartir el mensaje de error. Hay dos cosas que sugiero

  1. Al importar fan_single usa: from fanchart.plot import fan_single, fan
  2. Instala la versión más nueva de fanchart
    Con (1) el error de import debería resolverse, y (2) te dará la versión más nueva de todas las funciones. Aquí puedes ver el demo de la versión más nueva: Demo fanchart 1.0.2

@sebabecerra
Copy link

sebabecerra commented Jan 17, 2023

Muchas gracias por tu ayuda :). Sin embargo con Demo fanchart 1.0.2 tengo el siguiente problema.

Screen Shot 2023-01-16 at 9 57 41 PM

Aca dejo el notebook in colab, Colab Test

@quantgirluk
Copy link
Author

Este es un problema con matplotlib. Por favor instala la version más reciente de matplotlib (>=3.5). Actualizaré los requerimientos en la siguiente versión de fanchart. Gracias por tu interés en fanchart!.

I think this is due to the version of matplotlib. Please try updating it to >=3.5.
I will update the minimum requirements for matplotlib version 🙂 in the next release.

@sebabecerra
Copy link

"Muchas gracias, funcionó. Una pregunta más, ¿cómo calculaste los parámetros? Por ejemplo, para un simple ARIMA (1,0,0)".

"Many thanks, it worked. One more question, how did you calculate the parameters? For example, if the model were a simple ARIMA(1,0,0)."

@quantgirluk
Copy link
Author

Hola, desafortunadamente BoE no ha hecho público el método para calcular los parámetros que usa en sus modelos de pronóstico. Por otra parte para un Arima podrías usar el método de máxima verosimilitud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment