How do I compare categorical data with multiple uneven populations?
Is there a difference in lineage occurrence/proportion between study 1 compared to the other 4 studies?
There are 5 populations. We need to compare population 1 to each of the other 4 populations (4 previous studies).
We are comparing the occurrence of Lineages (4 Levels- A, B, C, D) in population 1 compared to their occurrence in each of the other 4 populations.
The Lineages are categorical (A,B,C, D) every sample will fit within one of these lineages. The sample sizes are uneven between the different studies, therefore I thought it best to work with proportions.
I thought that I could just use a proportion test or chi-square test but I'm a bit confused since I have the 4 lineages and the 5 studies. Do I just look at one lineage at a time and since it's a proportion, it factors in the other lineages?
i.e.: LineageB <- prop.test(x = c(198,140,31,35,205), n = c(213,140,31,39,250)); LineageB
p-value = 3.502e-08 (This isn't specific enough, tells me there is likely a different between all studies)
Since I'm only concerned with population 1 compared to each of the others should I only include my study and one other at a time?
Lineages | Pop 1 | Pop 2 | Pop 3 | Pop 4 | Pop 5 |
A | 4 | 0 | 0 | 0 | 0 |
B | 198 | 140 | 31 | 35 | 205 |
C | 6 | 0 | 0 | 4 | 18 |
D | 5 | 0 | 0 | 0 | 27 |
Total | 213 | 140 | 31 | 39 | 250 |
Answer
- The questioner was satisfied with and accepted the answer, or
- The answer was evaluated as being 100% correct by the judge.
- answered
- 716 views
- $6.00
Related Questions
- Explain how to get the vertical values when $n = 10$, $p = .5$, $\mu = 5$ and $\sigma^2 = 2.5$
- [Real Analysis] Show that $B$ is countable.
- Prove that $\lim_{n\rightarrow \infty} \int_{[0,1]^n}\frac{|x|}{\sqrt{n}}=\frac{1}{\sqrt{3}}$
- $\textbf{I would like a proof in detail of the following question.}$
- Let $X$ be a single observation from the density $f(x) = (2θx + 1 − θ)I[0,1](x)$ with $−1≤ θ ≤ 1$. Find the most powerful test of size $α$ and its power
- real analysis
- Real Analysis
- Help me to understand the chi square distribution