Date: Apr 2, 2013 6:29 PM
Author: Derek Goring
Subject: Re: Identifying Upward and Downward Trends

On Wednesday, April 3, 2013 10:19:06 AM UTC+13, K  wrote:
> Good evening,
>
>
>
> I have a single set of data that I'd like to delineate. I have separated the data into the two types of categories I see and would like to identify programatically. In English, they are described as data points that trend upwards before abruptly falling off and restarting, or data points that trend downwards before abruptly increasing and restarting the process. There are hiccups along the way as can be seen in the sample data below, but generally, the trend can easily be seen.
>
>
>
> The data is like so (a plot of this data can be found here: http://imgur.com/a/z3jTB#0 ):
>
>
>
> upward = [32 35 39 42 46 58 64 68 85 32 35 99 39 46 2 77 92 35 42 45 52 56 64 20 34 37 41 45 53 8 25 32 39 44 48 54 59 11 29 35 40 44 51 65 23 33 38 40 45 49];
>
>
>
> downward = [68 65 61 58 54 42 36 32 15 68 65 1 61 54 98 23 8 65 58 55 48 44 36 80 66 63 59 55 47 92 75 68 61 56 52 46 41 89 71 65 60 56 49 35 77 67 62 60 55 51];
>
>
>
> Is there a simple way of categorizing this data into either category?
>
>
>
> Any direction would be appreciated.
>
>
>
> Thank you,
>
> K


What were the original data?