Anna Karenina Principle - 1 BS3033 Data Science for Biologists

Anna Karenina Principle - 1 BS3033 Data Science for Biologists

The Art of Statistics: Anna Karenina Principle - 1 BS3033 Data Science for Biologists Dr Wilson Goh School of Biological Sciences By the end of this topic, you should be able to: • Describe the Anna Karenina principle. • Describe the power of context. • Describe changing perspectives. 2 The Anna Karenina Principle BS3033 Data Science for Biologists Dr Wilson Goh School of Biological Sciences Happy families are all alike; every unhappy family is unhappy in its own way. ~ Leo Tolstoy Translation: There are many ways to violate the hull hypothesis but only one way that is truly pertinent to the outcome of interest. 4 The elements of null hypothesis statistical testing. True Negative True False Negative Statistical Test / Null Condition No Effect (Gene is Null Condition Irrelevant) Retained True Positive True False Positive Statistical Test / Null Condition No Effect (Gene is Null Rejected (Gene Irrelevant) may/may not be relevant) 5 Lack of $ No Leisure Time No Communication Awful in-laws Happiness requires positive fulfillment of all possible categories. Failure in any leads to unhappiness. Scandals Incompatibility 6 Monday False Dichotomy Null; Gene does not cause disease Tuesday Alternative: Gene causes disease of gene A of gene Abundance Abundance Wrong Test Construction Batch Effect Observed Theoretical Change Gene A Frequency Normal Diseased Wrong Null Distribution Gene is Relevant A True Cause Draw 1 Draw 2 B X C Phenotype Frequency B is reported but is merely correlated to A Chance Association Non-causal Association Only 1 of the causes for null hypothesis rejection is the one we want. 7 Subpopulation Effects Random Wrong Null Sampling Distribution Error Causes of Anna Karenina 8 Power of Context How to avoid Anna Karenina? Changing Perspectives 9 Random Sampling Error – The Anna Karenina Principle BS3033 Data Science for Biologists Dr Wilson Goh School of Biological Sciences Consider a gene rs123 with two alleles, A and G. Original Null: rs123 alleles are identically distributed in the two populations. Original Alternative: rs123 alleles are non-identically distributed in the two populations. rs123 chi-square p-value = 4.78E-21 Genotypes Controls [n(%)] Disease [n(%)] AA 1 (0.9%) 0 (0%) AG 38 (35.2%) 79 (97.5%) GG 69 (63.9%) 2 (2.5%) Is this significant? But is it true significance? 11 Consider what happens when we sample from a population: Sample 1 Population C D Sample 3 C D C D Sample 2 C D If the sample does not reflect the population, then the sampling bias will cause the statistical test to be significant. So what’s happening here? 12 Let’s try rewriting the null hypothesis statements: IntelRefined claims Null to have: Distributions been working of rs123 with alleles the 45nm in the samples are reflective of their respective chipreference with high populations-k metal gates AND since rs123 2007. alleles are identically distributed in the two populations. Refined Alternative: Distributions of rs123 alleles in the sample are different from their reference populations OR rs123 alleles are non-identically distributed in the two populations. In other words, if the first statement is satisfied, then rejection of the null must be because rs123 are non-identically distributed in the two populations. But problem is, how do we know we have sampling bias? 13 Can we measure all people on earth? Too expensive? Impossible. So does it mean I cannot confirm I have sampling bias? Let’s look at our table again: rs123 chi-square p-value = 4.78E-21 Genotypes Controls [n(%)] Disease [n(%)] N= 189 AA 1 (0.9%) 0 (0%) 1/189 (<1%) AG 38 (35.2%) 79 (97.5%) 117/189 (62%) GG 69 (63.9%) 2 (2.5%) 71/189 (37.9%) 14 So what can we do with what we know? Let’s use what we know about simple human genetics. Let’s calculate backwards. ½ chance of getting a from father A a • 62% of our samples are AG. • So let’s say, the probability of a mother and a father A AA Aa both being AG is 0.62 * 0.62 = 0.38. • And the probability of them having a child that is AA ½ chance of Chance of BOTH is 0.25 * 0.62 * 0.62 = 0.09 (9%). events occurring getting a from a Aa aa mother 1 . 1 = 1 2 2 4 Basic rule of human genetics 15 Let’s look at our table again. rs123 chi-square p-value = 4.78E-21 Genotypes Controls [n(%)] Disease [n(%)] <1% AA AA 1 (0.9%) 0 (0%) 1/189 62% AG AG 38 (35.2%) 79 (97.5%) 117/189 38% GG GG 69 (63.9%) 2 (2.5%) 71/189 N= 189 We expect 9%. But our data says AA is only < 1%. So unless AA is lethal, our samples do not reflect expectation. Therefore, we conclude that our samples are biased. And therefore, if we reject the null, we need to be careful of Anna Karenina. 16 Refined H0 Refined H1 - Distributions of rs123 alleles in the two - Distributions of rs123 alleles in the two samples are identical to the two samples are different from the two populations; and populations; or - rs123 alleles are identically distributed - rs123 alleles are differently distributed in the two populations. in the two populations. Suppose distributions of rs123 alleles in the samples are identical to the populations and the test is significant. Can we say rs123 mutation causes the disease? 17 Induction Abduction Deduction Socrates is a man. All men are mortal. All men are mortal. Socrates is mortal. Socrates is mortal. Socrates is a man. All men are mortal Socrates is a man (provided Socrates is mortal. (provided there is no there is no other explanation counter example). of Socrates’ mortality). 18 Induction Abduction Deduction Gene A performs function X; An apple is red, a car is red, A class of proteins, C, Gene B is sequentially so therefore a car is red. performs function X. similar to Gene A. Protein Z is a member of C, Therefore, Gene B also so C must therefore performs function X. perform function X. 19 Hypothesis: If rs123 mutation causes disease, the statistical test is significant. Group SNP Genotypes Controls Cases X2 P-value [n(%)] [n(%)] b Observation: Statistical test is significant rs123 AA 1 0.9% 0 0.0% 4.78E-21 AG 38 35.2% 79 97.5% GG 69 63.9% 2 2.5% Conclusion by abduction: rs123 mutation causes SNP: Single Nucleotide Polymorphism disease and provided there is no other explanation for the test to be significant. That is, as long as this observation cannot be refuted, it may become a rule. 20 Hypothesis: If rs123 mutation causes disease, the statistical test is significant. Group SNP Genotypes Controls Cases X2 P-value [n(%)] [n(%)] b Observation: Statistical test is significant rs123 AA 1 0.9% 0 0.0% 4.78E-21 AG 38 35.2% 79 97.5% GG 69 63.9% 2 2.5% Conclusion by abduction: rs123 mutation causes SNP: Single Nucleotide Polymorphism disease and provided there is no other explanation for the test to be significant. How to incorporate “provided there is no other explanation” into the analysis? 21 H0 - In some stratification: H1 - In every stratification: - Distributions of rs123 alleles in the two - Distributions of rs123 alleles in the two samples are identical to the two samples are different from the two populations; and populations; or - rs123 alleles are identically distributed - rs123 alleles are differently distributed in the two populations. in the two populations. This basically says there is “no exception”. It does not say there is “no other explanation”. 22 • Choose a sample of Cases and a sample of Controls such that for each stratification p1/p2, the distribution of p1/p2 in Cases is same as the distribution of p1/p2 in Controls i.e. equalise/ control for other factors. Then test: H0: X’s alleles are identically distributed in the H1: X’s alleles are differently distributed in the two samples. two samples. • This makes the significance of the test independent of other explanations. • It still does not say “no other explanation”. 23 Look for another gene X such that: H0: H1: • Distributions of X’s alleles in the two samples • Distributions of X’s alleles in the two samples are identical to the two populations; and are different from the two populations; or • X’s alleles are identically distributed in the two • X’s alleles are differently distributed in the two populations. populations. • When the red part of H1 is false, this implies gene X mutation is an alternative explanation for the significance of rs123 mutation and thus the disease. • In this case, rs123 is clearly not a cause. But has to be considered in light of its relationship with X. 24 Subpopulation Effects – The Anna Karenina Principle BS3033 Data Science for Biologists Dr Wilson Goh School of Biological Sciences Overall Women Men A B A B A B Lived 60 65 Lived 40 15 Lived 20 50 Died 100 165 Died 20 5 Died 80 160 0.60 0.39 2 3 0.25 0.31 Looks like treatment A But splitting the data by gender results in a reversal. is better. Looks like treatment B is better. In this case, the trouble arises because the proportion of men and women are not equalised the two samples. 26 “Effective” H0: Treatments are Apparent H0: Treatments are identically distributed in the two identically distributed in the two samples. populations. Apparent H1: Treatments are Assumption: All other factors are differently distributed in the two equalised in the two samples. populations. 27 Refined H0: Refined H1: All other factors are equalised in the Some factors are not equalised in the two samples; and two samples; or Treatments are identically distributed Treatments are differently distributed in the two samples.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    71 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us