Re: Series of Percentage Changes
- To: mathgroup at smc.vnet.net
- Subject: [mg96836] Re: Series of Percentage Changes
- From: Raffy <raffy at mac.com>
- Date: Thu, 26 Feb 2009 07:52:06 -0500 (EST)
- References: <go31da$f5u$1@smc.vnet.net>
pchg[v_List, h_: "NA"] := Quiet@MapThread[Check[#1/#2 - 1, h] &, {Rest [v], Most[v]}];