- #1
64jnk
- 4
- 0
I'm trying to find a function which will assign exponential weights depending upon sample size.
nu=an equally space coefficient sequence (.05,..,.5; by=.05).
m=sample size (10 in this case)
Adding each observation in nu, implies a weight of 1, which makes the sum of weights m.
I need to the exponential weights to add to m, given I'd like to compare the sum of this exponentially weighted vector to the sum of a uniformly weighted vector.
Would anyone be able to help with this please?
Many thanks,
nu=an equally space coefficient sequence (.05,..,.5; by=.05).
m=sample size (10 in this case)
Adding each observation in nu, implies a weight of 1, which makes the sum of weights m.
I need to the exponential weights to add to m, given I'd like to compare the sum of this exponentially weighted vector to the sum of a uniformly weighted vector.
Would anyone be able to help with this please?
Many thanks,