Challenge: Detecting Outliers Using 3-Sigma Rule
Swipe to start coding
In the previous chapter, we mentioned that we can find outliers for normally distributed random variables using the 3-sigma rule. In the general case, we will consider all those values outside the 3-sigma range as outliers.
Your task is to find outliers on a specific dataset. You have to assume that the given samples have a Gaussian distribution with a mean of 0 and a standard deviation of 4.
Your task is to:
- Specify
meanequals0. - Specify
stdequals4. - Specify criteria for outliers detection due to the 3-sigma rule.
Note
We have to admit that in real-life tasks, we cannot unreasonably say that the data has a Gaussian distribution and a certain mean and standard deviation. For this, various statistical tests are carried out. This will be discussed in more detail in the next chapters.
Oplossing
Bedankt voor je feedback!
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Vat dit hoofdstuk samen
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.7
Challenge: Detecting Outliers Using 3-Sigma Rule
Veeg om het menu te tonen
Swipe to start coding
In the previous chapter, we mentioned that we can find outliers for normally distributed random variables using the 3-sigma rule. In the general case, we will consider all those values outside the 3-sigma range as outliers.
Your task is to find outliers on a specific dataset. You have to assume that the given samples have a Gaussian distribution with a mean of 0 and a standard deviation of 4.
Your task is to:
- Specify
meanequals0. - Specify
stdequals4. - Specify criteria for outliers detection due to the 3-sigma rule.
Note
We have to admit that in real-life tasks, we cannot unreasonably say that the data has a Gaussian distribution and a certain mean and standard deviation. For this, various statistical tests are carried out. This will be discussed in more detail in the next chapters.
Oplossing
Bedankt voor je feedback!
single