
Teacher disguised as lecturer, language obsessed and deeply concerned about the lack of a reading culture in SA.
Stellenbosch
Joined July 2009
- Tweets3.8K
- Following764
- Followers496
- Likes9.6K
Christa van der Walt retweeted
"You think evil is going to come into your houses wearing big black boots.
It doesn’t come like that.
Look at the language. It begins in the language."
—Joseph Brodsky
Christa van der Walt retweeted
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.
When I’m having a conversation with somebody about something and they say, ‘I wrote an article on this. Give me your e-mail and I’ll send it to you’, they’re kind of killing the personal connection. And the conversation. Plus, I won’t read the article.
2
2
100
This is simply unbelievable!
Testing out @HeyGen_Official translation on French and German. I don’t speak either language so let me know if it sounds natural if you do.
I hope if you pay you can turn off the color correction.
It didn’t work on my phone so I had to upload on my pc.
app.heygen.com/guest/templat…
Wow!
Claire Kramsch, 88, incredible speaker, established researcher worldwide who chose to give her talk in #AILA2023 in French. Elle est merveilleuse, fascinante, passionnante. 👏👏👏
1
74
#NewProfilePic Speaking at the first post-COVID, in-person conference of the SA Language Teachers Association. Loved every minute, attended (almost) all the sessions. 😁
4
174
Today a chatbot gave me a Yes/No option to the question if I will give feedback on the interaction and help to make it better and I said ‘no’. #RageAgainstTheMachines. 😝
2
38
Christa van der Walt retweeted
“I have no patience with people who grow old at sixty... Sixty should be the time to start something new, not put your feet up.”
― Mary Wesley @WomenRead #marywesley
Academic conferences are hard work! #SAALT #CoffeeBreak next to the pool. 😁
1
4
168
There are days when you get to 5 in the afternoon and you think, how is this STILL Tuesday? #TooManyThings
3
75
Christa van der Walt retweeted
Other people: using ChatGPT to do useful stuff, like programming.
Me: "Please write me a Gen-Z inspired thank-you note for someone's conference contribution"
It’s apparently that easy people!
The water quality in Warsaw, the capital city of Poland, is monitored by clams. If the water gets too toxic, they close, and the triggers shut off the city’s water supply automatically
[read more: buff.ly/35gPYTu]
[documentary trailer: vimeo.com/398813930]
52
Maybe something our government (and other South Africans) should consider when they disparage citizens working outside SA.
When it comes to migration, one aspect that gets surprisingly little attention is the huge contribution migrants make through remittances to their countries of origin.
These gifts, often sent to relatives or friends, are much higher than all of public international aid combined:
2
102

























