AFM 112 - Chp 7 Flashcards
1
Q
how to approach the creation of a query (pivot table) as an algorithm
A
need to specify input (initial variables), process (commands), and output (end values)
2
Q
what is considered to be an extreme outlier
A
if the value is more than 3 interquartile ranges below the 1st quartile or more than 3 interquartile ranges above the 3rd quartile
3
Q
what’s the formula to find the extreme outlier
A
if x < Q1 - 3IQR (on lower end of distribution)
if x > Q3 + 3IQR (on upper end of distribution)
4
Q
what does 1 and 0 mean in programming languages
A
1 = statement is true
0 = statement is false
5
Q
what’s the if statement in R?
A
ifelse (logical statement, 1, 0)