Part 5, diving into data Flashcards
what is the median
this is a measure of location or a measure of central tendency. this tells us exactly where the centre of the dataset is
what is the interquartile range
this is a measure of spread or dispersion. It tells us how far the data travels from the median.
Its found by splitting the data set into 4 quarters and then taking the middle 50%
what would the value r be for each of these
- strong positive correlation
- weak negative correlation
- no correlation
what do the correlation coefficients of each of these mean
- r = 1
- r = -0.3
- r =0
at this stage we would
writing and testing code by implementing the algorithm
in the context of programming what would we do at stage 3 carry out the plan of george polyas problem solving process
This is a built in library in python that can read csv files and translate them into lists
what is the python csv libary for
what are the steps of the high level algorithm for finding the median
- sort numbers
- find length of list
- if length is odd
3a. set median to middle number
- otherwise
4a. find two middle numbers
4b. set median to mean of two middle numbers
this was a hungarian who studied the process of problem solving
who was george polya
This function opens a file, and returns it as a file object
what is the python open() function for
what are the 4 steps of an algorithm to find the interquartile range
- Find the median
- Split the data into a lower half and an upper half
- Find the median of each half
- Subtract the lower median from the upper one.
who was george polya
this was a hungarian who studied the process of problem solving
what is the python open() function for
This function opens a file, and returns it as a file object
- Find the median
- Split the data into a lower half and an upper half
- Find the median of each half
- Subtract the lower median from the upper one.
what are the 4 steps of an algorithm to find the interquartile range
what are heuristics
these are methods of discovery or invention. Rules of thumb that help us to solve problems.
what do the correlation coefficients of each of these mean
- r = 1
- r = -0.3
- r =0
what would the value r be for each of these
- strong positive correlation
- weak negative correlation
- no correlation
- sort numbers
- find length of list
- if length is odd
3a. set median to middle number
- otherwise
4a. find two middle numbers
4b. set median to mean of two middle numbers
what are the steps of the high level algorithm for finding the median