Code Monkey home page Code Monkey logo

powerbi-visuals-forcastingarima's Introduction

powerbi-visuals-forcastingarima

An R-powered custom visual implementing Auto-regressive Integrated Moving Average (ARIMA) modeling for the forecasting. Time series forecasting is the use of a model to predict future values based on previously observed values.

Forcastingarima screenshot

Overview

Use forecasting today to optimize for tomorrow! Time series forecasting is the use of a model to predict future values based on previously observed values.

It is one of the prime tools of any buisness analyst used to predict demand and inventory, budgeting, sales quotas, marketing campaigns and procurement. Accurate forecasts lead to better decisions. Current visual implements well known Autoregressive Integrated Moving Average (ARIMA) method for the forecasting. ARIMA models are general class of models for forecasting a time series which can be made to be “stationary”. While exponential smoothing models are based on a description of trend and seasonality in the data, ARIMA models aim to describe the autocorrelations in the data. Both seasonal and non-seasonal modeling is supported. You can control the algorithm parameters and the visual attributes to suit your needs.

Highlighted features:

  • The underlying algorithm requires the input data to be equally spaced time series
  • Seasonal factor can be found automatically or set by user
  • By default, algorithm will optimize for all the parameters of the model based on certain information criteria
  • Advanced user can control all the inner parameters of the model

R package dependencies(auto-installed): proto, zoo

Supports R versions: R 3.3.1, R 3.3.0, MRO 3.3.1, MRO 3.3.0, MRO 3.2.2

See also Forecasting with ARIMA at Microsoft Office store

powerbi-visuals-forcastingarima's People

Contributors

avisander avatar boefraty74 avatar mvgaliev avatar uve avatar vtkalek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerbi-visuals-forcastingarima's Issues

Fromat of Y-Axis labels

Exponential format of Y-Axis labels.

It is impossible to set number format for Y-axis. For some relatively big numbers format becomes exponential, and it is absolutely confusing in some cases.
image
Format of column via Modelling tab makes no effect.
Additionaly, this format randomly changes to normal when I change Trend, Error or Seasonal settings from additive to multiplicative,
image
or set off "Confidence intervals":
image

Please add a possibility to format Y-axis labels as in other visuals (as thousands, millions, none, etc.) and/or a possibility to set number format for labels directly (# ##0, Numeric, Exponential etc.)

BoxCox Error: x must be positive

I get the following error preventing this visual to run:
"Error in bcloglik(x, lower, upper) : x must be positive
Calls: FindBoxCoxLambda -> BoxCox.lambda -> bcloglik
Execution halted"

This is after adding values of 0 into my dataset so my dates would have even interval spacing. I found code on a different GitHub for this error showing if X <= 0. Why would x need to be greater than 0? I have dates where there is no value, and would like to consider 0 values in the forecast. Below is the code I found:

Modified version of boxcox from MASS package

BCLogLik <- function(x, lower=-1, upper=2) {

n <- length(x)
if (any(x <= 0))
  stop("x must be positive")

Power BI 'plotly' depedency failing

When the ARIMA visualization is published to the Power BI service, it fails due to "Package 'plotly' has a dependency that is currently unavailable"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.