<p>The key words in UPGMA are 'pairwise' and 'mean'.</p>
<p>In phylogeny the format is a bit unusual because <span class="math-container">$C$</span> here is the MRCA (most recent common ancestor) for <span class="math-container">$A$</span> and <span class="math-container">$B$</span>. In other words this represents a three taxa tree. I agree in UPGMA this works, because of its use of the mean (which is also its criticism - below).</p>
<p>Under UPGMA - in your equation <span class="math-container">$d(C) = \frac{d(A,B)}{N}$</span> ...where <span class="math-container">$N=2$</span>, i.e. mean.</p>
<p>Thus under UPGMA</p>
<p><span class="math-container">$d(C,D) = d(A,D) - \frac{d(A,B)}{2}$</span></p>
<p>There is no need to include <span class="math-container">$d(B,D)$</span> because <span class="math-container">$d(B,D) = d(A,D)$</span>, its the mean that was resolved in establishing <span class="math-container">$C$</span>. If you want to assign <span class="math-container">$E = D U A$</span> that easy too.</p>
<p>Your equation doesn't work because |A| and |B| are both 0 under UPGMA, i.e. is pairwise so d(A,A) is always zero. Thus under your equation <span class="math-container">$d(C,D) = 0$</span> which simply means <span class="math-container">$D$</span>, <span class="math-container">$A$</span>, <span class="math-container">$B$</span> are identical and results in a matrix of 0.</p>
<hr />
<p>UPGMA isn't really used in general in biological systems, because the use of the mean rarely makes it a good assumption. I 100% agree has been used in genomics in the modern era, absolutely true, its use is not encouraged because in results in artifactual clusters due its inability to accommodate unequal variation in the underlying genetic process. It could be used in for example in agricultural systems because these conform to uniform distributions, e.g. the distances between apple trees in an orchard. In the natural environment species clump and don't show uniform distributions. UPGMA was used in phylogenetic but the assumption of a global clock very rarely held, so it was discontinued.</p>

CC BY-SA 4.0
2022-03-20T13:36:38.303Z
2023-08-13T12:48:16.393Z
2023-08-13T12:48:16.393Z
M__
<p>The unweighted pair group method with arithmetic mean (UPGMA) is a hierarchical clustering method, for example used in phylogeny. In a phylogenetic tree it would  result in a global molecular clock for taxa under consideration.</p>
<p>Two clusters <span class="math-container">$A$</span> and <span class="math-container">$B$</span> with the minimum distance are selected and merged to form a new cluster <span class="math-container">$C$</span>, where the distance between <span class="math-container">$C$</span> = <span class="math-container">$A \cup B$</span>. Assuming another <span class="math-container">$D$</span>, we can compute:
<span class="math-container">$$
d(C, D) = \frac{1}{|C| \cdot |D|} \sum_{x \in A \cup B,\, y \in D} d(x, y).
$$</span></p>
<p>I think <span class="math-container">$d(x,y)$</span> is the distance between objects <span class="math-container">$x$</span> and <span class="math-container">$y$</span> in the input matrix.</p>
<p>Given the information, is there a way to prove/disprove the following statement?</p>
<p><span class="math-container">$$
d(C, D) = \frac{1}{|A| + |B|} \Big( |A| d(A, D) + |B| d(B, D) \Big).
$$</span></p>

CC BY-SA 4.0
2022-03-20T13:40:23.513Z
UPGMA has been widely used in biological systems involving multivariate statistics and phylogenetics. It has been widely used in the early phases of genomics and might still be used in commercial packages. Understanding it and why it has limited application is kinda important.
M__
<phylogenetics><phylogeny><r><computation>
UPGMA computation
# UPGMA computation

(Asked by: username_0 on 2021-10-11)

The unweighted pair group method with arithmetic mean (UPGMA) is a hierarchical clustering method, for example used in phylogeny. In a phylogenetic tree it would result in a global molecular clock for taxa under consideration.

Two clusters $A$ and $B$ with the minimum distance are selected and merged to form a new cluster $C$, where the distance between $C$ = $A \cup B$. Assuming another $D$, we can compute:
$$
d(C, D) = \frac{1}{|C| \cdot |D|} \sum\_{x \in A \cup B,\, y \in D} d(x, y).
$$

I think $d(x,y)$ is the distance between objects $x$ and $y$ in the input matrix.

Given the information, is there a way to prove/disprove the following statement?

$$
d(C, D) = \frac{1}{|A| + |B|} \Big( |A| d(A, D) + |B| d(B, D) \Big).
$$

**Tags:** phylogenetics, phylogeny, r, computation
> **Comments:**
> **username_1**: UPGMA has been widely used in biological systems involving multivariate statistics and phylogenetics. It has been widely used in the early phases of genomics and might still be used in commercial packages. Understanding it and why it has limited application is kinda important.  

---

## 1 answers

### Answer by username_1 on 2022-03-20. Score: 0

The key words in UPGMA are 'pairwise' and 'mean'.

In phylogeny the format is a bit unusual because $C$ here is the MRCA (most recent common ancestor) for $A$ and $B$. In other words this represents a three taxa tree. I agree in UPGMA this works, because of its use of the mean (which is also its criticism - below).

Under UPGMA - in your equation $d(C) = \frac{d(A,B)}{N}$ ...where $N=2$, i.e. mean.

Thus under UPGMA

$d(C,D) = d(A,D) - \frac{d(A,B)}{2}$

There is no need to include $d(B,D)$ because $d(B,D) = d(A,D)$, its the mean that was resolved in establishing $C$. If you want to assign $E = D U A$ that easy too.

Your equation doesn't work because |A| and |B| are both 0 under UPGMA, i.e. is pairwise so d(A,A) is always zero. Thus under your equation $d(C,D) = 0$ which simply means $D$, $A$, $B$ are identical and results in a matrix of 0.

---

UPGMA isn't really used in general in biological systems, because the use of the mean rarely makes it a good assumption. I 100% agree has been used in genomics in the modern era, absolutely true, its use is not encouraged because in results in artifactual clusters due its inability to accommodate unequal variation in the underlying genetic process. It could be used in for example in agricultural systems because these conform to uniform distributions, e.g. the distances between apple trees in an orchard. In the natural environment species clump and don't show uniform distributions. UPGMA was used in phylogenetic but the assumption of a global clock very rarely held, so it was discontinued.


---

