turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Moving average calculation in JMP 6

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 4, 2009 11:57 AM
(626 views)

Hi There,

Is there a way for me to calculate the moving average in JMP 6?

Thanks,

Is there a way for me to calculate the moving average in JMP 6?

Thanks,

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 5, 2009 7:23 AM
(351 views)

If(Row() < 4, Empty(), Summation(i = Row() - 3, Row(), :Column 1[i,Empty()]) / 4)

I used the "If" function to avoid errors when ( Row()-3 ) is less than 1. I'd be interested to see if someone else has a simpler way to do this.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Nov 4, 2011 2:51 AM
(351 views)

Hi BillHallet,

I wonder if i should have a table with 1 column more that 4 row. Then run this JSL to get 4-point moving average? Then the result will be added into the following row?

Thanks a lot,Kun