Assigning exponential weights depending upon sample size

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
64jnk
Messages
4
Reaction score
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,
 
Physics news on Phys.org
64jnk said:
I need to the exponential weights to add to m

Pick m initial exponential weights a (whatever you mean by that), add them up. Let the sum be S. Then let the final weights be w = a (m / S).

If that doesn't suit you, try explaining what you mean by "exponential weights".
 
I'm slightly embarrassed by how obvious this answer was. Thanks Stephen.