DECK 13 FINAL 500 - ENTIRE COURSE MIXED Flashcards
What do observational studies and experiments have in common?
In both, you are making OBSERVATIONS. recording data. doing statistical analysis.
If you have multiple groups and ask them one question, what Chi-squared test is it?
Test for homogeneity.
Give example of confounding variable.
fertilizer A vs B. If you have two tables in a room with tomato plants and and one table gets A and the other gets B, but later you realize that the table with A was near the windows. You say that SUNLIGHT IS A CONFOUNDING FACTOR in that experiment.
What are conficence intervals for?
PARAMETER CATCHERS. They are an attempt to say what the true population parameter is.. It is our best guess. “We think that there will be between 8 and 12 inches of snow”
What does r 2 tell us? (r-squared)
It tells us the percent of variablility of y that is explained by the model with x.
What is “mutually exclusive?”
disjoint. Can’t happen at the same time.
Will larger samples reduce BIAS?
No, bias is a systematic flaw, even large samples will still have bias. If you ask more people outside of McDonalds, you still only get answers from people who eat at McDonalds (large samples can reduce error, however)
Suppose you are doing a weight loss experiment with 2 diets (A low carb and B low fat), and three medications (1 NUTRI LOSS 2 POUND DROPPER and 3 SLIMMERLY). What is the response variable?
weight loss (pounds)
What is a Chi squared model?
A sampling distritubion. If you took a bunch of samples and calculated a bunch of Chi-square statistics, the pile of chi squareds would look like that.
What is a quality of SRS that is not a quality of Systematic, Stratified or Clustering?
In an SRS, all groups are possible, and ALL POSSIBLE GROUPS have the same chance of being picked (like all senior male students.).The other methods have lots of impossible groups. SRS has no impossible groups. Example: -Stratified- an impossible group would be all girls (you’re taking some boys and girls)-Clustered- an impossible group would be all girls (each cluster has boys and girls)-systematic- an impossible group would be first 10 people that are right next to each other (you are taking every nth person, so you will skip)
Is a confidence interval a PROBABLILITY?
NO
When drawing a normal model, what are the PERCENTILES from left to right?
2.5, 16, 50, 84, 97.5
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.
What type of study would find relationship beween Verbal and Math SAT?
You could take all of the SAT Math and Verbal scores and run a regression and find the r-quared value and linear model. This would be a Retrospective Study.
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)
How do you write “A BINOMIAL MODEL WITH p=.35 and n=12?”
B(12, .35) B(N, P)
which is response?
y variable, the Vertical axis.. It “responds” to the x
In which sampling methods do the subjects have equal chances of being selected?
SRS, Stratified, Clustered, Systematic, and multistage. In all of these, the subjects have an equal chance (but groups have different chances)
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)
If the p-value is high, (above alpha), how do you write conclusion?
With a p-value this high(show p value < alpha) I fail to reject the null. There is not enough evidence to say that more students like eggs now.
Can you prove a null hypothesis true?
NO.. We just fail to reject it.
How to find P(at least 1)?
1-P(none)
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.
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.
interpret this 90% confidence interval for avg weight of mice (2.3, 3.5) in ounces
I am 90% confident that the mean weight of mice is between 2.3 and 3.5 ounces
How is a paired T test different from a 2 sample mean T test?
A paired test talks about an AVERAGE OF DIFFERENCES from one list, whereas a 2 sample mean t-test talks about a DIFFERENCE OF AVERAGES between two samples.
What is undercoverage?
Undercoverage is when a group of the population is not represented in the sample. When the sampling frame isn’t representative.
what is disjoint?
can’t be joined . They can’t both happen at the same time! (being over 5 feet and under 4 feet)
What values can r be?
from -1 to +1 (r near 0 is WEAK)
What is the placebo effect?
When those who get the placebo show improvements, or show the effects of the treatment. This often happens to up 20% of participants!
What does Central Limit Theorem Say?
It basically says.. NO MATTER WHAT SHAPE THE POPULATION IS (normal, bimodal, uniform, skewed, crazy.. ) If you make a histogram of a bunch of means taken from a bunch of samples, that histogram will be unimodal and symmetric WITH LARGE ENOUGH SAMPLES.. Close to normal. So.. A nerdy way to say it is: The sampling distribution of means is approximately normal no matter what the population is shaped like. The larger the sample size, the closer to normal. (the normal curve is just a model.. the sampling distribution is close to it, but not it! we use the model anyway!)
What is the null model(the sampling distribution) in a 1-sample mean T test?
A pile of means from a bunch of samples.
Can you stratify in an experiment?
NO. stratification is a sampling method, blocking is method used in experiments. They are similar ideas.
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
What does r tell us?
The direction (+/-) and how strong a LINEAR relationship is between two QUANTITATIVE variables (when linear)
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.
What is BIAS in sampling?
A systematic FLAW in your method.
Which is explanatory variable?
the x the horizontal axis. it “explains” what happens to y
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).
What is the problem with convenience sampling?
The sample may not be representative as it is not randomized to include every type of person. Friends and family are convenient but they likely share similar opinions and thus the sample is not representative of a population.
What is the mode?
the most common, or the peaks of a histogram. We often use mode with categorical data
Give example of factors and levels
Factor: medication. Levels: 50mg, 100mg and 200mg.
What is difference between population of interest and parameter of interest?
Population is the WHO (subjects you measure, beads people) Parameter is the actual number you want (like % of or AVG)
What is the five number summary?
min, Q1 , Q2(median), Q3 and max
What percent of the data is between Q1 and Q3?
50%
How can the WORDING of the question lead to response bias
Words or phrases that impact your feelings tend to influence responses. Look for “devastating, horrific, wonderful etc.” Sometimes there is a background story like “Many americans lose jobs to illegal aliens every year, do you feel this is fair”
What is stratified sampling?
When you break the population into groups with similar attributes and randomly select from each strata.
Compare population to sample
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.
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
What is a probability distribution?
A table or graph showing all of the probabilites of certain occurances. THE PROBABILITIES HAVE TO ADD TO ONE!
How is r calculated?
r = sum(Z x Z y ) / (n-1) it is the sum of rectangle areas on the standardizes Z axes
What is a representative sample?
A sample that looks like the population. It has similar characteristics.
A bag has 3 red chips and 4 blue chips.. WTPT you grab a red first, then put it back in and then grab a red again?
3/7 * 3/7 = 9/49 (indep events)
What is the null for a chi squared GOF test?
The distribution fits [the expected distribution]
Why randomize in an experiment?
To reduce confounding variables (and bias).
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 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.
When your sampling frame is different from the population, then you risk ____
undercoverage
What is the standard sampling method?
A Simple Random Sample (SRS) is our standard. Every possible group of n individuals has an equal chance of being our sample. That’s what makes it simple. Put the names in a hat.
Example of response bias
A teenager goes to the doctor’s office with their parents. The doctor asks the teen if they vape. The teen may say “no” because their parent’s are there, even though they do vape.
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
Can there be a correlation between grade and music preference?
No, music preference is categorical. There is an association, however.
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”
What does normcdf do?
It gives you the area under the normal curve between any two z scores , or percent between 2 values if you use the shortcut normcdf (low, high, mean , sd)
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!!
What is extrapolation?
Making predictions outside of the x values you have.
using calculator: suppose 30% of dogs have fleas. WTPT first dog with fleas was the fifth you checked?
not, not, not, not, yes. .7x.7x.7x.7x.3orgeopdf (.30, 5
What is a confidence interval?
it is a parameter catcher.. Like a fishing net. We stand at our statistic, and reach up and down a margin of error, and hope to CATCH the parameter? sometimes we do, sometimes we don’t? but we never know.. Mooo hooo hooo haaaa haaa haaa (evil laugh)
4 INGREDIENTS TO EXPERIMENTS
Compare, control , randomization, replication (and BLOCKING when you need to)
A 4 year high school of 2000 students, sampling 40 high students : Describe a systematic sample
Get an alphabetical list of all of the students, 2000/40=50. Randomly choose one of the first 50 students and then every 50th student after that.
How is BIAS different from SAMPLING error
Bias is a systematic flaw in your sampling method. Sampling error is always present even with the best methodology.
What is the mean and mode of a chi squared model? What is the 5% cutoff chi-squared?
The mean is the degrees of freedom and the mode is df-2. The cutoff is at 1.5df+3.
notation: what is p
true population proportion (percent in the population)
describe a scatterplot’s strength?
give the r value (if straight), or say “tightly packed loosely packed”
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)
In order to reject a null hypothesis, you need ___________
evidence
What are the three chi-squared models?
goodness of fit, test for homogeneity, test for independence
What are the two types of observational studies?
Retrospective, and Prospective
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 percentile is Q3?
75th
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 symbols do we use for population proportion (%) and sample proportion (%)?
p for population and p-hat for sample
What is the main purpose of a placebo ?
to see how the environment impacts the subjects. How do all of the other factors impact the subject.
using calculator: suppose 30% of dogs have fleas. WTPT less than 4 out of 10 have fleas?
less than 4 is the same as 3 or less.binocdf (10, .30, 3)
What is sampling error?
same as sampling variability.. The natural variability between STATISTICS.. NOT DATA!!! . We call it error EVEN THOUGH YOU MADE NO MISTAKES!!!
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.
the (n over k) thing has a (5 over 2), how would you do it? What is it called?
Also known as “5 choose 2” or “5 C 2”.. 5! / 3!2! (notice the bottom two add to the top)
notation: what is mu
true population mean (average)
you fail to reject when ____________ evidence
you fail to reject when you DON’T HAVE EVIDENCE
What is a standard error?
The typical, or expected, error. The spread of a pile of stats. It is how far off you are expecting your statistic to be from the parameter. It is calculated like the standard deviation, but we are using sample statistics.. We don’t know the true parameters, so we estimate with statistics adding error to our calculation
What is the general formula for ALL CONFIDENCE INTERVALS?
STAT +/- CRIT SE
What is probability first success is on 7th try?
qqqqqq p (q^6*p). (this is a GEO prob)
Suppose you are doing a weight loss experiment with 2 diets (A. low carb and B. low fat), and three medications (1. NUTRI LOSS, 2. POUND DROPPER and 3. SLIMMERLY). How many treatment groups would there be?
there would be 6: A1, A2, A3, B1, B2, B3
what is another name for alpha level?
a significance level
N ( ?1 , ?2 ) what does this mean?
it means NORMAL models centered at 1 With a standard deviation of 2
What’s up with extrapolation? Is it OK?
Not ideal. Sometimes it’s all you can do, but state CAUTION.
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)
geocdf
(p,x) . Probability of the FIRST SUCCESS being ON OR BEFORE the Xth trial.
What is a Z score?
The number of standard deviaiton away from the mean
What is the median?
the middlest number, it splits area in half (always in the POSITION (n+1)/2 )
A 4 year high school of 2000 students, sampling 40 high students: Describe a convenience sample
Ask the first 40 students coming to the locker rooms after school. This is problematic because athletes may not have the same preferences as non athletes.
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.
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?
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 do you interpret y intercept?
The model predicts that if there were no [x stuff] this is how much [y stuff] you’d have
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.
using calculator: suppose 30% of dogs have fleas. WTPT exactly 5 out of 12 have fleas?
binopdf(12, .30, 5)
What is a point estimate?
Your statistic, the sample p-hat or your x-bar. Your best guess. What you got in your sample. It is in the middle of the interval.
What is the line that you plot?
IT IS A MODEL! It is the LSRL and it is the model we are talking about
How are statistics and parameters different?
A statistics is a numerical description of a sample, and a parameter is a description of a population. The difference between these is called ERROR (sampling error).
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.
does correlation mean causation?
NO WAY DUDE
What is the “ large enough sample” condition for Chi Square?
Make sure that there are at least 5 in each expected cell.
How are voluntary and convenience samples similar
With voluntary, people choose them selves, with covenience, the people are just chosen by researcher, neither uses randomness and both are prone to BIAS.
How can you match boxplots to histograms?
USE THE FISH TANK METHOD!
Which calculator function gives you a z score?
invnorm(%ile),
What is a factor? give example
DIET PLAN would be a factor and levels could be: low carb, low fat, and no diet
How are we making inferences differently in experiments vs studies?
In observaional studies, you make and inference about the population, in an experiment you make an inference about a treatment.
What is the null model (the sampling distribution) in a 1-proportion Z test?
A pile of proportions (%) from a bunch of samples.
If you have one group and ask them one question, what type of chi-squared test is it?
Goodness of fit test.
using calculator: suppose 30% of dogs have fleas. WTPT exactly 7 or less out of 20 have fleas?
binocdf (20, .30, 7)
What percent of the data is above Q3?
25%
A 4 year high school of 2000 students, sampling 40 high students: Describe a cluster sample
Imagine that all of art classes have 10 students and they are mixed with fr, so, jr and srs. You would randomly choose 4 classes and survey everyone in each of the 4 classes.
DEGREES OF FREEEDOM: one sample t, two sample T, regression, chi square gof, chi square hom/indep
one sample t: n-1two sample t: calc or smaller n-1regression: n-2Chi square GOF: cells-1CHi square hom/indep: ROW-1 x COL-1
What is the law of averages?
a misinterpretation of the law of large numbers. Using this law, if you flipped 4 heads in a row, you’d expect the next one to be a tails because it should even out in the long run, as if the coin remembers that it “owes you” something NOT TRUE
How do you undo squares or cubes? like if you have x 2 = stuff or x 3 = stuff
^ 1/2 or ^ 1/3 (raise stuff to these powers to get x)
What is statistical inference?
Using a statistic to infer something about a parameter.. Basically, using a sample to say something about a population.
What is the null model (the sampling distribution) in a chi squared test?
a pile of chi-squared statistics calculated from a bunch of samples
What percent of the data is between Q1 and Q3?
the middle 50%. That is the IQR
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).
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.
What is alpha?
It is the rejection threshold. You reject p-values below it.. It is how willing you are to make a Type 1 error? alpa=P(Type I error)
A 4 year high school of 2000 students, sampling 40 high students: Since ALL GROUPS (samples) are possible and equally likely, show some groups that you could get randomly from and SRS that would not be representative of the entire school.
all female, all freshmen, all seniors, all athletes.. these could happen in an SRS (but they are not likely to)
notation: what is p-hat
sample proportion (percent in our sample)
What is a parameter?
A numerical summary of a population. Like a mean, median, range? of a population
4 ingredients: What is “control?”
You want to control the environment as best as you can so that the only difference between groups is the treatment, and the treatment only. Everything else should be similar.
What is the difference between response bias and nonresponse bias?
Response is when the person’s response is influenced by the question or questioning method (like if a parent asks if you use drugs, as opposed to a friend. there is only one answer to this, but one might respond differently to them), non response is is when the people who don’t respond might have different opinions/views than the people who did.
Control group vs Experimental group
The experimental group gets the treatment (pill, fertilizer) while the control gets placebo or nothing. You compare the experimental group to control group.
What is difference between completely randomized and random block design?
Completely randomized takes all units and puts them in a hat and randomly chooses treatments, blocked puts them all in different hats first (blocks) and then chooses
What percent of the data is below the median?
50%
CONDITIONS: What are the three conditions that you have to check with pretty much every inference procedure (every test and every interval)
- Randomly chosen sample (or assigned treatment). Circle the word random or explain why you think it is. 2. Sample size is less than 10% of the population. Show that 10n is less than N. Example, for 50 students, write 10(50)=500 is less than all students.3. Nearly normal (or large enough sample)- this differs based on the type of data and test.
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 categorical data?
The actual individual category from a subject, like “blue” or “female” or “sophomore”
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.
is r sensitive to outliers?
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.
Can you accept a null hypothesis? Can you say “keep the null?”
Never accept a Ho, don’t keep the Null. simply “FAIL TO REJECT THE NULL”
A 4 year high school of 2000 students, sampling 40 high students: Explain how stratifying has “impossible groups”
You couldn’t get all freshmen in your sample
What point is on every regression line?
the mean-mean point. (x bar, y bar). This point is generally not one of the points on the scatterplot. Usually none of the scatterplot points are on the regression line.
What is the “mean of a random variable?”
The expected value sum of probs times values
What’s the difference between stratified and cluster sampling?
Stratified- you divide the population up into groups with similar traits, called strata (homogeneous groups) and randomly choose a few from each strata.
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
when do you need crits?
in confidence intervals (and old fashioned hyp tests.. We look at Z to see if greater than crit.)
What is the mode?
the peaks of a histogram (the humps). or with categorical data, the most popular category
What is “statistically significant?”
When our sample statistic is so far away from what we were expecting that we don’t think that it was due to random sampling error. Then is statistically significant. When p-value is below the alpha, we say “statistically significant”.. Low p-values are statistically significant.
To make a survey to tell of a restaurant is good, would you ask the people coming out of the restaurant?
People at the restaurant are probably there because they already like it. If you asked the question “Is this your first time dining here?” and if they say “yes” you survey them, that would be a better method. But then again.. the people wouldn’t go into an Italian restaurant if they didn’t like that type of food.
Who can be blinded? ( two groups)
- Subjects (and dog owners..). The poeple getting treatment and 2. administrators. Those delivering treatments and assessing effectiveness of treatments.
what is a probability model?
a list of all possible values of random variable with respective probabilities. The probabilities should add to 1! Normal model is one
If you want to find % below a value, what do put into normcdf (? ?)
find z score for value, and then normcdf (-999, Zright) or shortcut normcdf(-99999, value, mean, sd)
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)
using calculator: suppose 30% of dogs have fleas. WTPT AT LEAST ONE OUT OF 10 has fleas?
1-none= 1-.7^10or1-binopdf( 10, .30, 0)or1-binocdf( 10, .30, 0)
Does r 2 tell direction?
NO r 2 is always positive, so you can’t use it to see if the relationship is negative.
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.
What do you know about the sign of r and the slope of the regression?
they have the same sign. Both will be positive or both will be negative.
Does the IQR capture 68% of the data?
NO. it catches the middle 50%.
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.)
When do you know it is GOF test?
When you have ONE ROW or ONE COLUMN… then it gives you a ratio , like 1:2:5 or it gives you expected percents.
Another name for “skewed right” is
positively skewed
what does “95% confidence” in a 95% confidence interval mean? (explain the confidence level)
It means if we took a ton of samples, and made confidence intervals from each of them,ABOUT 95% of the intervals would contain the parameter, 5% would not.
If you are doing a 2 tailed test with alpha=.05.. What confidence interval goes with that?
95% confidence interval (there is .025 in each tail)
are there any normal samples?
no, nothing is normal, just normalish. The only normal thing is the model we use.
which calculator function gives you a percent?
normcdf(Z left, Z right)
What’s a useful alternative when you can’t run an experiment? What are they useful forms of this, and how do you preform them respectively?
An alternative of an experiments could be an observational study. t.
using calculator: suppose 30% of dogs have fleas. WTPT no more than 8 out of 15 have fleas?
not more than 8 is the same as 8 or less.binocdf(15, .30, 8)
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?
Computer ouput: What does “constant” mean?
It is the y intercept
Can you eliminate sampling error?
Only if you take a census. Larger samples have less error.
What is the other conditions for regression inference?
Random residuals (equal random scatter, no pattern).
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.
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.
How can you turn OGIVES into histograms?
RECTANGLE DROP! (bin drop)
What symbols do we use for population mean and sample mean?
Mu for population mean, xbar for sample mean.
How do you find outliers in regression?
they don’t follow the “flow” (pinky trick, cover with you pinky.. Then uncover.. Does it follow the flow?)
notation: what is p - p
true difference between two population proportions (percents).
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.
when is data “paired”
when you have 2 measurements of the same variable on the same subject (or matched subjects)
using calculator: suppose 30% of dogs have fleas. WTPT first dog with fleas was ON OR BEFORE the fifth you checked?
geocdf (.30, 5)
When we say “statistics vary” or the “variablility of statistics” are we talking about data from an individual?
NO. we are stating that summaries of samples (statistics) will vary from sample to sample. Statistics from one sample will differ from statistics from another sample and they will also differ from the parameters. The distance your statistic is from the parameter is called the ERROR. Larger samples will give piles of statistics that will be narrower (less variability).
When you are doing PAIRED or MATCHED or BLOCKED tests.. What are you finding?
The average difference.. You are doing 1 sample procedures on a NEW THIRD LIST OF DIFFERENCES
what is df for chi squared homogeneity or independence?
(rows-1)(columns - 1) (remove a column and row.. Count boxes)
What is the expected value?
The mean What you’d AVERAGE if you played the game A LOT!!!!!!!!!
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.?
What is statistically significant?
When an observed difference is too odd for us to believe that it is likely to have occurred naturally (or just randomly). Basically it is Statistically Significant when we don’t think it happened randomly. when you think “something’s up” or “something’s fishy”
what is the law of large numbers?
guarantees that in the long run.. The relative frequency settles down to true probability.. (you’ll have 50% heads after an infinite number of coin flips with a fair coin)
How do you undo an ln (natural log) when solving? ex: ln x = stuff or: ln x = m
e stuff or e m
An unbiased sampling method will eliminate error
No, error is always there. Error is not a mistake.
You own a bike shop and order your tires from 2 companies (A and B). You order 80% from A and 20% from B. 1% of the tires from A are defective, while 4% from B are defective What is the probability that a defective tire is from company A? How would you do this?
Tree diagram. Split up by company first, then use conditionals. A BAD (.8)(.01)= .008A GOOD (.8)(.99)= .792B BAD (.2)(.04)= .008B GOOD (.2)(.96)= . 192It seems that .008/(.008+.008) or 50% are bad
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.
How do you write conclusion if you reject?
With such a low p-value, (p-value < alpha) I reject the null hypothesis. There is strong evidence that the proportion of students who eat rice has changed.
Example of undercoverage
You only ask people who go to Home Depot about their views on school lunches.
binopdf
(n,p,x) .. Probability of exactly X successes in N trials. (PARTICULAR probability)