# Statistical Inference Vs Causal Inference

Statistical Inference being used today is a very effective, efficient way of making predictions. The Leap with models like deep learning has really been a breakthrough in the field. Statistical Inference and different ML techniques have solved so many problems that there is no denying the fact that these models are effective and helpful. ML models can very accurately calculate the probability that a patient with certain symptoms has a certain disease because it has learned just how often thousands or even millions of other people with the same symptoms had that disease.

**Note: Probabilities and Statistics are really effective methods in finding a** ***Correlation !!***

If the two variables are correlated or associated or statistically related with each other then, one of these causal relationships must be true:

$$

1. A \rightarrow B
   $$

$$
2\. A \leftarrow B
$$

$$
3\. A \leftarrow C \rightarrow  B
$$

$$
4\. Chance
$$

Similarly, the same Joint distribution could lead to different for results:

$$
P(A,B) = P(A|B)P(B)  \\
or\\
P(A,B) = P(B|A)P(A)
$$

**As we see that there are multiple possibilities of causal relationships, so we cant rush to any one of the conclusions.** We need some additional causal assumptions to make a conclusion here. Today because AI is used widely in the real world, and there are some really important questions we need to answer, for which understanding causal relationships is important. Hence, Causal inference can solve some of these problems that statistical inference couldn't.

**This is where the causal Inference can help and kind of complement the field of Statistical Inference.** Causal Inference can give us some additional information compared to Statistical Inference. Causal Inference can be considered more of the **next step** after statistics that can help us answer some really important causal questions.

We can consider Statistical Inference as a **First Step** and Causal Inference as a **Second Step,** wherein firstly, we find a correlation, and then with experiments & testing hypothesis, we **prove the real causal relationship**. With this second step of Causal Inference, the machines will be able to define and plan an experiment and find answers to pending scientific questions.

## Read More:

What AI Still can't do? - [MIT review](https://www.technologyreview.com/2020/02/19/868178/what-ai-still-cant-do/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://akm5630.gitbook.io/understanding-causal-inference/statistical-inference-vs-causal-inference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
