l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jul 31 05:24

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Graphing Analysis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Graphing Analysis


I'm doing some data analysis, stock data analysis to be exact, but I figure
it might as well be anything one could graph.  I want to find peaks and
valleys.  I want to do with my computer what I do naturally with my eyes.
So for example, some random set like this series:

3, 4, 6, 2, 7, 8, 8, 7, 6, 5, 4, 5, 6, 7, 8, 9, 11, 13,14,13, 9, 8, 9, 10,
11, 12, 15, 20, 15...

I can visually, if I put my face directly up to the paper (i.e look at each
number with regard to only the numbers directly before and after) pick out
peaks and valleys:
peaks: 6, 8, 14, 20
valleys: 3, 2, 4(after the 8), 8 (after 14)

so if I graphed this I'd use: 3,6,2,8,4,14,8,20

Then again if I pull the paper a little away, look at it with regard to 5
numbers before and after my current number, I'd say my series is:

That is, 8 was the highest number, in the 5 points after the initial data
point of 3, also as a whole, the numbers were growing up to the 8, then
decreased to the 4, then grew till the 14, then decreased till the 8, grew
till 20.

If I pull the paper far enough away I have 2 points:
3, 20

What I'm asking is there some math function(s) for analyzing trends and
graphs.  Or do I need to write functions for doing what I'm doing with my


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!