Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 12:14 <pellekrogholt> hi a naive question - i have to calculate a
- weighted mean ? i can see that this is
- supported by
- http://octave.sourceforge.net/nan/function/mean.html
- but that package has many pro/cons -
- http://octave.1599824.n4.nabble.com/package-nan-warnings-td4632011.html
- so my question is can the default out of the
- package mean calculate weighted mean ?
- 12:30 *** cdf JOIN
- 12:49 <andy1978> pellekrogholt: why don't you calculate it
- yourself?
- 12:49 <andy1978> is something like dot(weights,values)/sum(weights)
- not sufficient
- 12:49 *** rdmitry JOIN
- 12:59 *** andy1978 QUIT Quit: Leaving.
- 13:07 <pellekrogholt> andy1978 your right thx - i ended doing a
- small function my self no so elegant at yours
- so thx for the feedback
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement