Data Analysis Review Flashcards

0
Q

Sample standard deviation

A

Instead of calculating mean of squared differences by dividing by n, divide by n-1

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

Standard deviation

A
  1. Find mean
  2. Subtract each data point from mean
  3. Square each difference
  4. Average squared differences
  5. Square root of (nonnegative) average squared difference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Set

A

Collection of objects of some particular property
Repetitions are not counted as additional elements
Example: {1,2,3,2} and {3,1,2} are the same set of three elements
Three elements in set “S” is denoted |S| = 3

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

List

A

Numbers that can all be listed
Two differences form sets:
1. Members are ordered (rearranging created a different list), may not be numerical order (order is “first element”, “second element”)
2. Elements can be repeated and the repetitions matter

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

Intersection of sets

A

Intersection is denoted by symbol which looks like upside down U or an arch

It is the set of elements that are in both set S and set T (or whichever two sets are being considered)

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

Union of sets

A

Denoted by S U T (upside down arch is shorter and wider)

Includes all elements in both S and T

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

Disjoint sets

A

Sets S and T have no elements in common; they’re mutually exclusive

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

To denote mutually exclusive sets

A

Intersection of sets B and C is empty
B “intersection” (symbol) C = “empty” (symbol

Empty set symbol is circle with diagonal line from upper right to lower left

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

Inclusion-exclusion principle to find the number of elements in the union set of sets A and B

A

Number of elements in union set of A and B = number of elements in A plus the number of elements in B MINUS the number of elements in the intersecting set of A and B (to ensure that no elements are counted twice)

A U B | = |A| + |B| - |A intersection B|

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

Multiplication principle

A

If there are k different possibilities for the first choice and m different possibilities for the second choice, then there are km combinations of the pair of choices
Ex. 3 choices of app and 5 choices of main course = 15 choices of meal combinations
For as many variables as exist; ex. 3 different pairs of shoes, 5 different skirts, 7 different shirts, and 4 different sweaters, then there are 3x5x7x4 (420) outfits

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

Factorial

A
1! = 1
2! = (2)(1) = 2
3! = (3)(2)(1) = 6 
4! = (4)(3)(2)(1) = 24

As a special rule, 0! = 1

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

Permutations of n objects taken k at a time

A

= n! / (n-k)!

Example: 7 (n) numbers (objects) taken 5 digits at a time (create how many different five-digit numbers using 7 different digits without repeating any number
7! / (7-5)!
(7)(6)(5)(4)(3)(2!) / 2! = (7)(6)(5)(4)(3) = 2,520 different 5 digit combinations

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

Combinations of n objects taken k at a time (without counting repeated combination in different order)

A

n!/ k!(n-k)!

Ex: I want to select three of five letters and know how many combinations of three letters I can make using those five. (n= 5, k=3)
5!/ 3!(5-3)! = 5!/3!(2!) = 120/12= 10 different combinations of 3 letters can be made from a set of 5 letters

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

Ways to denote “combinations of n objects taken k at a time”

A

“n choose k”
nCk or

(n
k)

(within same parenthesis set, of course)

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

n choose 0

n!/0!(n!)

A

=1, which corresponds to the fact that there is only one subset of S with 0 elements, namely the empty set

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

n choose n

n!/n!(0!)

A

=1, since there is only one subset if S with n elements, namely the set S itself

16
Q

1-P(E) (probability)

A

The probability that an event E will not occur

17
Q

Sum of all probabilities of the possible outcomes of an experiment is

A

1

18
Q

P(E or F, or both, occur)

A

P(E) + P(F) - P(both E and F occur)

Inclusion-exclusion principle applied to probability

19
Q

If E and F are mutually exclusive, then P(E or F, or both, occur) =

A

P(E) + P(F)

Since the P(both E and F occur) = 0

20
Q

If E and F are independent (unaffected by the occurrence of the other), then P(both E and F occur) =

A

P(E)P(F)

21
Q

P(E or F) =

A

P(E) + P(F), if E and F are mutually exclusive

22
Q

P(E or F) =

A

P(E) + P(F) - P(E and F)

23
Q

P(E and F) =

A

P(E)P(F), if E and F are independent

24
Q

Distribution curve

A

Curve of histogram bars
Area below is 1
Also called density or frequency curves

25
Q

Mean of the random variable X is also sometimes called the

A

Expected value