Advertisement
pellekrogholt

Untitled

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