Peter joshi (@Peterkjoshi) profile picture

Genomicist and former actuary

Scotland, United Kingdom
Joined February 2017
Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)Photo by Peter joshi (@Peterkjoshi)
A new proposal from the Biden administration calls for a nationwide cap on rent increases. Economists think that’s a terrible idea. We revisit a 2019 episode to hear why. freak.ws/4di86gs
8
10
3
30
12,060
Peter joshi retweeted
I enjoyed reading this and expected some lessons for govt from the venture capital style approach the vaccine taskforce took. But the biggest lesson is one that I didn’t expect. (Short 🧵)
22
160
28
681
318,258
Use a declarative title: reviewers (and editors) will often recommend a declarative title. Instead of a hypothetical title like “Trends in groundwater storage” try “A doubling of groundwater loss since 2010”.
4
51
9
469
us life expectancy dreadful at all levels of income. An analysis I've wondered about often. Interestingly, issue is more about society and young deaths than the health care system per se.
NEW: I’m not sure people fully appreciate how dire the US life expectancy / mortality situation has got. My column: enterprise-sharing.ft.com/re… And some utterly damning charts. 1) at *every* point on the income distribution, Americans live shorter lives than the English.
4
284
Do you consider doing a PhD in statistical human genetics in a wonderful location? My lab [wp.unil.ch/sgg/] has open position(s) to explore human interactions, region-specific effects, evolutionary optimal transcript levels by developing advanced causal inference methods
1
39
4
72
16,368
Every Data Scientist needs to know these ideas. They will blow your mind. 1. Correlation vs Causation P(A | B) is the probability of A given B. It is the probability that we will observe A given that we have already observed B. P(A | do(B)) is the probability of A given do(B). It is the probability that we will observe A given that we have intervened to cause B to happen. In this context, an intervention simply means to take an action of some kind. Therefore do(B) means to take an action which causes B to happen. The expressions P(A | B) and P(A | do(B)) might seem very similar but they represent very different situations. 2. We can only learn P(A|B) from the data alone. Bob has an extremely accurate weather app and is always very good about bringing his umbrella when it rains. We observe Bob over several years and we find that whenever it rains, Bob always has his umbrella and he never brings his umbrellas on days when it doesn't rain. In the language of probability, we say P(Umbrella | Rain) = 1 and P(Rain | Umbrella) = 1 as well. What we can learn from this data alone is how to predict whether it rains with a 100% accuracy by checking whether Bob has an umbrella. We can also learn to predict with 100% accuracy whether Bob has an umbrella by checking if it's going to rain. What we cannot learn is what will happen if we give Bob an umbrella on a random day of our choosing. The answer to this question is P(Rain | do(Umbrella) ) and it's unknowable from the data alone. We need prior knowledge about how the world works to properly interpret the data we collected. We need to know that rain has an effect on Bob's behavior, but Bob's behavior has no effect on the rain. Information about the effects of interventions are simply not available in raw data unless it is collected by controlled experimental manipulation. 3. Scientific Experiments work because they produce a very special kind of data. You may have heard of what many people call a scientific experiment. Take a collection of objects, animals or people. Randomly split that collection into a control group and a treatment group. Apply your intervention to the treatment group while leaving the control group alone. If you observe any differences between the treatment group and the control group, it is logical to attribute these differences to the treatment. You can therefore say the differences were caused by the treatment. In statistics, the procedure I just described is called a Randomized Controlled Trial. It is a procedure for generating a specific kind of data where: P(Difference | Treatment) = P(Difference | do(Treatment) ) This is why traditional science experiments work. They are designed to capture causal information. This is not the case for vast majority of data that we collect in society. Without human guidance or access to real world knowledge, statistical algorithms and artificial intelligences can only learn P(A | B) from the raw data. This is a fundamental mathematical limitation on the use of data alone. That's it for now. This post is part of a series of posts about the concept of causal inference. They are based on the content of the Book of Why by Judea Pearl with lots of commentary from me. Follow me (@kareem_carr) so you don't miss out on the next post. Please show support by liking and retweeting the thread.
107
1,143
96
6,260
1,236,164
Sally (a girl) has 3 brothers. Each brother has 2 sisters. How many sisters does Sally have? Here are 60 LLMs getting it wrong. benchmarks.llmonitor.com/sal…
165
217
122
1,235
791,167
What is Causal Inference? Causal Inference is a new science of causation. This field is nothing less than a revolution in how scientists understand data. Read on to learn more. This is the first post in a series based on the Book of Why by Judea Pearl. I will be reading the book and sharing the big insights with my followers. When I first started learning causal inference, I didn't have a clear idea of the problems that casual inference was trying to solve. My misconceptions made it harder to understand the material than it would have been otherwise. So, before we get into the ideas of the book, I want to help you avoid these common misconceptions. 1. Causal Inference is NOT just regular science All sciences strive to infer causes within their domain of expertise. Therefore, it might not be obvious to you what makes casual inference any different. This is the reason why I sometimes call this new field mathematical causal inference. This term emphasizes that what sets causal inference apart is the mathematical framework it uses to describe causation. 2. Causal Inference is NOT directly about inferring causes Based on the name, new learners often think causal inference is solving the following problem: Given a list of candidate variables, how can we select the ones that have a real causal effect on our outcome of interest? This is not what causal inference does. Causal inference is solving a different problem: Assuming our beliefs about the causal relationships between all the variables is accurate, what is the best estimate of the causal relationship between a particular candidate variable and the outcome of interest? Very roughly speaking, causal inference tells us whether based on our causal beliefs, the association between two variables is bigger or smaller than their true casual relationship. 3. The Example of Alice and Bob Alice thinks genes strongly affect addictive behaviors like smoking. She also thinks genes have an effect on who gets cancer. Bob agrees that genes very likely have an effect on cancer, but Bob thinks complicated social behaviors like addiction are completely due to social factors, not genes. Causal inference allows us to evaluate the same data according to both Alice's and Bob's beliefs about the underlying causal relationships. This allows for various outcomes: 1. Avoiding unnecessary arguments. If Alice and Bob get very similar estimates for the causal relationship between genes and cancer, this implies that the disagreement about the relationship between genes and behavior is not that important. This allows scientists to move forward by focusing on the factors that really matter. 2. Agreeing to disagree. If the difference in estimates of the casual relationship between genes and cancer is large, causal inference allows both Alice and Bob to continue to explore the same data according to their very different assumptions about the causal relationships. This gives scientists and policy makers autonomy to pursue different interpretations of the same data. 4. Casual Inference builds doesn't replace statistics. It makes it more powerful. Causal inference allows us to adjust our statistical estimates of the strength of particular casual relationships based on our beliefs about the casual relationships between the variables. This is why some experts in causal inference (like the epidemiologist @epiellie) prefer to use the term causal effect estimation to refer to the field causal inference. That's it for now. My next post (coming soon!) will explore how causal inference creates a mathematical model of causation and what makes this approach so special. (You can find these posts using the hashtag #KareemReads) Follow me (@kareem_carr) for more content like this. If you want to show support, like and retweet the thread.
74
504
54
3,051
796,876
Thanks to @euronewsculture for putting together such a nice summary of our work. euronews.com/culture/2022/08…
1
1
13
Several people asked us for the food liking GWAS summary stats. I am happy to announce that they are finally online. Looking forward to seeing how they will be used! ebi.ac.uk/gwas/publications/…
1
6
49
I accidentally made a map comparing rainfall and sunshine hours across the UK in 2021. Conclusive proof that Yorkshire>Lancashire (among other things). High-res version here: github.com/VictimOfMaths/Map…
60
186
61
1,126
Peter joshi retweeted
I am not sure how to express how excited I am to finally see this out. We examined the causal relationship between food and health using MR, showing that food health relationships are sometimes specific, but overall a healthy diet is actually healthy! bit.ly/3MfBx55
8
31
6
119
👍Data cleaning. Can't emphasize that, visualisation and thinking about meaning enough. The problem is lots of people are having fun - just not doing anything real or useful. But hey, getting paid to have fun is nice work if you can get it (perhaps not sustainable).
This Post is from an account that no longer exists. Learn more
1
Peter joshi retweeted
Recently, the @eshgsociety has issued a statement titled "The use of polygenic risk scores in pre-implantation genetic testing: an unproven, unethical practice". See attached for a few thoughts. The ESHG statement: nature.com/articles/s41431-0…
6
15
3
74
I'm recruiting an experienced statistical scientist and machine learning scientist. If you're interested in improving population health in a fast paced start up, please apply. If you already know me feel free to DM. linkedin.com/jobs/view/28966… linkedin.com/jobs/view/28966…
5
3