Topic
Simple statistical functions
- This topic has 2 replies and 2 voices and was last updated 18 years, 2 months ago ago by Tathagata Ghose.
-
AuthorPosts
-
23.03.2007 at 20:53 #34039Tathagata GhoseParticipant
Hello,
I am a new FlexPro user from a non-engineering background – we purchased Flexpro for its great graphing functions – our use is in finance/economics.
Since I am a new user, I may be missing the right place to look for this in the manuals, but I can’t find any easy ways to do 2 simple things:
a) Apply a 3-period moving average to a selected data series.
b) To lag a data series by a no. of periods (e.g. 12 months) while plotting it with some other series.
These should be child’s play, but somehow I can’t find the relevant functions. It is not ideal if one has to create new series manually using FP script formulae just to apply a moving average. Are there simple functions for these 2 procedures?
Thanks in advance for your help.
Tatha23.03.2007 at 20:53 #34041Tathagata GhoseParticipantHello,
I am a new FlexPro user from a non-engineering background – we purchased Flexpro for its great graphing functions – our use is in finance/economics.
Since I am a new user, I may be missing the right place to look for this in the manuals, but I can’t find any easy ways to do 2 simple things:
a) Apply a 3-period moving average to a selected data series.
b) To lag a data series by a no. of periods (e.g. 12 months) while plotting it with some other series.
These should be child’s play, but somehow I can’t find the relevant functions. It is not ideal if one has to create new series manually using FP script formulae just to apply a moving average. Are there simple functions for these 2 procedures?
Thanks in advance for your help.
Tatha23.03.2007 at 23:17 #34040Bernhard KantzParticipant1) At first you have to calculate the number of values of three periods.
[code]
3 * Period(Signal) / (Signal.X[1] – Signal.X[0])
[/code]
Then you can use the [b]Signal Smoothing Analysis Object[/b]. The object calculates a smoothing average. This analysis object uses the [b]Smooth-[/b] or the [b]Mean[/b]-FPScript function to calculate the moving average.2)FlexPro offers the [b]index operator [] [/b] or the [b]value index operator [[]][/b]. These operators can extract sections from signals and signal series.
-
AuthorPosts
- You must be logged in to reply to this topic.