DECK 11 BEFORE INFERENCE MIXED Flashcards
<p>Compare population to sample</p>
<p>populations are generally large, and samples are small subsets of these population. We take samples to make inferences about populations. We use statistics to estimate parameters.</p>
How are we manipulating the environment differently in experiments and studies?
No manipulation or treatments in an observational study. You only manipulate environment in an experminet.
<p>How can you check for "straight enough?"</p>
<p>Residuals plot fool!</p>
<p>check the resids</p>
<p>What are random variables?</p>
<p>If you randomly choose people from a list, then their hair color, height, weight and any other data collected from them can be considered random variables.</p>
How to find P(at least 1)?
1-P(none)
If we use a NORMAL model to approx a BINOMIAL.. What are mean and SD?
mean= np and sd= root(npq). So N (np, root(npq))
<p>What percentile is Q1?</p>
<p>25th</p>
<p>How do you find outliers in regression?</p>
<p>they don'tfollow the "flow"</p>
<p>(pinky trick, cover with you pinky.. Then uncover.. Does it follow the flow?)</p>
<p>What do you call things that are not independent?</p>
<p>associated. Or not independent. We generally don't say DEPENDENT (unless talking about y variable on a scatterplot).</p>
<p>What point is on every regression line?</p>
<p>the mean-mean point. (x bar, y bar).</p>
<p>This point is generally not one of the points on the scatterplot.</p>
<p>Usually none of the scatterplot points are on the regression line.</p>
<p>is r sensitive to outliers?</p>
<p>yes. A single outlier can make it seem like there is a relationship ( if way out in x direction), or even seem like there is no relationship.</p>
<p>Interpret residual: Points above the line/positive resid</p>
<p>"the model underpredicted" or "actual performance was above the expected performance</p>
give an Example of a MULTISTAGE sample
Suppose you want to poll urban, suburban and rural citizens, you can divide a map into those strata, and then randomly choose neighborhoods or streets in each and ask everyone on those streets. Here you stratified by community type and then clustered by street.
<p>Q: How can you get a parameter? A: By taking a \_\_\_\_\_\_\_\_\_\_\_</p>
<p>Census</p>
What’s the difference between a prospective and a retrospective study?
A retrospective study takes a group and looks back at its history while a prospective study watches a group for a period of time and records the data along the way into the future.
<p>Does a high r value mean anything?</p>
<p>(can it look strong, but not be?)</p>
<p>Sure. It can. It tells you strength of LINEAR relationship.</p>
<p>BUT</p>
<p>CHECK THE SCATTER. One outlier or typo can make it look STRONG.</p>
<p>How do you describe CENTER for bimodal or multimodal?</p>
<p>talk about the modes (the lumps, the clusters)</p>
<p>What is a sample?</p>
<p>A subset of a population, often taken to make inferences about the population. We calculate statistics from samples.</p>
<p>How is r calculated?</p>
<p>r = sum(ZxZy) / (n-1)</p>
<p>it is the sum of rectangle areas on the standardizes Zaxes</p>
<p>Why do we plug 999 into normcdf?</p>
<p>It needs a z score, but we can't plug in infinity. So we go down or up 999 standard deviations and that pretty much gets everything</p>
Why do you have to Stratify?
You don’t have to.. But you might want to if you feel that a simple random sample might not be representative of the population . You want your sample to be like the population. a representative sample (it represents the population well).
what is independent?
when P(A)=P(A|B)… When the probability of A is the same even when B is also true… Knowing B does not affect the probability of A. (can also be checked by P(A)*P(B)=P(AandB))
<p>Interpret r squared</p>
<p>r squared % of variability in y can be explained by the model with x. The rest is in residuals…</p>
<p>What is meant by relative frequency?</p>
<p>The PERCENT of time something comes up (frequency/total)</p>
How can you think about the mean and median to remember the difference when looking at a histogram?
mean is balancing point of histogram, median splits the area of the histogram in half.
Why is it called the "least squares regression line?"
the LSRL?
Because, after you find the mean-mean point, you fix the line so that it minimizes the squared vertical distancesto that line from each point.
It minimizes the squared residuals, the least squares....
are there any normal samples?
no, nothing is normal, just normalish. The only normal thing is the model we use.
What is the difference between a sample and a census?
With a sample, you get information from a small part of the population. In a census, you get info from the entire population. You can get a parameter from a census, but only a statistic from a sample.
Give example of correlation without causation and explain the lurking variable.
Ski accidents are higher on days with more hot chocolate sales, therefore, hot chocolate must cause ske accidents. (lurking variable: the number of people on the mountain). What is happening is that on days when the mountain is crowded, there are more hot chocolate sales and more ski accidents. So the population on the mountain is causing both to rise and fall together.
Interpret residual: Points below the line/negative resid
"the model overpredicted"
or
"Actual value was below the the expected (or predicted)"
Compare Descriptive and Inferential STATS
Descriptive tells you about the data that you have, inference uses that data you have to try to say something about an entire population?.
How do you interpret slope EQUATION?
rSy/Sx
for each increase of 1 st dev in x direction,
you go r st dev in y direction.
2st dev in x, you go 2r st. dev in y.
3st dev in x, you go 3r st. dev in y.
What is homoscedasticity?
equal scatter along the regression line
Compare data to statistics
Data is each little bit of information collected from the subjects?. They are the INDIVIDUAL little things we collect? we summarize them by, for example, finding the mean of a group of data. If it is a sample, then we call that mean a "statistic" if we have data from each member of population, then that mean is called a "parameter"
If I take a random sample of 20 hamburgers from FIVE GUYS and count the number of pickles on a bunch of them? and one of them had 9 pickles, then the number 9 from that burger would be calle
a datum, or a data value.
If something is correlated is it associated?
Yes.
If it is correlated then it must be associated.
However, if it is associated, it may not be correlated.
If a distribution is skewed right, what will be greater, the mean or median? WHY?
Mean. The mean moves further to the right to keep balance.
What's up with extrapolation? Is it OK?
Not ideal. Sometimes it's all you can do, but state CAUTION.
Which is more sensitive to outliers and skewed? Mean, median. Sd or IQR?
Mean and SD are most influenced by outliers. median and IQR are RESISTANT, RESILIENT, ROBUST!!
First step in interpreting slope
Write "slope units y over 1 unit x" and look at it.
How do you match OGIVES to histograms?
RECTANGLE DROP!!
When drawing a graph or chart, what do you have to remember to do?
LABEL AXES, make a KEY(if needed ) AND GIVE IT A NAME!!! "Figure 1: Age and Food Preference"
What does normcdf do?
It gives you the area under the normal curve between any two z scores
what is the shortcut invnorm?
gives data value from percentile, skips Z score. Invnorm (percentile, mean, sd)
how do you describe form of a scatterplot?
straight or curved?
How do you undo squares or cubes?
like if you have x2= stuff
or x3= stuff
^ 1/2 or ^ 1/3
(raise stuff to these powers to get x)
if you mult or divide the x's or y's (shift/scale) does r change?
no. the strength remains the same. (If you log or square it, it will change, but just adding or multiplying won't change it)
Does a census make sense?
A census is ok for small populations (like Mr. Nystrom's students) but impossible if you want to survey "all US teens"
Think of the minimum value, the median and the IQR, which is
If you multiply a data set by a number, then the min, median and the IQR will multiply by that number.
What percent of the data is above Q3?
25%
What is a "percentile?"
It tells you the percent of data BELOW a certain value
What percentile is the median (aka Q2)?
50th
What do we sometimes call a categorical variable?
qualitative
Does the regression line (LSRL) go through a lot of points?
No, usually it goes through NONE!
It just goes through the center of the cloud of points.
What is Statistics?
The study of variability
what is leverage?
Far right or left from the middle.
leverage just means it is far away from x-bar
Some leverage points are not influential if they go along with the flow of the scatter.
How can you match boxplots to histograms?
USE THE FISH TANK METHOD!
What is a Z score?
The number of standard deviaiton away from the mean
Lurking variable: Why are there more ice cream sales on days that there are more surfing accidents? Is the ice cream putting surfers at risk?
The WEATHER is the lurking variable.
When it is a nice day, more surfers and more ice creams are sold.
So, the WEATHER causes both to go up and down together.
How do you find Q1 and Q3?
Q1 is the median of the bottom half and Q3 is the median of the upper half (they are the 25th and 75th percentiles)
the output for normcdf(Zleft, Zright) is_______
the area under the normal curve between the given z scores
How do you descrive SPREAD for unimodal and symmetric distributions?
use the standard deviation
How do you find percentiles and make a boxplot from OGIVE?
Go across till you hit the curve and then STRAIGHT DOWN!
How does multiplying by a constant impact the summary statistics of a data set? (or random variable)
It is SCALED. Both center and spread are effected. They all (mean, median, IQR, SD, range) get multiplied by three. (BE CAREFUL, remember the variance is the SD squared, so the variance gets multiplied by 9).
What percent of the data is below the median?
50%
If you want to find % below a value, what do put into normcdf (? ?)
find z score for value, and then normcdf (-999, Zright)
What is the difference between a population mean and a sample mean?
population mean is the mean of a population, it is a parameter, sample mean is a mean of a sample, so it is a statistic. We use sample statistics to make inferences about population parameters.
What is the total area under the normal curve?
1 or 1.000
if you switch x and y does r change?
NO. The strength stays the same.
What is the difference between quantitative and categorical data?
The data is the actual gathered measurements. So, if it is eye color, then the data would look like this "blue, brown, brown, brown, blue, green, blue, brown? etc." The data from categorical variables are usually words, often it is simpy "YES, YES, YES, NO, YES, NO" If it was weight, then the data would be quantitative like "125, 155, 223, 178, 222, etc.." The data from quantitative variables are numbers.
what happens if you multiply all of a data set by a constant? Think of an example
it is scaled Both center and spread are impacted. Mean/ median/ stand dev/ iqr/ quartiles all multiplied by that constant. Center, spread and all individual values are changed. Consider 1,2,3,4,5 mean of 3 and range of 4. Now multiply by 3: 3,6,9,12,15 and you get a mean of 9 and a range of 12... both multiplied by three.
What does invnorm do?
It gives you the Z SCORE from a percentile
which calculator function gives you a percent?
normcdf(Z left, Z right)
Give a simple example showing that adding a constant doesn't change the spread, but changes the center. (this always happens)
Data set: 1,2,3,4,5 Spread (range):4, Center: 3 add three and get new data set: 3,4,5,6,7 spread:4 Center: 5 (center went up, spread stayed the same). The IQR and SD will stay the same, but median and mean go up 3. Called shifting, or sliding the data.
How do you undo an ln (natural log) when solving?
ex: ln x = stuff
or: ln x = m
estuff
or
em
Does the IQR capture 68% of the data?
NO. it catches the middle 50%.
How can you describe spread?
range, IQR, stand dev, variance, or simply say: From here, to about here
What is a random sample?
When you choose a sample by rolling dice, choosing names from a hat, or other REAL RANDOMLY generated sample. Humans can't really do this well without the help of a calculator, cards, dice, or slips of paper.
mean/SD/median/IQR. How do I know which ones to use?
when unimodal and symmetric, mean and sd. If skewed or outliers? Median and IQR. If bimodal? Talk about the MODES
What are DESCRIPTIVE STATS?
Tell me what you got! Describe to me the data that you collected, use pictures or summaries like mean, median, range, etc?
What percent of the data is above Q3?
25%
What is a population?
the group you're interested in. Sometimes it?s big, like "all teenagers in the US" other times it is small, like "all AP Stats students in my school"
Think of the minimum value, the median and the IQR, which is impacted by shifting (adding a constant?)
adding a value shifts the entire histogram to the right, so the min and the median will increase by that amount, BUT THE IQR WILL NOT CHANGE.
What percentile is Q3?
75th
What are 2 branches of AP STATS?
Inferential and Descriptive
How do you get equation from computer output?
variable coeff indep: doc
constant 0.005
genet - 0.233
doc = 0.005 - 0.233 (genet)
How do you describe distributions (histograms)?
Shape-Cener-Spread- and STRANGE (Outliers and gaps) some say GSOCS. where's yo GSOCS?
Computer ouput:
What does "constant" mean?
It is the y intercept
How can you describe the center of a distribution?
OPTIONS: give the mean (balance), median (splits area in half), mode (peaks, if bimodal talk about both modes) or say "centered around ____"
How do you describe CENTER for skewed or distributions with outliers?
use the MEDIAN
How do you undo and exponent?
Example
stuffx= other
ax=b
log other / log stuff
that gives you x
or
x = (log b) / (log a)
For information purposes, which gives LEAST… stem-leaf, histogram or box-whisker?
Box/Whisker, BE CAREFUL. you really don't know how things are distributed. The box and whisker and fish tank give a very GENERAL look.
What is the line that you plot?
IT IS A MODEL!
It is the LSRL and it is the model we are talking about
What are the percentiles for Q1, med, and Q3?
25, 50 and 75
Another name for "skewed right" is
positively skewed
Can numbers be CATEGORICAL?
sure. Zip codes, sports jersey numbers, telephone numbers, social security nunmbers, area codes… these are categorical.
What symbols do we use for population mean and sample mean?
Mu for population mean, xbar for sample mean.
Year in school (F,S,J,S) and Pizza Preference (pepperoni or cheese) are __________ because _______________
independent because all grades have similar preference distributions.. 40% cheese, 30%pepperoni, 20% veggie 10% other
How do you make a residuals plot? (find RESID?)
stat>plot make a scatterplot, but instead of L1 vs L2, change L2 by putting cursor on it and going to 2nd>lists down to RESID.
You can plot L1 vs RESID
or you can plot L2 vs RESID
How do you find the median from an OGIVE?
go halfway up the y axis, then shoot across to the curve, then straight down. It's at the 50th percentile (halfway up)
What is the mode?
the most common, or the peaks of a histogram. We often use mode with categorical data
If you want to find percentile for a value, what do you put into normcdf (? ?)
find z score for value, and then normcdf (-999, Zright) like going from negative infinity up to the z score
How are mean, median and mode positioned in a skewed left histogram?
goes in that order, mean median mode
What is Q2 also known as?
the median
What symbols do we use for population standard deviation and sample standard deviation?
Sigma for population and s for sample.
If the distribution is bimodal or multimodal, what would you use for center and spread statistics?
Talk about each mode (center) and maybe use the range or IQR. You could also say "one group seems to go from __ to __ and the other from about __ to __"
When can you round?
AT THE VERY END!!! (keep at least 3 digits until end!)
independent is the same as __________
not associated
What is the mode?
the peaks of a histogram (the humps). or with categorical data, the most popular category
Can there be a correlation between grade and music preference?
No, music preference is categorical.
There is an association, however.
What if a scatterplot goes straight across horizontally?
NO ASSOCIATION.
That would be like height and IQ, they are independent so each height has about the same IQ.
What percent of the data is between Q1 and Q3?
the middle 50%. That is the IQR
What is a frequency distribution?
A table, or a chart, that shows how often certain values or categories occur in a data set.
what does influential mean?
It impacts the SLOPE.
It means that the point, when added or removed to data, will influence the SLOPE.
Generally these are outliers in the x direction. Far left or right.
If the distribution is skewed (or outliers/not symmetric) what would you use for center and spread statistics?
Median (center) and IQR (spread)
What is the difference between quantitative and categorical variables?
Quantitative variables are numerical measures, like height and IQ. Categorical are categories, like eye color and music preference
where are the "outlier fences?"
1.5 IQR above Q3 and 1.5 IQR below Q1. Just a rule of thumb.
describe a scatterplot's strength?
give the r value (if straight),
or say…
"tightly packed… loosely packed"
How can you straighten data?
Do stuff to the y (square it, root it, log it, etc) and recheck the plot. Remember to put the transformation into your equation. Example Sqrt y = 4.33 - 2.03 x
When drawing a normal model, what are the PERCENTILES from left to right?
2.5, 16, 50, 84, 97.5
Which calculator function gives you a z score?
invnorm(%ile)
not associated is the same as being ____________
independent
How do you describe CENTER for unimodal and symetric distributions?
use the MEAN
What if the scatterplot is curved?
Either straighten the scatter and fit a line,
or keep it and fit a curve
Try quadreg, cubicreg, lnreg, logreg and check the graph and the r.
How do you undo sqrt when solving?
like
sqrt(x) = stuff
^2
(raise stuff to power of 2 to get x)
How do you describe SPREAD for bimodal or multimodal?
talk about the outer edges of the clusters "from here to here" or use the IQR.
What does GSOCS stand for?
Gaps Shape Outliers Center Spread (put on your gsocs when comparing distributions) be sure to talk about each one clearly (make a list)
If there is a crazy outlier, what can you do?
Run the analysis with and without the outlier and write about both.
What is a residual?
Vertical distance to the LSRL.
ACTUAL-PREDICTED,
A-P, like this class AP (get it?)
Take y data found and from that, subtract the y you get from plugging the x into the model (equation).
How do you undo a log when solving?
log x = stuff
or
log x = m
10^ stuff
10stuff
that will get you x
or
x= 10m
What values can r be?
from -1 to +1
(r near 0 is WEAK)
How do you interpret slope?
For an increase of 1 [unit of x] there is an (increase/decrease) of [SLOPE] [units of y].
You can write "SLOPE UNITS Y/ ONE UNITS X" to help
are any populations actually normal?
no, nothing is normal, just normalish. The only normal thing is the model we use.
What is a contingency table?
shows distributions across 2 variables like gender and music pref. AKA 2-way table
How do you find a certain percentile on an OGIVE?
Start at the % on the Y axis.. travel horizontally to the right until you hit the line, then straight down to the X axis. That data value is the percentile.
what is a clear example of the medians resiliance and when you would use the median instead of the mean?
(change just the top value). Imagine if we asked eight people how much money they had in their wallet. We found they had {1, 2, 2, 5, 5, 8, 8, 9}. The mean of this set is 5, and the median is also 5. You might say "the average person in this group had 5 bucks." But imagine the same group the next week, but one of them just got back from the casino and the dist was (1, 2, 2, 5, 5, 8, 8, 9000}, in this case, the median would still be 5, but the mean goes up to over 1000. Which number better describes the amount of money the average person in the group this time? 5 bucks or 1000 bucks? I think 5 is a better description of the average person in this group and the 9000 is simply an outlier.
what is a conditional distribution?
A distribution with a condition (within the table), along only one row or one column… NOT IN THE MARGINS. You are given a condition.. Then read along that row or column.
When are box plots used most often?
When comparing a bunch of different sets of data.
What is the difference between categorical VARIABLES and categorical DATA?
The Variable is the overall category. Like "EYE COLOR". The data is the actual measurement from the subjects. Like "blue, brown, blue"
What is categorical data?
The actual individual category from a subject, like "blue" or "female" or "sophomore"
What is a categorical variable?
Qualitative variables are like categories: Blonde, Listens to Hip Hop, Female, yes, no? etc.
When there is no relationship between two variables, we say they are
independent (or not associated)
what happens if you ADD a constant to each value in a data set?
it is SHIFTED only. Does not impact spread. This effects all of the data values and measures of center (mean, med) and quartiles, deciles, etc, IT DOES NOT CHANGE THE SPREAD! (IQR, St Dev, Range all stay the SAME).
Why don't we always use the mean, we've been calculating it all of our life ?
It is not RESILIENT, it is impacted by skewness and outliers
If the mean is above the median, the distribution may be
skewed right... the mean follows the tail
What is frequency?
How often something comes up
Can you predict an X by using a Y?
NOT WITH THE SAME EQUATION!
BE CAREFUL!! Don't just solve for x...
You have to change the entire equation and start from scratch.
(run LinReg L2, L1)
If you want to calculate the probability (%) something falls between two values in a normal model, what do you do?
find z scores for both value, and then normcdf (Z LOW, Z HIGH )
What do we look for in a residuals plot?
To proceed, it should look random.
if there is a pattern, then find a new model or proceed with caution.
Does r2 tell direction?
NO
r2 is always positive, so you can't use it to see if the relationship is negative.
Give a quick example of associated variables
A higher percentage of boys play video games than girls so we say "gender and video game playing are associated" or "gender and video game playing are not independent"
does correlation mean causation?
NO WAY DUDE
How can you tell if variables in a contingency table are independent?
If the distributions are the same across the variables.. Then it doesn't DEPEND… so INDEPENDENT. Ex: 30% of freshman and 30% of seniors like cabbage.
What is meant by cumulative frequency?
ADD up the frequencies as you go. Suppose you are selling 25 pieces of candy. You sell 10 the first hour, 5 the second, 3 the third and 7 in the last hour, the cumulative frequency would be 10, 15, 18, 25
Computer Output:
What is "S"
The average, or typical residual..
Standard deviation of the residuals
typical distance from actual value to the model's prediction.
About how far off your prediction is likely to be.
What is quantitative data?
The actual numbers gathered from each subject. 211 pounds. 67 beats per minute.
How can you describe shape?
TWO THINGS: modes and symmetry.unimodal, bimodal, multimodal AND uniform, symmetric, skewed
Association and Independence. How are they related?
Variables are either independent or associated. Meaning: if one impacts the other then we say there is an association. If not, Then they are independent.
What other regressions does your calculator do?
Quadreg, cubicreg, lnreg, etc.
just be careful when substituting while writing the equation given.
what is a linear model?
It is an equation you can use or a line of a graph,
but it is just a model that says what kind of happens,
and can be used to ESTIMATE WHAT MIGHT HAPPEN
What do OGIVES look like?
They all start at the bottom left (0%) and go to top right (100%)
associated is the same as __________
not independent
When we say the average teenager are we talking about mean
It depends, if we are talking height, it might be the mean, if we are talking about parental income, we'd probably use the median, if we were talking about music preference, we'd probably use the mode to talk about the average teenager.
What symbols do we use for population proportion (%) and sample proportion (%)?
p for population and p-hat for sample
what is the LSRL
the "least squares regression line"
that line you plot
OR
That equation
What is the IQR?
Interquartile range… a measure of spread. Q3-Q1. The distance from Q1 to Q3. The regular range is Hi-Lo, this is the inner range, the interquartile range.
What does SHIFT and SCALE mean?
Shift is when you add or subtract, scale is when you multiply
What is the variance?
The average squared distance to the mean. Or the SD2 (It is the SD before you take the square root, so it is the stuff under the radical in the formula)
what is b1 and bo ?
b1 is the SLOPE,
bo is the intercept.
What is the five number summary?
min, Q1 , Q2(median), Q3 and max
If asked to compare distributions, what should you write about?
A sentence comparing the SHAPES. A sentence comparing the CENTERS. A center comparing the SPREADS. and a sentence comparing the STRANGE STUFF. (GSOCS)
If I take a random sample of 20 hamburgers from FIVE GUYS and count the number of pickles on a bunch of them? and I do this because I want to know the true average number of pickles on a bur
parameter, a one number summary of the population. The truth. AKA the parameter of interest.
How do you get equation from computer output?
variable coeff indep: age
constant 7.2
Height 3.5
For this case:
age = 7.2 + 3.5 (height)
Does high r squared mean a good model?
CHECK SCATTER FIRST..
Make sure model "FITS" the data.
You should check your scatterplot and residuals plot to make sure model is appropriate and no outliers present… then it means something
So YES, but after you check the resids.
What is a standard deviation?
average (typical) distance to the mean (about). It is how far you expect a random value to be away from the middle.
data or datum?
datum is singular.. Like "hey dude, come see this datum I got from this rat!" data is the plural.. "hey look at all that data Edgar got from those chipmunks over there!!"
Compare data to parameters
Data is each little bit of information collected from the subjects?. They are the INDIVIDUAL little things we collect? we summarize them by, for example, finding the mean of a group of data. If it is a sample, then we call that mean a "statistic" if we have data from each member of population, then that mean is called a "parameter"
Height and weight has an r value of 0.7. You would expect a person with a height that is 2 st. dev above the mean in height to have a weight that is only___St. Dev above the mean weight.
only 1.4 S.D above the mean for weight.
(for each SD in the x direction you change r SD in the y direction)
If you want to calculate % above a value, what do you put into normcdf(? ?)
find z score for value, and then normcdf (Z left, 999)
Gender and Video Game playing are___________ because_______
associated (or not independent) because a higher percentage of males play video games. (think.. It depends on gender)
what is the shortcut normcdf?
gives % from raw data, skips Z score. normcdf (low VALUE, high VALUE, mean, sd)
If r= 0.8.
An x value that is 2 standard deviations above the mean will have a predicted y value that is _______
1.6 standard deviations above the mean in the Y direction
What percent of the data is between Q1 and Q3?
50%
How do you describe a scatterplot?
DIRECTION
FORM
STRENGTH
and STRANGE
How do students often mix up IQR and St. Dev
They INCORRECTLY think that Q1 is 1sd below the mean and Q3 is 1sd above the mean. THIS IS NOT TRUE!!! Q1 is only .67 sd above the mean and Q2 is .67 below
How do you describe SPREAD for skewed distributions (or distributions with outliers?)
Use the IQR
Use the following words in one sentence: population, parameter, census, sample, data, statistics, inference, population of interest.
I was curious about a population parameter, but a census was too costly so I decided to choose a sample, collect some data, calculate a statistic and use that statistic to make an inference about the population parameter (aka the parameter of interest).
If something is associatied is it correlated?
Not necessarily.
It can be associated and have a zero correlation
( parabolic scatterplot)
or categorical variables.
What is variability?
Differences? how things differ. There is variability everywhere.. We all look different, act different, have different preferences? Statisticians look at these differences.
Compare DATA-STATISTIC-PARAMETER using quantitative example
Data are individual measures, like how long a person can hold their breath: ?45 sec, 64 sec, 32 sec, 68 sec.? That is the raw data. Statistics and parameters are summaries like ?the average breath holding time in the sample was 52.4 seconds? and a parameter would be ?the average breath holding time in the population was 52.4 seconds?
Think of the minimum value, the mean and the standard deviation, what is impacted by shifting (adding a constant)
adding a value shifts the entire histogram to the right, so the min and the mean will increase by that amount, BUT THE SD WILL NOT CHANGE.
What are some strong r values and some weak r values
Strong r values are close to 1 or -1, like -0.83 or 0.94. Weak r values are close to zero like 0.10 or -0.06
What does r2 tell us?
(r-squared)
It tells us the percent of variablility of y that is explained by the model with x.
What is extrapolation?
Making predictions outside of the x values you have.
how do you describe direction?
positive or negative
What are INFERENTIAL STATS?
Look at your data, and use that to say stuff about the BIG PICTURE? like tasting soup? a little sample can tell you a lot about the big pot of soup (the population)
What's wrong: Age and height have a correlation of 2.7
WRONG.
Correlation must be between 1 and -1
We are curious about the average wait time at a Dunkin Donuts drive through in your neighborhood. You randomly sample cars one afternoon and find the average wait time is 3.2 minutes. What i
The parameter is the true average wait time at that Dunkin Donuts. This is a number you don't have and will never know. The statistic is "3.2 minutes." It is the average of the data you collected. The parameter of interest is the same thing as the population parameter. In this case, it is the true average wait time of all cars. The data is the wait time of each individual car, so that would be like "3.8 min, 2.2 min, .8 min, 3 min". You take that data and find the average, that average is called a "statistic," and you use that to make an inference about the true parameter.
How do you find 5 number summary from OGIVE?
Split the y axis into quarters. Shoot out to the right from 0, .25, .50, .75 and 1.00 till you hit the line in the ogive, then go straignt down. Those numbers on the x axis below correspond to the 5 numbers.
not independent is the same as
associated
What is the difference between discrete and continuous variables?
Discrete can be counted, like "number of cars sold" they are generally integers (you wouldn't sell 9.3 cars), while continuous would be something like weight of a mouse? 4.344 oz.
What is a census?
Like a sample of the entire population, you get information from every member of the population
How can you turn OGIVES into histograms?
RECTANGLE DROP! (bin drop)
What percent of the data is below Q2?
50%
If you are tasting soup.. Then the flavor of each individual thing in the spoon is the ________, the entire spoon is a ______.. The flavor of all of that stuff together is like the _____ and
If you are tasting soup. Then the flavor of each individual thing in the spoon is DATA, the entire spoon is a SAMPLE. The flavor of all of that stuff together is like the STATISTIC, and you use that to MAKE AN INFERENCE about the flavor of the entire pot of soup, which would be the PARAMETER. Notice you are interested in the parameter to begin with... that is why you took a sample.
What does r tell us?
The direction (+/-) and how strong a LINEAR relationship is between two QUANTITATIVE variables… (when linear)
What is the difference between a bar chart and a histogram
bar charts are for categorical data (bars don't touch) and histograms are for quantitative data (bars touch)
What is a CUMULATIVE FREQUENCY GRAPH?
An OGIVE. It shows the added up totals as you go left to right.
Which is explanatory variable?
the x
the horizontal axis.
it "explains" what happens to y
What is the median?
the middlest number, it splits area in half (always in the POSITION (n+1)/2 )
When there is a relationship between two variables, we say that they are
associated (or not independent)
Give an example of independent variables
If 80% prefer cheese and only 20% prefer pepperoni IN EACH GRADE AT BHS…then they all have the same preference, so grade doesn't matter. We say "school year and pizza choice are independent"
what is the emperical rule?
mean 68-95-99.7 yeah!
How many SD wide is the IQR in a normal distribution?
NOT 2!!!! Think about it. The middle 68% is 2 sd wide, since the IQR is only the middlest 50% it must be less than 2. try [invnorm(.75)] x2. You find that it is only 1.35 SD wide if the distribution is nearly normal.
What is the difference between a parameter and a statistic?
BOTH ARE A SINGLE NUMBER SUMMARIZING A LARGER GROUP OF NUMBERS?. But pppp parameters come from pppp populations? sss statistics come from ssss samples.
Think of the minimum value, the mean and the standard deviat
If you multiply a data set by a number, then the min, mean and the SD will multiply by that number.
Why are there different standard deviation formulas for population and sample? Arent they the same thing?
Both equations are actually doing the same thing. They both attempt to calculate the true population proportion. When you have all of the data from the population you just divide by n and get the actual SD. BUT If you only have a sample then you are using that to make a guess (inference) at what the population standard deviation is.. What happens is that samples tend to have less spread so their SD underestimates the population, BUT, when you divide by n-1 instead of n, It gives you a better estimate of what the population standard deviation is.
Give example of incorrectly using the word "correlation"
"there is a correlation between gender and video game playing"
This person should say "association."
You can't say correlation because gender is categorical.
Compare DATA-STATISTIC-PARAMETER using categorical example
Data are individual measures? like meal preference: ?taco, taco, pasta, taco, burger, burger, taco?? Statistics and Parameters are summaries. A statistic would be ?42% of sample preferred tacos? and a parameter would be ?42% of population preferred tacos.?
Diff between association or correlation?
association is talking about a relationship.
If you see a pattern in the scatterplot, there is an association.
Correlation is an actual calculated number (two quantitative variables)
How do you find relative frequency?
just divide frequency by TOTAL?.
What symbols do we use for population mean and sample mean?
Mu for population mean, xbar for sample mean.
What is a statistic?
A numerical summary of a sample. Like a mean, median, range? of a sample.
When do we often use mode?
With categorical variables. For instance, to describe the average teenagers preference, we often speak of what ?most? students chose, which is the mode. It is also tells the number of bumps in a histogram for quantitative data (unimodal, bimodal, etc?).
Make a guess as to what relative cumulative frequency is?
It is the ADDED up PERCENTAGES.. An example is selling candy, 25 pieces sold overall..., with 10 the first hour, 5 the second, 3 the third, and 7 the fourth hour, we'd take the cumulative frequencies, 10, 15, 18 and 25 and divide by the total giving cumulative percentages... .40, .60, .64, and 1.00. Relative cumulative frequencies always end at 100 percent.
If I take a random sample 20 hamburgers from FIVE GUYS and count the number of pickles on a bunch of them? and the average number of pickles was 9.5, then 9.5 is considered a _______?
statistic. (t is a summary of a sample.)
how do you interpret y intercept?
The model predicts that if there were no [x stuff] this is how much [y stuff] you'd have
If the distribution is unimodal and symmetric, what would you use for center and spread statistics?
Mean (center) and Standard Deviation (spread)
which is response?
y variable,
the Vertical axis..
It "responds" to the x
What is the mean?
the old average we used to calculate. It is the balancing point of the histogram
will residual plots always show outliers?
(will outliers always have large residuals?)
Not necessarily. Some points have so much leverage, they pull the line up to it…
What is data?
Any collected information. Generally each little measurement? Like, if it is a survey about liking porridge? the data might be ?yes, yes, no, yes, yes? if it is the number of saltines someone can eat in 30 seconds, the data might be ?3, 1, 2, 1, 4,3 , 3, 4?
marginal distribution
distribution in the margins (outside of the table). The overall distributions of a single variable in contingency table.
What should we look for in resid plot?
Curve or pattern.
Also, it should have equalish scatter from left to right
It should look RANDOM
What is a parameter?
A numerical summary of a population. Like a mean, median, range? of a population
If you switch x and y will slope change?
YES (but not just reciprocal)
slope is rsy/sx ,
to get new slope you can use shortcut:
r2/old slope
(reciprocal times r2)
What is a quantitative variable?
Quantitative variables are numeric like: Height, age, number of cars sold, SAT score