Post Reply 
Geometric and weighted mean
12-23-2017, 09:20 AM (This post was last modified: 12-23-2017 09:29 AM by salvomic.)
Post: #6
RE: Geometric and weighted mean
(12-23-2017 08:05 AM)AlexFekken Wrote:  You might also be able to abuse the regression functionality to get (some of) those values out.
ok
Quote:The HP/Free/DM 42 is nice enough to calculate the required sums for both types of average/regression all the time; I don't think the Prime does that too.
it should have those functions, as they are useful with simple statistics.

(12-23-2017 08:57 AM)Arno K Wrote:  Your "arithmetic mean" is not correct, it is the median and should be 6.625. This is what mean() produces.
Arno

Seeing in Wikipedia, we can add also the harmonic mean to the list...

For geometric mean better than use the product maybe it's better to consider the alternative definition with logarithms, to avoid the multiply by zero (defining what it should do ln(0)!):
[Image: c5d6f488ded43b1bbf04e5ea2dbdadb12e2fad7e]

I think to write a little program for my friend to offer geometric, weighted and harmonic means.

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Geometric and weighted mean - salvomic - 12-22-2017, 10:13 PM
RE: Geometric and weighted mean - salvomic - 12-23-2017, 07:46 AM
RE: Geometric and weighted mean - Arno K - 12-23-2017, 08:57 AM
RE: Geometric and weighted mean - salvomic - 12-23-2017 09:20 AM
RE: Geometric and weighted mean - Arno K - 12-23-2017, 09:29 AM
RE: Geometric and weighted mean - salvomic - 12-23-2017, 09:31 AM
RE: Geometric and weighted mean - salvomic - 12-23-2017, 10:33 AM
RE: Geometric and weighted mean - DrD - 12-23-2017, 11:42 AM
RE: Geometric and weighted mean - salvomic - 12-23-2017, 11:51 AM
RE: Geometric and weighted mean - salvomic - 12-23-2017, 05:25 PM
RE: Geometric and weighted mean - salvomic - 12-24-2017, 08:33 AM
RE: Geometric and weighted mean - salvomic - 01-04-2018, 05:24 PM
RE: Geometric and weighted mean - Joe Horn - 01-20-2022, 08:33 PM



User(s) browsing this thread: 1 Guest(s)