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...