The Arithmetic_Mean = (Sum Xi)/n, and therefore n*Arithmetic_Mean= Sum Xi. This fact motivates me to define a Weighted_Total = n*Weighted_Arithmetic_Mean, where Weighted_Arithmetic_Mean=(Sum Wi*Xi)/Sum(Wi).
The Geometric_Mean = (Prod Xi)^(1/n), and therefore Prod Xi = Geometric_Mean^n. This fact motivates me to define a Weighted_Product = n*Weighted_Geometric_Mean, where Weighted_Geometric_Mean = (Prod Xi^Wi)^(1/Sum Wi).
My first question is do you see anything silly in what I am doing?
And my second is how can I do the same for the Harmonic Mean? That is, how can we define some interesting Weighted Total based on the Harmonic Mean?
Related Posts with Arithmetic, Geometric and Harmonic totals, and Arithmetic, Geometric and Harmonic weighted means
Creating a loop with egen, conditional on a specific value of a variableDear Stata users, I am working with a pooled cross section dataset on export transactions, using Sta…
Help with significance testingGood day, Im very new to STATA and performing significance tests. I was wondering if anyone could l…
Creating new variables depending on existing onesHi everyone. I have four variables in the dataset: year, groupID, personID and X. I would like to cr…
Ipolate on panel data creating observations rather than filling them inHi there! I have a panel dataset taken from the Mexican Population Census where the observations are…
Making non-repeating assignments (Assigning students a set of paper for peer review)Hello, I have a peer review assignment in a class I teach and want to develop some code that will r…
Subscribe to:
Post Comments (Atom)
0 Response to Arithmetic, Geometric and Harmonic totals, and Arithmetic, Geometric and Harmonic weighted means
Post a Comment