SQL Server Developer Center > SQL Server Forums > Data Mining > Time Series: Confidence Level (Probability) of Prediction
Ask a questionAsk a question
 

AnswerTime Series: Confidence Level (Probability) of Prediction

  • Thursday, October 22, 2009 4:39 PMDr. Hari Koduvely Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    It is very useful to have a good estimate of confidence level of prediction in any forecasting method . It is like saying tomorrow it will rain with 75% confidence or there is 75% chance of raining tomorrow. Though SQL Analysis Services has this prediction probability in some algorithms (PredictProbability Function) I am not seeing this with the Time Series algorithm where I think this is most relevant! Is there a way to find confidence level of prediction in Time Series?

    Thanks
    -Hari

Answers

  • Friday, October 23, 2009 6:17 AMkoles Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    There is possibility to compute standard deviation of the prediction, so you can use to create confidence prediction intervals with some assumptions about the distribution of the prediction error (often gasussian distribution). Here is example how to compute st.dev. of the prediction (example from the book)

    SELECT FLATTENED
    (
    SELECT *, PredictStdev([Red])
    FROM PredictTimeSeries([Red],12)
    ) AS Forecast
    FROM [Red]

All Replies

  • Friday, October 23, 2009 6:17 AMkoles Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    There is possibility to compute standard deviation of the prediction, so you can use to create confidence prediction intervals with some assumptions about the distribution of the prediction error (often gasussian distribution). Here is example how to compute st.dev. of the prediction (example from the book)

    SELECT FLATTENED
    (
    SELECT *, PredictStdev([Red])
    FROM PredictTimeSeries([Red],12)
    ) AS Forecast
    FROM [Red]