Time Series algorithm problem

Hi,
problem-In Time Series Algorithm predication  is wrong if Sales value is negative
i  have data for more than  3 years  ,
sample data like
Year/Month
Zone-1 Sales
201001
-5467.66
201002
2345.88
201003
-7895.33
201004
2345.65
201005
120.2333
Due to negative value my prediction for next month is wrong. Please tell me how I can handle this problem. Negative values come due to sales return in zone.

Hi Leo,
Thanks a lot for replay.
but using  help of this blog also this problem not solve.
is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
Regards,
Manish

Similar Messages

  • SAP HANA One and Predictive Analysis Desktop - Time Series Algorithms

    I have been working on a Proof-of-Concept project linking the SAP Predictive Analysis Desktop application to the SAP HANA One environment.
    I have modeled that data using SAP HANA Studio -- created Analytic views, Hierarchies, etc. -- following the HANA Academy videos.  This has worked very well in order to perform the historical analysis and reporting through the Desktop Application. 
    However, I cannot get the Predictive Analysis algorithms -- specifically the Time Series algorithms -- to work appropriately using the Desktop tool. It always errors out and points to the IndexTrace for more information, but it is difficult to pinpoint the exact cause of the issue.  The HANA Academy only has videos on Time Series Algorithms using SQL statements which will not work for my user community since they will have to constantly tweak the data and algorithm configuration. 
    In my experience so far with Predictive Analysis desktop and the Predictive Algorithms, there is a drastic difference between working with Local .CSV / Excel files and connecting to a HANA instance.  The configuration options for using the Time Series Algorithms are different depending upon the data source, which seems to be causing the issue.  For instance, when working with a local file, the Triple Exponential Smoothing configuration allows for the specification of which Date field to use for the calculation.  Once the data source is switched to HANA, it no longer allows for the Date field to be specified.  Using the exact same data set, the Algorithm using the local file works but the HANA one fails. 
    From my research thus far, everyone seems to be using PA for local files or running the Predictive Algorithms directly in HANA using SQL.  I can not find much of anything useful related to combing PA Desktop to HANA. 
    Does anyone have any experience utilizing the Time Series Algorithms in PA Desktop with a HANA instance?   Is there any documentation of how to structure the data in HANA so that it can be properly utilized in PA desktop? 
    HANA Info:
    HANA One Version: Rev 52.1
    HANA Version: 1.00.66.382664
    Predictive Analysis Desktop Info:
    Version: 1.0.11
    Build: 708
    Thanks in advance --
    Brian

    Hi,
    If you use CSV or XLS data source you will be using Native Algorithm or R
    Algorithm in SAP Predictive Analysis.
    When you connect HANA, SAP Predictive Analysis uses PAL Algorithm which runs
    on HANA server.
    Coming to your question regarding difference,
    In SAP PA Native Algorithm, we could provide the Data variable, Algorithm
    picks the seasonal information from the Data column. Both R and SAP HANA PAL
    does not support Date Column. We need configure seasonal information in
    Algorithm properties.
    R Properties
    1) Period : you need to mention the periodicity of the Data
    Monthly : (12)
    Quarter : (4)
    Custom : you can use it for week or Daily or hourly.
    2) Start Year: need to mention Start year.
    Start year is not used by algorithm for calculating Time series, but it helps
    PA to generate Visualization ( Time series chart) by simulating year and
    periodicity information.
    3) Starting Period:
    if your data is Quarterly and you have data recordings from Q2, mention 2 in
    start period.
    Example.
    If the data periodicity is Monthy and my data starts from Feb 1979, we need to provide following information,
    Period: 12
    Start year: 1979
    start Period: 2
    PAL Properties. : Same as properties defined in R.
    Thanks
    Ashok
    [email protected]

  • Next 4 hour prediction in time series algorithm

    I am Sucessed next 7 days prediction,
    but now i need to Create next 24 hour Prediction,
    how to prepare Data, plz kindly give some suggestion.....
    Thanks
    Pandiyan
    pandiyan

    Hi Leo,
    Thanks a lot for replay.
    but using  help of this blog also this problem not solve.
    is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
    Regards,
    Manish

  • How prepare Query for time series algorithm?

    Hi every one, 
    i want next 6 month prediction, how prepare the Query ,
    I have Date column,Crime column,Incidents Column,I going with next 6 month so how we get date columns month wise or date wise,
    if month wise means,How split the Year and month from date colum??
    Please i need some help.....waiting for reply.....
    pandiyan

    Hi Leo,
    Thanks a lot for replay.
    but using  help of this blog also this problem not solve.
    is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
    Regards,
    Manish

  • Dynamic Time Series Alias Problem w Parens

    When I have "Use Aliases" turned on, My Y-T-D function doesn't work if the time member alias uses the parenthesis character (I can't retrieve on a spreadsheet - the member isn't recognized).member: 2002_27 ... works greatalias: Week_27 ending 8/2/02 ... works greatalias: Week_27 (w/e 8/2/02) ... FAILSI can't find any documentation that you shouldn't use parentheses in alias names w/ the Y-T-D member.

    Two pass won't effect dynamic time series. If the member was dynamic and you needed it two pass as well, that might make the order of the calculations different than you'd anticipate.
    Dynamic Time Series will be calculated last so in your case, if you were selecting Y-T-D (Feb), the result would be M1->Jan + M2->Feb. I don't know if that will yield the correct result. I think you need to make sure the formula is correct for a given month and then see if the math should be calculating this way.

  • Add varchar column in to Time Series Algorithm

    i created a time series algoritham using numeric columns, but i need to add text columns so what we do?
    plz share to me if possible to add.

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • How to add new past in mining model and how to update the previous data in the minin model of time series algorithm?

    hello,
    I creata a mining model and trained it with some data using the sql table.Now I want that when ever I make any Changes in sqltable record. Then I have to chane the data of mining model also.Please provide help.
    Thanks in Advance
    Shalini Rathore

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • Time Series using different keys

    Hi, i'm currently using the time series algorithm to do some forecasting on some data.
    My data looks like this :
    Date                     City               CustomerID         Sales
    2003-12-01       New York              12346               45
    If i only specify the date as a key time. I can forecast the total sales.(because i am using a cube who aggregates all the data)
    But my goal is to forecast sales for each city and/or for each customer.
    I tryed to make a cube with date and customer id as keys, but time series isn't compatible with that type of data as a key sequence.
    I tryed doing nested tables not working(altough i might do something wrong).
    How can use the field date as a key sequence and specify a key like customer id to do forecast the sales / customers?

    Hi O G-M,
    Each model must contain one numeric or date column that is used as the case series, which defines the time slices that the model will use. The data type for the key time column can be either a datetime data type or a numeric data type. However, the column must
    contain continuous values, and the values must be unique for each series. The case series for a time series model cannot be stored in two columns, such as a Year column and a Month column. For more information about it, please see:
    http://msdn.microsoft.com/en-us/library/ms174923(v=sql.100).aspx
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • Problem in creating time series objects for a planning area

    Hi Friends,
    I am working on SCM 4.0 APO. I am trying to create the time  series objects for a  'Z'planning area which i have created. This Planning area is linked to a planning object structure which contains only three characteristics 9amatnr,9alocno & zplnpart. But the creation of time series objects is taking a long time. the screen just remains the same.
    Can anybody encountered such a problem any time?
    request you all to put some light as what could be wrong or causing the delay in creating them???
    All helpfull answers will be suitably rewarded.
    Thanks
    mvd

    Hi mv d,
    I have a couple of questions:
    1) how many Key Figures does your planning area have?
    2) what is the length of your time series horizon?
    3) how many characteristic combinations are currently in the Planning Object Structure? and how many newly character
    I am asking because these aspects might affect the running time of the time series creation. Have you also tried creating the time series in the background? How long did it take there?

  • Dynamic Time Series problem

    I have three measures and three Orgs set up in the following way-
    Measures
    M1(~)<2>(Two Pass)
    |
    ---M2(+)(Two Pass)
    ---M3(+)(Two Pass)
    Orgs
    O1(~)<2>(Two Pass)
    |
    ---O2 (+)
    ---O3 (+)
    I have formulas for members M2 and M3 such that M2 is calculated only for O2 and M3 is calculated only for M3 and the formulas are such that I need the two pass on O1.
    Now here is my problem: When I retrieve the data using Y-T-D(04) as my time period, all data (i.e. for M1,M2 and M3) for org O1 shows up as #missing. All other data (i.e. M1,M2 and M3 for O2 and O3) shows up as it should (sum from jan to apr). If I retrieve for individual months everything works perfectly. Can anyone give me some pointers as to why this is happening?

    Two pass won't effect dynamic time series. If the member was dynamic and you needed it two pass as well, that might make the order of the calculations different than you'd anticipate.
    Dynamic Time Series will be calculated last so in your case, if you were selecting Y-T-D (Feb), the result would be M1->Jan + M2->Feb. I don't know if that will yield the correct result. I think you need to make sure the formula is correct for a given month and then see if the math should be calculating this way.

  • Time-series Chart

    Warning, CR Newbie here so this may be a stupid question. I am evaluating the trial version of CR to see if it will be a good fit for an upcoming project. I've seen some related posts in the SCN, but no answers that quite fit.
    I'm looking to create a line chart (or a scatter chart) with time-series data. My dataset includes a time stamp field (yyyy-MM-dd hh:mm:ss) and some floating-point temperature values like this:
    2014-05-01 08:00:00, 123.4, 115.1, 109.2
    2014-05-01 08:00:10, 123.6, 116.0, 109.8
    The desired outcome has the date / time along the X-axis with data points spaced proportionally in the X dimension and plotted in the Y-dimension according to the temperature. The interval between the time stamps is not always the same, so numerical scaling is required on both axes. The desired chart would show a temperature scale along the vertical axis, three trend lines for the three series of temperature data and times shown on the X axis label.
    I've played with several options in an attempt to make this work. On the data tab, it would seem I would want to select "on change of" and then my time-stamp field. However, with this selection, I can only use summary values and end up with a chart with a single data point for each series. I don't need or want any summary calculations carried out on the data, I just want to plot it so I can look at a trend over time. I can get trend lines if I select "for each record" on the data tab of the wizard, but then my X-axis is meaningless and the horizontal scaling is misleading unless the interval between my samples is constant.
    I would welcome any suggestions on how best to accomplish this with Crystal Reports.
    Thanks for reading.

    Jamie,
    Thanks for continuing to reply. I am getting close, but still no success.
    Here is the procedure I've followed and problem:
    Put chart in RF section
    Start Chart Expert
    Chart Type = Numeric Axes, subtype = Date axis line chart
    Data tab
    On change of datetime field
    Order... ascending, printed for each second
    Values avg of my data fields (must select summary when on change of is used)
    Right-click on X-axis label, select Group (X) Axis Settings
    Scales tab: base unit, major unit and minor unit can only be set to days, months or years
    I cannot set the minimum and maximum date with resolution other than day
    Right-click Chart, select Chart Options...Axes tab: show group axes set to show time scale
    No matter the setting I use, I can't find a way to adjust the resolution of the time scale lower than days.
    I tried using a formula to extract only the time portion of my datetime field. I used that as my "on change" data series, hoping maybe CR would automatically recognize I was looking at a fraction of a day if I did that. No good - now it gives me a date scale with the dates showing up as the beginning of the epoch, but I can still only get resolution of integer days.
    Thanks for your patience and persistence.
    - Max

  • TODATE time series function in OBIEE 11g

    Hi,
    I have a problem with time series function. I have month level in time dimension hierarchy.
    I have used below expression to get month to date results in my reports.
    column
    expression----> TODATE(fact.measure, hierarchy.Month level);
    when i am using this column in my reports it is showing null values. The below error i am getting in view log files
    ----------------> Converted to null because it's grain is below query's grain
    Note: Here i have measures, year,qtr,month,day,shift,hour in single physical table in physical layer.
    Is it a problem to have measures and time columns in a single physical table?
    Please let me know if you have any solution.
    Thanks,
    Avinash

    Yes, it shud be a prob. Try using seperate tables for fact n timedim

  • Error in Source System, Time series does not exist

    Hi Guys,
    I am loading the data from APO system and i am getting the below error after scheduling the info Packs.. can you analyze and let me know your suggestions
    Error Message : Time series does not exist,
    Error in Source System
    I have pasted the ststus message below
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Thanks,
    YJ

    Hi,
    You better search for the notes with the message ""Time series does not exist". You will get nearly 18 notes. Go through each note and see the relevence to your problem and do the needful as it is mentioned in the note .
    Few notes are:
    528028,542946,367951,391403,362386.
    With rgds,
    Anil Kumar Sharma .P

  • Issue in new macro calculating values in time series in CVC

    Hi friends.
    I'm new in APO.
    I have a problem with a new macro in CVC which calls up a FM to calculate and store data.
    This new macro calculates the selected data in time series (TS) and e.g. we select 3 days to make calculation with this macro, the first selected day in TS is ignorated.
    We created this macro to do this calculation when user enter some manual values and want it to be calculated in the deliver points in CVC, by TS.
    This macro calls up my Z function which internally calls up a standard FM '/SAPAPO/TS_DM_SET' (Set the TS Information).
    Sometimes, this FM, raises error 6 (invalid_data_status = 6), but only when I user 'fcode_check' rotine together.
    After that, we call the FM '/SAPAPO/MSDP_GRID_REFRESH' in mode 1 and 'fcode_check' rotine in program '/sapapo/saplmsdp_sdp'.
    Firstly, I thought it could be dirty global variables in standard FM so I put it inside a program and called it by submit and return command. But now I think could not be this kind of error because it did not work. And inverted the results, and now only first line os TS get storted and change in CVC.
    It's a crazy issue. Please friends. Guide me for a solution!
    thanks.
    Glauco

    Hi friend. Issue still without a correct solution yet.
    A friend changed the macro adding another step calling the same function. Now this macro has two calls in sequence to same FM. Now it's working, but we can't understand why it's working now.
    It's seems like dirty memory in live cash.
    Nobody knows how to solve this!
    Glauco.

  • Mac Pro (early 2008) - a series of problems

    Like many people here, I've been hit with a series of Mac Pro (early '08) issues. I've had the machine for a little over a month and I love it when it's working. But recently, the aforementioned "series of problems" has arisen - ATI graphics card freeze, reboot from sleep, etc.
    But the weirdest, and perhaps most troubling issue is one with my main hard drive (Hitachi 1 TB) in Bay 1 (I have another 1 TB drive [Seagate] in Bay 2). The temperature of my Hitachi drive hovers around 101-106 degrees when active, and stays in mid-90s when relatively idle. I was wondering if this is considered a normal temp range for a hard disk? The Segate drive in Bay 2 runs around 88 degrees at its hottest (according to the iStat widget). While it's not used as much as the start-up drive, I am a bit alarmed by the difference in the temperatures of the drives...
    Possibly related to this is the fact that my start-up drive (Hitachi) has some disk repair issues pop up when I ran Disk Utility. This might be due to all the hard shut downs I had to do because of the ATI graphic card freezes, but I was dismayed to see it happen so early in the computer's lifecycle.
    And finally -- and I know this is a long post; I appreciate those you have stuck around -- I noticed on my Hitachi drive that I seemed to "lose" about 25 gigs of data. Not stuff that I lost because it was deleted, but rather it was as if I had transferred a huge 25-gig file onto the hard disk which took up the space.
    For instance, earlier in the day, it said I had 490 gigs available, but several hours later, after transferring nothing to the hard drive, it mysteriously said I had 469 gigs available. Has anyone experienced anything like this before?
    Thanks for your time...

    When I purchased my Mac Pro in mid-January from the local Apple store, I also bought two Hitachi Deskstar 7K1000 1 TB drives from the Apple Store which they installed. I configured these drives as a Raid 0 array for use with Final Cut Studio 2. This Raid array of two 1 TB Hitachi drives has worked flawlessly. My OS is located on the 320 GB Seagate that came with the stock configuration of the Mac Pro under heavy A/V application use. The Hitachi 1 TB drives are known to run a little hotter than other drives, but I don't have any software that monitors the temperatures on my Hitachi drives so I cannot say if they are running as warm as you have noted. Here is a link to a review of the 7K1000 that showed an operating temperature of 31-39 degrees Centigrade in moderately heavy use:
    http://www.anandtech.com/storage/showdoc.aspx?i=2969.
    Based on what you have reported here is what I would do: (1) Erase and zero your Hitachi 1 TB system drive. This will take several hours but will map out any bad sectors on the drive. (2) REinstall your OS and applications. I would not restore from TM because you may have backed up the problems that were existing on your system drive.
    The Hitachi 1 TB drives are thermally protected. Here is the complete data sheet on the Hitachi 1 TB drive: http://www.hitachigst.com/tech/techlib.nsf/techdocs/67A68C59B27368FC862572570080 FC70/$file/Deskstar7K1000010307final.pdf
    It really does not sound to me like your drives are the problem and that they are probably operating within normal limits, but a call to Hitachi tech support would probalby clear that up firmly.
    Tom

Maybe you are looking for

  • Err 70

    I'm using my Rebel 5ti for video and the EOS utility so I can start and stop shooting from my PC running Windows 7.  I'm running on the power adapter (not battery). It worked fine at first, then started shutting down in the middle of a video and disp

  • Photoshop Scratch Disk Error OSX 10.7.5

    I had a Mac with CS5.5 installed. Suddenly i got an Error Message on Startup: "Could not open a scratch file because the disk is unavailable...." Unable to solve the Problem I Updated to CS6.0 in hope of fixing the Problem that way. It did not. So i

  • IPod not shown in windows or in itunes

    My ipod is not showing in my computer or in itunes however my wifes ipod is - therefore I can't see that it's a problem with the pc (although mine is 3G and my wife's is 2G). I have had the ipod just under a year and it's been fine until now. It won'

  • InDesign CS3 Help Menu opens constantly

    The InDesign CS3 Help Menu opens constantly every time I click anywhere in a document to do anything. Such as draw a box, insert type, anything. It virtually renders the program unuseable. I click to make an addition to a doc, travel up to the help m

  • Busines rule in web form

    Hi, If I have a rule assigned to a web form that is 'Run on Save', can I stop it appearing in the list of available rules in the bottom left panel when I open the form? Thanks CD