Basic Data Preparation Flashcards

1
Q

What is an outlier?

A

a data point that’s very different from the rest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

point outliers

A

values far from the rest of the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

contextual outlier

A

value isn’t far from the rest overall,but is far from points nearby in time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

collective outlier

A

something is missing in a range of points, but can’t tell exactly where

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

box and whisker plot

A

visual to find outliers in one dimension

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

another approach to outlier detection

A

fit exponential smoothing model
-points with very large error might be an outlier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What causes outliers?

A

-bad data: sensor failure, contaminated experiment, wrong data input
-or it could be real data

  • need to investigate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Dealing with outliers

A

bad data - omit data, imputation (add in a better value)
real data - outliers are expected in large data sets

ex: normally distributed 4% of data outside 2 standard deviations
-with 1m data points >2000 would be outside 3 sd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Dangers of dealing with outliers

A

-removing real data outliers can be too optimistic

-ex:
time to transport perishable medicine from us to africa

-outlying data points- weather events or political issues… should these be included in your model?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

alternative way to deal with outliers

A

logistic regression model - estimate probability of outliers to happen under different conditions

second model - estimate length of delivery under normal conditions
-use data without outliers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

draw box and whisker plot and name the different parts of it

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly