AP Stats Test Quick Review: Confidence Intervals
Ringkasan
TLDREl vídeo tracta sobre la revisió dels intervals de confiança en estadístiques AP. S'explica com construir un interval de confiança per a mitjans de mostres i proporcions, com interpretar-los, i la importància del nivell de confiança. Es descriu el procés de calcular el marge d'error i les condicions que cal verificar per garantir la precisió de l'interval. També es discuteix la influència del valor crític en la grandària de l'interval, i es subratlla que el nivell de confiança no és una probabilitat, sinó una afirmació sobre la fiabilitat dels intervals construïts a partir de totes les mostres possibles.
Takeaways
- 📊 Importància dels intervals de confiança per a la inferència estadística
- 📝 Convenció d'interpretar intervals: '95% confiat que...'
- ✅ Condicions per a la construcció d'un interval: aleatorietat, mida de la mostra
- 🔍 Distingir entre Z star i T star segons la situació
- ⚖️ La interpretació del nivell de confiança: no una probabilitat
- 🔄 El marge d'error resulta de la desviació estàndard i el valor crític
- 📈 Construcció de l'interval per mitjà de mostres i estadístiques
- 🚀 El procés de càlcul en quatre passos: identificació, verificació, construcció, interpretació
- ❓ Efecte de la grandària de la mostra en la precisió de l'interval
- 🧐 Com ajudar a determinar significativitat amb intervals de confiança
Garis waktu
- 00:00:00 - 00:05:00
En aquest vídeo, es revisen els intervals de confiança per a l'examen d'AP Statistics. Es destaca la importància de saber com construir un interval de confiança a partir d'una estadística de mostra, ja sigui per a mitjanes o proporcions, i com interpretar aquests intervals. També es discuteix el significat del nivell de confiança, aclarint que no és una probabilitat, sinó una afirmació sobre la precisió dels intervals construïts a partir de múltiples mostres.
- 00:05:00 - 00:10:00
S'explica que un interval de confiança per a un paràmetre poblacional es basa en una estadística de mostra, com la mitjana o la proporció. Es destaca la importància de les distribucions de mostres i com es pot calcular un interval de confiança mitjançant una fórmula que inclou la mitjana de la mostra i el marge d'error, que depèn del valor crític i la desviació estàndard de l'estadística.
- 00:10:00 - 00:15:00
Es presenten les condicions necessàries per construir un interval de confiança, incloent la necessitat que la mostra sigui aleatòria, que sigui menor del 10% de la població i que la mostra sigui suficientment gran. Es discuteixen les condicions específiques per a mostres de proporcions i mitjanes, incloent el teorema del límit central.
- 00:15:00 - 00:20:00
Es detallen els passos per calcular un interval de confiança, incloent la identificació del que es vol estimar, la verificació de les condicions, la construcció de l'interval i la seva interpretació. Es fa èmfasi en la importància de comunicar el que representa l'interval de confiança en el context del problema.
- 00:20:00 - 00:25:00
S'explica com determinar el valor crític (Z* o T*) necessari per construir un interval de confiança, depenent del nivell de confiança desitjat. Es presenten exemples de càlcul de Z* i T* utilitzant calculadores i taules, així com la importància de conèixer els graus de llibertat en el cas de T*.
- 00:25:00 - 00:33:54
Finalment, es discuteix com els intervals de confiança poden ajudar a entendre les proves de significança. Es presenta un exemple d'un interval de confiança per a la diferència entre dues proporcions, destacant que si l'interval conté zero, no hi ha evidència suficient per rebutjar la hipòtesi nul·la, indicant que no hi ha una diferència significativa entre les dues proporcions.
Peta Pikiran
Video Tanya Jawab
Què és un interval de confiança?
Un interval de confiança és un rang de valors que s'utilitza per estimar un paràmetre poblacional, basant-se en una estadística de mostra.
Com es calcula un interval de confiança?
Es calcula a partir d'una estadística de mostra, afegint i restant un marge d'error que depèn del valor crític i la desviació estàndard.
Quina és la importància de la confiança del 95%?
El 95% de confiança significa que, si es repetís l'experiment nombroses vegades, aproximadament el 95% dels intervals de confiança obtinguts contindrien el valor veritable.
Què representa el marge d'error?
El marge d'error és la quantitat que s'afegix i resta a la estadística de mostra per construir l'interval de confiança.
Quines condicions s'han de verificar per construir un interval de confiança?
Les condicions inclouen la col·lecció aleatòria de la mostra, que la mostra sigui menor del 10% de la població i que la mostra sigui prou gran.
Com es determina el valor crític Z o T?
El valor crític Z o T es determina segons el nivell de confiança que es vulgui assignar al interval.
Lihat lebih banyak ringkasan video
AP Stats Test Quick Review: Normal Model
L'Imperi Romà per a nens - 5 coses que hauries de saber - Història per a nens en català- Roma
Teacher Training in #NEP ? | Details of Continuous Professional Development #CPD | Sapna Agrawal
A IGREJA CATÓLICA NOS DEU A BÍBLIA? (SOLA SCRIPTURA)
Sí, Estoy Aquí
¿CÓMO FUNCIONA NUESTRO CICLO MENSTRUAL?
- 00:00:00got in this video for the AP statistics
- 00:00:02test we're going to start reviewing
- 00:00:04confidence intervals so what exactly do
- 00:00:06you need to know about confidence
- 00:00:08intervals for the AP stats test you
- 00:00:10definitely need to know how to construct
- 00:00:12one based on a sample statistic that can
- 00:00:15either be for a sample mean or a sample
- 00:00:17proportion you also need to know how to
- 00:00:20construct a confidence interval based on
- 00:00:21the difference whether that difference
- 00:00:23be B whether that difference be between
- 00:00:25two sample proportions or two sample
- 00:00:29means you definitely know how need to
- 00:00:32know how to interpret a confidence
- 00:00:34interval that's really important that
- 00:00:36comes up a lot on multiple choice you
- 00:00:38also need to know how to explain the
- 00:00:40level of confidence when we talk about
- 00:00:42being 95% confident what does that
- 00:00:45actually mean a lot of kids accidentally
- 00:00:48think it's a probability it is not a
- 00:00:50probability and also we need to make
- 00:00:53sure we understand how we could actually
- 00:00:54use confidence intervals to draw
- 00:00:56conclusions about significance all right
- 00:01:00so let's jump right into it so let's
- 00:01:03make sure we truly understand what a
- 00:01:05confidence interval is for a confidence
- 00:01:07interval for a population parameter
- 00:01:10based on a sample statistic is very easy
- 00:01:13to understand first we want to estimate
- 00:01:16a population mean mu or a population
- 00:01:20proportion P so always think about the
- 00:01:24fact that we're using a kompis interval
- 00:01:26to try to find the true population
- 00:01:28parameter which is a mean mu or a
- 00:01:32proportion P now to do this the first
- 00:01:36thing we need is to take a sample that's
- 00:01:39either a sample mean x-bar or a sample
- 00:01:42proportion P hat then we simply have to
- 00:01:46calculate how many standard deviations
- 00:01:48we are willing to reach up and down of
- 00:01:51hopes of capturing the true population
- 00:01:53mean or proportion so confidence
- 00:01:56intervals are directly based on sampling
- 00:01:59distributions which there was a video
- 00:02:01about how they recommend watching that
- 00:02:03video first actually so what we do is we
- 00:02:06think about the fact that if we think
- 00:02:07about all possible samples that's what a
- 00:02:11sampling
- 00:02:11distribution shows the results of all
- 00:02:13possible samples and we certainly expect
- 00:02:16the truth whether it be a mean or a
- 00:02:19proportion to be in the center and we
- 00:02:21understand that some samples can be a
- 00:02:23little higher and some samples can be a
- 00:02:25little bit lower so if we were to grab
- 00:02:27one of those random samples like right
- 00:02:30here maybe this is our X bar or our P
- 00:02:33hat but notice because of variability
- 00:02:37that is not matching up exactly with
- 00:02:41what's true but if we cast an interval
- 00:02:44around that sample by going up a little
- 00:02:47bit I'm sorry that would be down down a
- 00:02:49little bit and up a little bit we
- 00:02:51created interval from here to here and
- 00:02:55notice that the truth did get caught in
- 00:02:58that interval and as long as we get one
- 00:03:01of the many samples that are very close
- 00:03:04to the truth
- 00:03:05when we build that interval around it we
- 00:03:08should contain the truth so how do you
- 00:03:11actually calculate a confidence interval
- 00:03:13well the first thing is you start off
- 00:03:15with this very generic formula it is a
- 00:03:18sample a sample statistic whether that
- 00:03:20be x-bar or p hat and from that sample
- 00:03:25statistic you go up and down plus and
- 00:03:29minus what we call the margin of error
- 00:03:31now this entire back part is the margin
- 00:03:34of error it is the critical value
- 00:03:36multiplied by the standard deviation of
- 00:03:39the statistic the critical value is AZ
- 00:03:42star or 80 star based on how confident
- 00:03:47the question asks us to be we'll talk
- 00:03:50more about that in a second the standard
- 00:03:53deviation of the statistic is what we
- 00:03:55learned back with sampling distributions
- 00:03:58if you're working with proportions the
- 00:04:00standard deviation of the statistic is P
- 00:04:02times 1 minus B divided by n with a
- 00:04:06giant square root around it if you're
- 00:04:08working with means it is the standard
- 00:04:09deviation of the population divided by
- 00:04:12the square root of your sample size n
- 00:04:14now remember those are those two
- 00:04:17formulas allow us to understand what I
- 00:04:19was trying to show you up in this
- 00:04:20picture here that samples naturally are
- 00:04:23allowed to very little
- 00:04:24so we're using that natural variation to
- 00:04:27create this interval because we're
- 00:04:29saying hey listen our sample statistic
- 00:04:32isn't a hundred percent accurate but if
- 00:04:35we go up a little bit or doubt a little
- 00:04:37bit because of natural variation we
- 00:04:39should capture the truth just keep in
- 00:04:43mind it's a four-step process this is
- 00:04:45how I teach it other teachers may teach
- 00:04:47it differently but I teach four steps
- 00:04:49step one is to always identify what it
- 00:04:51is you're trying to find I'm trying to
- 00:04:54estimate the true population proportion
- 00:04:55of boys who wear glasses I'm trying to
- 00:04:58estimate the true mean amount of time a
- 00:05:01high school a high schooler takes to get
- 00:05:04to school in the morning always identify
- 00:05:06what you try to find second step is to
- 00:05:08check the conditions now the first two
- 00:05:11conditions are always the same the
- 00:05:12sample must have been collected randomly
- 00:05:15to avoid bias the second condition is
- 00:05:17that your sample must be under 10% of
- 00:05:20the population to assume independence
- 00:05:23because typically when we sample we do
- 00:05:26not replace so when I go and grab a
- 00:05:28person out of the population to sample I
- 00:05:30don't put them back right I already
- 00:05:32selected them I don't want them to
- 00:05:34selectively be selected again so as long
- 00:05:37as our sample size is under ten percent
- 00:05:39of population any small change that not
- 00:05:41replacing could cause is negligible the
- 00:05:45third condition is what changes the
- 00:05:46third condition in general is that the
- 00:05:48sample must be big enough now if you're
- 00:05:51working with proportions big enough
- 00:05:53means that your sample must contain
- 00:05:55within it ten successes or more and ten
- 00:05:58or more failures if you're working with
- 00:06:01means the big enough condition actually
- 00:06:04could take on three different options
- 00:06:06option number one if your population is
- 00:06:10already known to be normal then your
- 00:06:12sampling distribution is guaranteed to
- 00:06:14be normal so any sample size even small
- 00:06:16samples of size four or three are big
- 00:06:19enough if your pot if your sample is
- 00:06:24thirty or larger than the central limit
- 00:06:26theorem can help you because even if the
- 00:06:28population is unknown or non normal the
- 00:06:31central limit theorem says that the
- 00:06:33sampling distribution will still be
- 00:06:35normal as long as your sample is thirty
- 00:06:37or larger
- 00:06:38the final scenario is if your sample is
- 00:06:41under 30 and you do not know that your
- 00:06:44population is normal here you simply
- 00:06:47need to take a quick look at your data
- 00:06:49to make sure that there's no major
- 00:06:51skewness or no major outliers in it
- 00:06:53after checking all those conditions the
- 00:06:55third step to a confidence interval is
- 00:06:57all the work them about to show you it's
- 00:06:59actually building the interval using
- 00:07:01this formula that I just went through
- 00:07:03after that you need to interpret your
- 00:07:05interval you need to explain what that
- 00:07:07interval represents and it's a very
- 00:07:10simple to do that you're simply saying
- 00:07:11I'm 95% confident that the true
- 00:07:13population blank filled in with the
- 00:07:16context of the problem
- 00:07:17is between this value in this value okay
- 00:07:20and we'll go over that as well all right
- 00:07:23let's move on to talking about the
- 00:07:25critical value the Z star or T star
- 00:07:28obviously this value is needed anytime
- 00:07:30you're building a confidence interval it
- 00:07:32is entirely based on how confident you
- 00:07:34want to be if you want to be 95%
- 00:07:36confident or 90% confident or 99 percent
- 00:07:41confident this value will change well
- 00:07:44all you have to do is think about how
- 00:07:45far you're willing to reach obviously if
- 00:07:47I want to be 99 percent confident I need
- 00:07:50to reach out a little bit wider so my
- 00:07:51interval is going to be bigger if I only
- 00:07:54want to be 90 percent confident then my
- 00:07:56interval can actually be a little bit
- 00:07:58smaller because I don't have to reach
- 00:07:59out as one so first off anytime you're
- 00:08:03working with proportions you need to use
- 00:08:04Z star so how do you find Z star how do
- 00:08:07you find your critical value for a
- 00:08:09specific level of confidence well the
- 00:08:12first option is using your calculator
- 00:08:142nd VARs and pull up invert norm invert
- 00:08:18norm will help you find your critical Z
- 00:08:21star but you have to be very careful
- 00:08:23what to enter in first you asked for the
- 00:08:26area this is the area at the very very
- 00:08:29bottom so you have to process this if I
- 00:08:32want to be 95% confident that means that
- 00:08:35there's 95% in the middle that means
- 00:08:38that 5% is being left out but because of
- 00:08:42symmetry that 5% gets split evenly
- 00:08:44two-and-a-half percent at the bottom and
- 00:08:46two and a half percent the top and that
- 00:08:49is what the area wants the bottom so
- 00:08:52I'm going to type in 0.025 because for
- 00:08:5595% confident that would put two and a
- 00:08:57half percent at the bottom kind of a
- 00:09:00little bit tricky that this is how
- 00:09:01invert norm works but sorry that's how
- 00:09:03it works so your Z star is 1.96 it does
- 00:09:07say negative because we looked at the
- 00:09:09bottom but remember you're going up and
- 00:09:11down so technically your Z star is
- 00:09:13positive or negative so to repeat this
- 00:09:17process for 90% confident 90% confident
- 00:09:21puts 5% at the bottom and it also puts
- 00:09:245% of the top because 90% in the middle
- 00:09:2710% left out 5% on each end and invert
- 00:09:31norm only once the bottom end so one
- 00:09:33point six four four nine one more time
- 00:09:37for 99% confident you have to put in
- 00:09:41point zero zero five because of your 99%
- 00:09:45confident that means 1% is left out and
- 00:09:48that is split evenly a half a percent on
- 00:09:50the bottom and a half a percent at the
- 00:09:53top and the half a percent the Bob is
- 00:09:55what we want so we get a Z star two
- 00:09:58point five seven five now these are the
- 00:10:01three most common levels of confidence
- 00:10:02if you're asked about a weirder level
- 00:10:05like 96 or 98% then you just have to
- 00:10:07process it through the way I just
- 00:10:09explained all right how do you get a
- 00:10:11t-star anytime you're working with means
- 00:10:14you need a t-star so anytime a promise
- 00:10:17concerning with population means you
- 00:10:19need a t-star
- 00:10:20so how do you get a t-star well once
- 00:10:23again right underneath invert norm is
- 00:10:25invert T this will help you calculate T
- 00:10:28stars it also asks for the area at the
- 00:10:30bottom so if you're 95% confident once
- 00:10:33again that will put 0.025 or
- 00:10:36two-and-a-half percent at the bottom now
- 00:10:38the other thing it asks for is your
- 00:10:39degrees of freedom remember the T models
- 00:10:41are all based on how many degrees of
- 00:10:42freedom you have kind of a weird name
- 00:10:44but simply degrees of freedom is your
- 00:10:46sample size minus one so you are
- 00:10:48required to know how big your sample is
- 00:10:50so let's just say we have a sample of 40
- 00:10:52well then that would give us 39 degrees
- 00:10:55of freedom and our T star for 95%
- 00:10:58confident 40 degrees I'm sorry 39
- 00:11:01degrees afford 39 degrees of freedom
- 00:11:04from a sample
- 00:11:04forty would give us a ZT star of 2.0 two
- 00:11:08to seven now keep in mind it does say
- 00:11:11negative but remember it's actually
- 00:11:12positive and negative now another way to
- 00:11:15get your Z stars or your T stars is to
- 00:11:18use a t-chart a t-chart is provided to
- 00:11:21you on the back of the APS it's a
- 00:11:23success or in the is basically it's
- 00:11:25attached to the formula sheets and all
- 00:11:26that stuff so you don't have to use this
- 00:11:29if you totally understand how to use the
- 00:11:31calculator some kids actually like to
- 00:11:33teach art better so let me show you one
- 00:11:34here's an example of the exact teacher
- 00:11:36you will be given on the AP stats test
- 00:11:39it says T distribution critical values
- 00:11:41so what you do on the left hand side is
- 00:11:43you look up your degrees of freedom and
- 00:11:45you could look up your tail probability
- 00:11:47that's the area at the bottom across the
- 00:11:49top or if you scroll the bottom you'll
- 00:11:51notice it actually has the level of
- 00:11:53confidence for example 95 percent
- 00:11:55confident which has a tail probability
- 00:11:58of point O 2 5 as we mentioned did all
- 00:12:01you got to do is match that up with your
- 00:12:02degrees of freedom so let's just say you
- 00:12:04have a sample size of 16 that gives you
- 00:12:0615 degrees of freedom you follow the 15
- 00:12:09over to the 95% confidence column and
- 00:12:12you have 2 point 1 3 1 as your t star so
- 00:12:17a lot of kids like this just because
- 00:12:18they don't have to waste their time
- 00:12:19typing things in the calculator they can
- 00:12:21just simply look up their T star now
- 00:12:24this actually also has these stars on it
- 00:12:26that they don't tell you that the bottom
- 00:12:28row is identified with an infinity now
- 00:12:31remember the T model is just like the
- 00:12:33normal model for really really big
- 00:12:34samples so for a sample that's infinite
- 00:12:36in size that's essentially going to be
- 00:12:39the Z model or Z stars so if you look
- 00:12:41across the bottom row
- 00:12:43those are your Z stars for example 95%
- 00:12:45confidence you may remember we found
- 00:12:471.96 for 90% confidence we were 1.645
- 00:12:52actually we said 1 point 6 4 for 9 but
- 00:12:55the only round to 3 decimals here 99%
- 00:12:58confident would be the two point five
- 00:13:00seven six so that bottom row there is
- 00:13:02your Z stars so instead of using your
- 00:13:04calculator you are more than welcome to
- 00:13:06look up your critical values on that T
- 00:13:09chart all right the last thing I want to
- 00:13:12mention before we move on is what does
- 00:13:14the level of confidence mean since we're
- 00:13:16on the topic so when we say that we're
- 00:13:1895% confident what does that really mean
- 00:13:21first and foremost it's not a
- 00:13:23probability most kids think that means
- 00:13:25oh there's a 95% chance that the truth
- 00:13:29is in our interval not at all that is
- 00:13:31not at all what it represents it
- 00:13:34represents the fact that you have to
- 00:13:37understand that we built our interval
- 00:13:39based on our one sample we went a little
- 00:13:42bit above it we went a little bit below
- 00:13:44it but if somebody found a mother sample
- 00:13:47they might have a slightly different
- 00:13:49interval or another sample a slightly
- 00:13:52different interval or another sample a
- 00:13:54slightly different interval so what 95%
- 00:13:57kauffman is actually talking about it's
- 00:13:59talking about the fact that there are
- 00:14:00many many many samples out there tons of
- 00:14:03samples out there just like yours of the
- 00:14:06same size from the same population if
- 00:14:09you think about all those samples the
- 00:14:13idea is that 95% of those samples will
- 00:14:17create intervals that contain the truth
- 00:14:19so it's not about 95% probability or 95%
- 00:14:23chance or even 95% of the time it's
- 00:14:26about 95% of intervals 95% of intervals
- 00:14:30created just like yours will contain the
- 00:14:32truth it goes back to that picture I
- 00:14:34drew earlier we know that according to a
- 00:14:37sampling distribution the true mean is
- 00:14:39smack dab in the middle so as long as we
- 00:14:42get a sample near it when we build that
- 00:14:44interval we capture it so as long as we
- 00:14:47are one of those many many many many
- 00:14:49many many many samples that are near the
- 00:14:52truth our interval should capture and
- 00:14:54the idea when we say we're 95% confident
- 00:14:57is that 95% of those intervals do
- 00:14:59contain the truth obviously there is
- 00:15:01that chance that we get an interval down
- 00:15:03here I'm sorry a sample down here sorry
- 00:15:06down here or up here now those would be
- 00:15:09really really unlikely samples and their
- 00:15:11intervals would not contain the truth
- 00:15:13but that's the remaining 5% so 95% of
- 00:15:17intervals will contain the truth not 5%
- 00:15:20will not that's what the level of
- 00:15:22confidence means all right let's talk
- 00:15:26more specifically now about estimating a
- 00:15:28population proportion so let's say we
- 00:15:30want to
- 00:15:31I'm the true proportion of all boys in
- 00:15:34high school that wear glasses all right
- 00:15:36that's what I'm trying to find how am I
- 00:15:38gonna do it
- 00:15:38well the first thing I'm going to do is
- 00:15:40I'm going to start with a sample
- 00:15:41proportion maybe I found in a sample
- 00:15:44that 32 percent of boys wear glasses
- 00:15:46okay that's my sample proportion from
- 00:15:49there I'm gonna go up and down by my
- 00:15:51margin of error which is a combination
- 00:15:53of your critical value the Z star that
- 00:15:57we just talked about finding based on
- 00:15:59how confident you are times the standard
- 00:16:02deviation of the statistic and this is
- 00:16:03where we run into a slight problem the
- 00:16:05standard deviation of a sample
- 00:16:08proportion is the square root of P times
- 00:16:121 minus P divided by the sample size n
- 00:16:15the problem is I don't know what the
- 00:16:18true P is remember that's what we're
- 00:16:20trying to estimate so I can't possibly
- 00:16:23calculate the standard deviation of the
- 00:16:25sample proportion if I don't know the
- 00:16:28truth so we do something better we use
- 00:16:31some well I take that back not
- 00:16:32necessarily something better but we use
- 00:16:34an estimate we use something called
- 00:16:36standard air standard air is very
- 00:16:40similar to standard deviation in every
- 00:16:42aspect but it's simply an estimate so
- 00:16:45since we cannot use standard deviation
- 00:16:47because we don't know the true p
- 00:16:48standard air good news is the exact same
- 00:16:51formula but instead of using P it uses P
- 00:16:55hat because we do know P hat that's
- 00:16:58obviously our sample proportion so to
- 00:17:01calculate an or to estimate a population
- 00:17:03proportion with an interval we start off
- 00:17:06with our sample proportion P hat we go
- 00:17:08up and down by Z star that's our
- 00:17:10critical value times the standard error
- 00:17:12and to calculate the standard error we
- 00:17:14use this formula right here which is the
- 00:17:16same formula standard deviation but
- 00:17:18because we don't know the true P we have
- 00:17:20to use P easy all right
- 00:17:24what about estimating a population mean
- 00:17:26what if I want to know the true average
- 00:17:29time it takes a high school or to get to
- 00:17:32school in the morning what is the true
- 00:17:33mean well what I can do is I could take
- 00:17:37a sample mean maybe my sample mean shows
- 00:17:39that the average of a group of you know
- 00:17:4240 kids is ten point three minutes great
- 00:17:45so now I'm gonna take that mean from my
- 00:17:47sample and I'm gonna go up and down by a
- 00:17:50critical value which we just got done
- 00:17:52talking about is eighty star based on
- 00:17:55your level of confidence times once
- 00:17:58again the standard deviation of the
- 00:18:00sample mean so what's the formula for
- 00:18:02the standard deviation of the sample
- 00:18:04mean well it is the square it is Sigma
- 00:18:06the standard deviation of the entire
- 00:18:07population divided by the square root of
- 00:18:10your sample size n but wait a minute I
- 00:18:13don't know the standard deviation of the
- 00:18:15entire population heck I don't even know
- 00:18:17the mean of the entire population that's
- 00:18:19what I'm trying to estimate so how could
- 00:18:21I possibly know the standard deviation
- 00:18:24of the entire population well we don't
- 00:18:26you're absolutely correct so what I'm
- 00:18:28gonna have to use is something called
- 00:18:30standard air once again standard air is
- 00:18:34just like standard deviation in every
- 00:18:35way but instead of using the standard
- 00:18:37deviation of the population on top it
- 00:18:40uses s that is the standard deviation
- 00:18:43from our sample divided by the square
- 00:18:47root of n so again instead of using
- 00:18:49Sigma we use s the standard deviation of
- 00:18:51our sample because I know my sample for
- 00:18:54crying out loud and I'm gonna use that
- 00:18:56as an estimate for the standard
- 00:18:58deviation and that is where we gets in
- 00:19:00an air from so that is how simple it is
- 00:19:02to estimate a population mean all right
- 00:19:07what about trying to estimate the
- 00:19:08difference between two population
- 00:19:11proportions for example what if I want
- 00:19:13to know hey I wonder is there a
- 00:19:15difference or what is the difference
- 00:19:16between the proportion of boys that wear
- 00:19:20glasses and the proportion of girls that
- 00:19:22wear glasses
- 00:19:23what could the difference be well I have
- 00:19:26to first start off with the difference
- 00:19:28between two samples so I'm going to take
- 00:19:31a sample of the boys minus the
- 00:19:34proportion from a sample of girls so I
- 00:19:37have to first use my sample proportions
- 00:19:40right now you know obviously give you a
- 00:19:42specific problem with boys and girls but
- 00:19:44I want to keep things very generic I
- 00:19:45would just be one and two right the
- 00:19:47sample one verse sample two looking at
- 00:19:50the difference between them so I'm going
- 00:19:51to calculate my difference between my
- 00:19:53sample proportions the
- 00:19:56once again I'm gonna go up and down by a
- 00:19:58margin of error to build my interval I
- 00:20:00once again need my critical value Z star
- 00:20:04based on how confident I would like to
- 00:20:05be times well once again I would like to
- 00:20:09use standard deviation but I can't I
- 00:20:11have to use standard error
- 00:20:12now the only issue now is that I have
- 00:20:15two proportions not one so what is the
- 00:20:17formula for standard error well it's a
- 00:20:20little bit of a different formula but if
- 00:20:21you pay attention in class I explain
- 00:20:23where it came from
- 00:20:23it's a giant square root you're gonna do
- 00:20:26P Hat 1 times the opposite of P Hat 1
- 00:20:30divided by the sample size for group 1
- 00:20:33plus P hat 2 times 1 minus P hat 2 all
- 00:20:40divided by the sample size for group 2
- 00:20:43and combining all of that together that
- 00:20:46gets your standard error for the
- 00:20:48difference so it's kind of a weird
- 00:20:50formula but we did talk about where it
- 00:20:51came from and I want to get into too
- 00:20:53much in class we're basically combining
- 00:20:54the two together and it is P hat 1 times
- 00:20:57the opposite one minus P hat 1 divided
- 00:20:59my sample size plus P hat 2 times 1
- 00:21:02minus P 2 divided by sample size and
- 00:21:04then a giant squared around all that do
- 00:21:06all that together that again that
- 00:21:07calculates our standard error you can
- 00:21:09find your interval very very easy all
- 00:21:12right one more to go here estimating the
- 00:21:14difference between two population means
- 00:21:16so is there a difference between how
- 00:21:19long it takes a boy to get to school and
- 00:21:21the average amount of time it takes a
- 00:21:23girl to get to school what's the
- 00:21:25difference well the first thing I do is
- 00:21:28got to look at some samples I'm gonna
- 00:21:29look at a sample of boys and I'm gonna
- 00:21:31look at the difference between the
- 00:21:33sample of boys and the sample of girls
- 00:21:35now I could use a being a G here but I'm
- 00:21:36gonna use the one in two to keep a
- 00:21:38generic basically I have two samples and
- 00:21:40I'm gonna look at the difference between
- 00:21:42them now that's the difference between
- 00:21:44my samples that's not necessarily the
- 00:21:46difference between the true values so
- 00:21:48what I'm going to do is I'm going to go
- 00:21:49up and down by a margin of error in
- 00:21:51hopes of locating what that true
- 00:21:53difference could be I need a t-star
- 00:21:55because when you work with means you
- 00:21:57need T star we talked about how to find
- 00:21:58that critical value already times once
- 00:22:01again a standard error okay I have two
- 00:22:04samples those so what's the standard
- 00:22:06error for two samples well it's kind of
- 00:22:09again
- 00:22:09a formula but here it is it's a giant
- 00:22:11square root it's the standard deviation
- 00:22:13from your first group squared divided by
- 00:22:16the standard by the sample size of your
- 00:22:18first group plus the standard deviation
- 00:22:21squared of your second group divided by
- 00:22:25the sample size of your second group so
- 00:22:28again it's a giant square root inside of
- 00:22:30that square root is the standard
- 00:22:31deviation of Group one squared divided
- 00:22:33by sample size plus the stand deviation
- 00:22:35of group two squared divided by sample
- 00:22:37size that will help calculate the
- 00:22:39standard error you need to build that
- 00:22:40interval and it's really that easy all
- 00:22:43right let's take a look at a couple
- 00:22:44examples that way we can make sure we
- 00:22:46know how to actually use these intervals
- 00:22:48so a ninety-eight percent confidence
- 00:22:52interval for the population mean amount
- 00:22:54of time for a high school student to get
- 00:22:56to school in the morning is eight point
- 00:22:57three to 18 point seven so what is this
- 00:23:00interval meet let's interpret this
- 00:23:02interval the first thing I have to start
- 00:23:03off with is saying I'm 98% confident I'm
- 00:23:0698% confident what okay use the problem
- 00:23:09right I'm 90% confident that the true
- 00:23:12population mean about the time for high
- 00:23:14school to get to school is somewhere in
- 00:23:16the interval between eight point three
- 00:23:18minutes and eighteen point seven minutes
- 00:23:20so I don't know exactly what the true
- 00:23:22average amount of time it takes on high
- 00:23:24school to get to school is but based on
- 00:23:25my sample it's somewhere in that
- 00:23:27interval I'm 98% confident it's in that
- 00:23:30interval all right what is my point s
- 00:23:32that's oftentimes a multiple choice
- 00:23:34question maybe even in frq if you have
- 00:23:37the interval what was the sample mean
- 00:23:39well remember how an interval is created
- 00:23:41you take your sample mean and you go up
- 00:23:44and down by the margin of error that
- 00:23:46should put the sample mean smack dab in
- 00:23:49the middle so all you have to do to find
- 00:23:52that sample mean is add together 8.3 and
- 00:23:5618.7 and then divide by two the dead
- 00:24:00center will be your sample mean that
- 00:24:02means my sample mean must have been
- 00:24:05thirteen point five minutes that was the
- 00:24:08mean of my sample and then I calculated
- 00:24:10my margin of error by the way we could
- 00:24:13also find our margin of error because
- 00:24:15all I got to do is take the 18 point
- 00:24:17seven and subtract the center
- 00:24:25so I thought that mistake there and that
- 00:24:28gives me a margin of error 5.2 or I
- 00:24:30could take the bottom 8.3 and subtract
- 00:24:33the way the center and that would give
- 00:24:35me the same margin of error but negative
- 00:24:37because again you go up and down so my
- 00:24:39margin of error would be plus or minus
- 00:24:41five point two minutes all right
- 00:24:44let's make sure we once again because
- 00:24:46I'm this is really important so I'm
- 00:24:47going over twice is what does 98 percent
- 00:24:49confident means well this was my
- 00:24:52interval if people were to conduct more
- 00:24:56samples of the same size from the same
- 00:24:58population every sample mean would
- 00:25:01technically create its own interval now
- 00:25:0498% of intervals will contain the true
- 00:25:08population mean I just hope that mine is
- 00:25:12one of them so it's not about a
- 00:25:14probability again the truth is either in
- 00:25:16my interval or it's not but I'm 98%
- 00:25:18confident that's in my interval because
- 00:25:20I know that 98% of intervals just like
- 00:25:23mine will contain victories all right
- 00:25:27let's look at this example now all right
- 00:25:30this often comes up on the AP stats test
- 00:25:32and I want to make sure I'm very clear
- 00:25:33on this I've seen this statement worded
- 00:25:36many times I want to make sure if I
- 00:25:37understand so let's go back to our
- 00:25:38interval eight point three to eighteen
- 00:25:40point seven this is a statement that's
- 00:25:42often I've seen on multiple choice so
- 00:25:44say something like this if the true mean
- 00:25:45was outside our interval then the
- 00:25:48probability of getting our sample mean
- 00:25:50would be very low okay that's a great
- 00:25:53statement but a lot of kids don't
- 00:25:54understand why well here's the deal
- 00:25:56one ninety-eight percent confident that
- 00:25:58the truth is somewhere in this interval
- 00:26:00so all I'm trying to say is that if the
- 00:26:03truth was not in that interval let's
- 00:26:05just say the truth was 20 minutes
- 00:26:07obviously my sample did not contain it
- 00:26:10all that means is that my sample mean of
- 00:26:1313.5 must have been very very
- 00:26:17significantly low that is why the
- 00:26:20interval around it did not contain the
- 00:26:22truth it all comes back to that sampling
- 00:26:25distribution if 20 minutes really is the
- 00:26:28truth then my interval should have
- 00:26:30contained 20 minutes but the fact that
- 00:26:33my interval
- 00:26:34it means I must have had an interval I
- 00:26:36must have had a sample way down here
- 00:26:38that when I built my interval I missed
- 00:26:42the truth all that tells me is that my
- 00:26:45sample mean was a very unlikely sample
- 00:26:48now unlikely samples do happen
- 00:26:50unfortunately mine's one of them and
- 00:26:52again this is why we say we're only 98
- 00:26:55percent confident that the truth is in
- 00:26:56our interval but it does bring up a good
- 00:26:59point that if the true mean was outside
- 00:27:01of our interval then the probability of
- 00:27:03getting our sample would have been very
- 00:27:05low but again we don't necessarily
- 00:27:08believe in low probability events
- 00:27:10occurring that is why again we're very
- 00:27:12confident that the truth is not twenty
- 00:27:14minutes and that it really is in our
- 00:27:16interval all right let's do another
- 00:27:18example now with proportions this time
- 00:27:20in an attempt to estimate the proportion
- 00:27:23of households in his city that own at
- 00:27:25least one dog mark instructed the
- 00:27:27following 95% confidence interval
- 00:27:30his interval is 0.15 2.27 all right
- 00:27:33let's interpret this interval I'm 95%
- 00:27:36confident that the true proportion of
- 00:27:38households in his city that at own at
- 00:27:39least one dog is somewhere between 15%
- 00:27:42and 27% all right now a very popular
- 00:27:46question often a multiple choice
- 00:27:47sometimes I'm for response is hey if you
- 00:27:50know your interval what was your sample
- 00:27:53size this is a great question all right
- 00:27:55this isn't it take me a minute to
- 00:27:56explain it but I need a lot of
- 00:27:58information first the first thing I need
- 00:28:00is my sample proportion which again
- 00:28:03should be smack dab in the center so
- 00:28:06once again if I go to my calculator if I
- 00:28:08take the point one five plus point two
- 00:28:11seven add them together divide by 2
- 00:28:13that gets my sample to be point two one
- 00:28:17okay the other thing I need is my margin
- 00:28:20of error my margin of error is how much
- 00:28:23I go up and down from my sample if my
- 00:28:26sample was point two one then I must
- 00:28:28have went up and down by 0.06 because if
- 00:28:31you go up 106 you get 27 percent down
- 00:28:34point O six you get 15% all right so
- 00:28:37what was my sample size now there's one
- 00:28:39more thing I need and that is my Z star
- 00:28:41and we know if you're 95% confident you
- 00:28:45could simply look it up 95% cough
- 00:28:47your Z star would be 1.96 or you can use
- 00:28:51your calculator okay
- 00:28:52now I'm all ready to go remember that
- 00:28:54the back part the back part is your Z
- 00:28:57star times the standard error that back
- 00:28:59part to the formula is your margin of
- 00:29:02error so now I'm just going to fill in
- 00:29:04all the blanks the margin of error is
- 00:29:060.06 the Z star is 1.96 the formula for
- 00:29:12standard error is the square root of P
- 00:29:14hat 0.2 1 times 1 minus P hat which
- 00:29:18would be 0.79 all divided by the sample
- 00:29:22size and that is what I don't know that
- 00:29:25is what I have to solve for so I needed
- 00:29:28the margin of error
- 00:29:29I needed the Z star I needed my P hat so
- 00:29:31I could find my 1 minus P hat as well
- 00:29:33and now I could solve for n first step
- 00:29:36is to divide both sides by the 1.96
- 00:29:44second step is to get rid of the square
- 00:29:46root by squaring both sides that cancels
- 00:29:49out the square root so I get 0.06
- 00:29:52divided by 1 point 9 6 squared equals
- 00:29:55point 2 1 times point 7 9 divided by n
- 00:29:58next step would be to instead of Multan
- 00:30:01stead of dividing by n to multiply that
- 00:30:03end up to here and then the final step
- 00:30:07would be to divide by all of that stuff
- 00:30:09in parentheses so I'm going to take the
- 00:30:10point 2 1 times point 7 9 and divide by
- 00:30:13the point O 6 divided by 1 point 9 6 all
- 00:30:17squared ok so that's a lot hopefully
- 00:30:21you're good at algebra this is not as
- 00:30:22hard as the algebra gets 0.2 one times
- 00:30:24point seven nine okay there's that and
- 00:30:28I'm going to divide that by in
- 00:30:29parentheses 0.06 divided by 1.96 and
- 00:30:36then don't forget to make sure that
- 00:30:37squares on the outside those parentheses
- 00:30:39so I get a sample of about one hundred
- 00:30:41seventy seven point zero three how they
- 00:30:43recommend always rounding up because
- 00:30:45that will make you a little bit more
- 00:30:46accurate remember bigger sample is
- 00:30:48always better so I would say
- 00:30:49approximately 178 households must have
- 00:30:53been his sample size that's a very
- 00:30:56popular question hopefully you remember
- 00:30:57how to do that all right
- 00:31:00to the last topic which was making sure
- 00:31:02you can understand how comfortable can
- 00:31:03help us understand significance test a
- 00:31:0595 percent confident a mode for the
- 00:31:08difference between the proportion of
- 00:31:09teenage girls that wear glasses and the
- 00:31:11proportion teams boys and wear glasses
- 00:31:12is negative point oh eight two point oh
- 00:31:15four so let's make sure we know how to
- 00:31:16interpret this I'm 95% confident that
- 00:31:19the true difference between the
- 00:31:20proportion of boys and girls that wear
- 00:31:22glasses is anywhere from negative eight
- 00:31:25percent to positive four percent that
- 00:31:27means girls are eight percent higher to
- 00:31:32four percent lower than boys or I can
- 00:31:35look at that the other way around
- 00:31:36boys are eight percent lower to four
- 00:31:38percent higher the fact that this
- 00:31:40interval is negative on one side and
- 00:31:42positive on the other means that girls
- 00:31:44could be eight percent more than boys in
- 00:31:46terms of wearing glasses or girls can be
- 00:31:48four percent less than boys because I'm
- 00:31:51doing boy I'm excuse me I'm doing girls
- 00:31:53- boys so you got to make sure you truly
- 00:31:55understand how this interval works now
- 00:31:57does this interval show that there is a
- 00:32:00significant difference between boys and
- 00:32:02girls well no it doesn't because this
- 00:32:07interval actually leads me to three
- 00:32:08conclusions girls could be more likely
- 00:32:11to hourglasses
- 00:32:12boys could be more likely to hourglasses
- 00:32:14or you know what numbers in this
- 00:32:16interval a big fat zero there can
- 00:32:19actually be no difference between boys
- 00:32:22and girls and wearing glasses so the
- 00:32:25proportion of boys that were glasses and
- 00:32:27the proportion of girls that wear
- 00:32:28glasses can actually be exactly the same
- 00:32:30and if that's true there's no difference
- 00:32:33and that is a legitimate possibility
- 00:32:34since zero falls in this interval so is
- 00:32:37there really a difference
- 00:32:38no the interval contains zero and the
- 00:32:41interval contains a positive and
- 00:32:42negative numbers so do girls wear that
- 00:32:45wear more is there a larger proportion
- 00:32:47of girls that wear glasses or a larger
- 00:32:49proportion of boys that wear glasses I
- 00:32:51don't know it could be larger for girls
- 00:32:54it could be larger for boys or you know
- 00:32:56what guys
- 00:32:56there probably is no difference
- 00:32:58whatsoever so when we think about a
- 00:33:00significance s which there's a separate
- 00:33:02video for our null is that the perp must
- 00:33:06do something wrong there the proportion
- 00:33:08of boys is equal to the proportion of
- 00:33:10girls and the alternative would be
- 00:33:12something like
- 00:33:13the proportion of boys is more than the
- 00:33:15proportion of girls who wear glasses
- 00:33:17well my interval doesn't tell me that it
- 00:33:19doesn't say that boys is more it says
- 00:33:22boys could be more but boys could be
- 00:33:23less or there could be no difference so
- 00:33:26that is when we would actually fail to
- 00:33:28reject the null because I don't have
- 00:33:30enough evidence to say there really is a
- 00:33:31difference because there could be no
- 00:33:34difference so hopefully your teacher
- 00:33:36went over that with you and hopefully
- 00:33:38that actually makes sense to you because
- 00:33:39a confidence interval oftentimes should
- 00:33:41or should always support a significance
- 00:33:44test all right guys that was a long
- 00:33:46video but there is an awful lot to talk
- 00:33:48about when it comes to confidence
- 00:33:49intervals so hopefully this will help
- 00:33:50you ace any questions on the tests that
- 00:33:52cover them
- interval de confiança
- estadístiques AP
- marge d'error
- valors crítics
- mostra aleatòria
- mitjana de la mostra
- proporció de la mostra
- condicions
- conclusions
- significativitat