Confidence Intervals Study Notes

Unit 6: Confidence Intervals

Recap on Sampling Distribution

  • The sampling distribution of the sample mean Xˉ\bar{X} is the distribution of the sample mean for all possible samples of size nn from the population distribution of XX.
      - For any sample size nn:
      ar{X} ext{ follows } Nigg( rac{ar{oldsymbol{ ext{X}}}igg), rac{oldsymbol{ ext{σ}}}{ ext{√}n}igg)
      - If XextfollowsN(extμ,extσ)X ext{ follows } N(\boldsymbol{ ext{μ}}, \boldsymbol{ ext{σ}}), then XˉextfollowsN(extμ,racextσext√n)</p></li></ul><h4id="aa8c71fb−92cd−454a−8c79−d9cf66e4a750"data−toc−id="aa8c71fb−92cd−454a−8c79−d9cf66e4a750"collapsed="false"seolevelmigrated="true">CentralLimitTheorem</h4><ul><li><p>TheCentralLimitTheoremstates:If\bar{X} ext{ follows } N\bigg(\boldsymbol{ ext{μ}}, rac{\boldsymbol{ ext{σ}}}{ ext{√}n}\bigg)</p></li></ul><h4 id="aa8c71fb-92cd-454a-8c79-d9cf66e4a750" data-toc-id="aa8c71fb-92cd-454a-8c79-d9cf66e4a750" collapsed="false" seolevelmigrated="true">Central Limit Theorem</h4><ul><li><p>The Central Limit Theorem states: IfXisanyrandomvariablewithafinitemeanandvariance,thenasthesamplesizeis any random variable with a finite mean and variance, then as the sample sizenincreases(whereincreases (wheren ext{ is typically } ext{≥ } 30),thedistributionofthesamplemean), the distribution of the sample meanar{X}approachesanormaldistribution.<br>  −Irrespectiveoftheoriginalpopulationdistribution,thesamplingdistributionofthemeanwillbeapproximatelynormalforlargesamplesizes.<br>  −Thus:<br>  approaches a normal distribution.<br>  - Irrespective of the original population distribution, the sampling distribution of the mean will be approximately normal for large sample sizes.<br>  - Thus:<br>  ar{X} ext{ follows } Nigg(oldsymbol{ ext{μ}}, rac{oldsymbol{ ext{σ}}}{ ext{√}n}igg)</p></li></ul><h4id="a8f71536−eb67−4750−bd4e−3e3a995cccd1"data−toc−id="a8f71536−eb67−4750−bd4e−3e3a995cccd1"collapsed="false"seolevelmigrated="true">StatisticalInference</h4><ul><li><p>Statisticalinferencereferstomethodsusedtodrawconclusionsaboutapopulationbasedonsampledata.<br>  −Itallowsformakingpredictionsorgeneralizationsfromthesampledatatothebroaderpopulationofinterest.</p></li></ul><h5id="5dce9ee0−4682−44fc−8b08−6d9eec6e668b"data−toc−id="5dce9ee0−4682−44fc−8b08−6d9eec6e668b"collapsed="false"seolevelmigrated="true">QuantifyingUncertainty</h5><ul><li><p>Acknowledgesthatsampledatamaynotperfectlyrepresentthepopulation.</p></li><li><p>Usestheprinciplesofprobabilitytoquantifythisuncertainty:<br>  −Dependencyontheprobabilityframeworkfacilitatesunderstandinglong−termpredictablebehaviorsinsample−basedconclusions.<br>  −Goodsamples(e.g.,SimpleRandomSamples,SRS)helptoensurehigherconfidenceinconclusionsdrawn.</p></li></ul><h4id="2bd02a11−1526−43dc−a02d−73f67d0af3dd"data−toc−id="2bd02a11−1526−43dc−a02d−73f67d0af3dd"collapsed="false"seolevelmigrated="true">EvaluatingEstimatorPerformance</h4><ul><li><p>Thesamplemean</p></li></ul><h4 id="a8f71536-eb67-4750-bd4e-3e3a995cccd1" data-toc-id="a8f71536-eb67-4750-bd4e-3e3a995cccd1" collapsed="false" seolevelmigrated="true">Statistical Inference</h4><ul><li><p>Statistical inference refers to methods used to draw conclusions about a population based on sample data.<br>  - It allows for making predictions or generalizations from the sample data to the broader population of interest.</p></li></ul><h5 id="5dce9ee0-4682-44fc-8b08-6d9eec6e668b" data-toc-id="5dce9ee0-4682-44fc-8b08-6d9eec6e668b" collapsed="false" seolevelmigrated="true">Quantifying Uncertainty</h5><ul><li><p>Acknowledges that sample data may not perfectly represent the population.</p></li><li><p>Uses the principles of probability to quantify this uncertainty:<br>  - Dependency on the probability framework facilitates understanding long-term predictable behaviors in sample-based conclusions.<br>  - Good samples (e.g., Simple Random Samples, SRS) help to ensure higher confidence in conclusions drawn.</p></li></ul><h4 id="2bd02a11-1526-43dc-a02d-73f67d0af3dd" data-toc-id="2bd02a11-1526-43dc-a02d-73f67d0af3dd" collapsed="false" seolevelmigrated="true">Evaluating Estimator Performance</h4><ul><li><p>The sample meanar{X}isusedasanestimatorforthepopulationmeanis used as an estimator for the population meanoldsymbol{ ext{μ}}.<br>  −However,theprobabilitythat.<br>  - However, the probability thatar{X} = oldsymbol{ ext{μ}}istheoreticallyzeroduetocontinuity.<br>  −Reportingonlythesamplemeandoesnotprovideanyinformationregardingtheestimatedmean’saccuracy.</p></li></ul><h4id="e61bc487−a4a5−42df−8737−b2f167c97086"data−toc−id="e61bc487−a4a5−42df−8737−b2f167c97086"collapsed="false"seolevelmigrated="true">ConfidenceIntervals</h4><ul><li><p>Theaimistoconstructanintervalaroundthesamplemeanthatlikelycontainsthepopulationmeanis theoretically zero due to continuity.<br>  - Reporting only the sample mean does not provide any information regarding the estimated mean’s accuracy.</p></li></ul><h4 id="e61bc487-a4a5-42df-8737-b2f167c97086" data-toc-id="e61bc487-a4a5-42df-8737-b2f167c97086" collapsed="false" seolevelmigrated="true">Confidence Intervals</h4><ul><li><p>The aim is to construct an interval around the sample mean that likely contains the population meanoldsymbol{ ext{μ}}.<br>  −Acknowledgesthatthesamplemeanvariesfromsampletosample,necessitatingarangeofvaluesinsteadofasingleestimate.</p></li><li><p>Awell−constructedconfidenceintervalgivesusahighdegreeofconfidence(typicallyabout95.<br>  - Acknowledges that the sample mean varies from sample to sample, necessitating a range of values instead of a single estimate.</p></li><li><p>A well-constructed confidence interval gives us a high degree of confidence (typically about 95%) that it contains the true parameter.<br>  - Center the interval at the sample meanar{X}.</p></li></ul><h5id="580dfc7b−2002−4daf−98c5−8bbadceaab7b"data−toc−id="580dfc7b−2002−4daf−98c5−8bbadceaab7b"collapsed="false"seolevelmigrated="true">95.</p></li></ul><h5 id="580dfc7b-2002-4daf-98c5-8bbadceaab7b" data-toc-id="580dfc7b-2002-4daf-98c5-8bbadceaab7b" collapsed="false" seolevelmigrated="true">95% Confidence Interval</h5><ul><li><p>For a normally distributed sample, approximately 95% of samples are expected to contain the population mean within the interval defined by:<br>  ar{X} ext{ } ± 2 rac{oldsymbol{ ext{σ}}}{ ext{√}n}</p></li><li><p>Thisfollowsfromthe68−95−99.7rule,whichindicatesthatforanormaldistribution:<br>  −About95</p></li><li><p>This follows from the 68-95-99.7 rule, which indicates that for a normal distribution:<br>  - About 95% of the values fall within two standard deviations above and below the mean.</p></li></ul><h5 id="b93ab9b2-fb7d-4dd1-8e3c-c3b569c9d26e" data-toc-id="b93ab9b2-fb7d-4dd1-8e3c-c3b569c9d26e" collapsed="false" seolevelmigrated="true">Example Calculation</h5><ul><li><p>Let’s consider a case where the GPAs of University of Manitoba graduates are normally distributed with a known standard deviationoldsymbol{ ext{σ}} = 0.40.</p></li><li><p>Calculatingfromasampleof25graduateswherethesamplemean.</p></li><li><p>Calculating from a sample of 25 graduates where the sample meanar{X} = 3.31:<br>  −Thecalculationforthe95:<br>  - The calculation for the 95% confidence interval:<br>    - ext{Margin of Error} = 2 rac{0.40}{ ext{√}25} = 0.16<br>    −Therefore,theconfidenceintervalis:<br>      −<br>    - Therefore, the confidence interval is:<br>      -ar{X} ± 0.16 = (3.31 - 0.16, 3.31 + 0.16) = (3.15, 3.47)</p></li></ul><h5id="49b76c0e−d9c0−4f6c−9558−7e4777b12f3f"data−toc−id="49b76c0e−d9c0−4f6c−9558−7e4777b12f3f"collapsed="false"seolevelmigrated="true">InterpretationofConfidenceIntervals</h5><ul><li><p>A95</p></li></ul><h5 id="49b76c0e-d9c0-4f6c-9558-7e4777b12f3f" data-toc-id="49b76c0e-d9c0-4f6c-9558-7e4777b12f3f" collapsed="false" seolevelmigrated="true">Interpretation of Confidence Intervals</h5><ul><li><p>A 95% confidence interval can be interpreted as:<br>  - If we were to take multiple random samples of the same size and construct confidence intervals in the same manner, about 95% of these intervals would contain the true meanoldsymbol{ ext{μ}}.</p></li><li><p>Confidenceintervalstaketheform:<br>  −.</p></li><li><p>Confidence intervals take the form:<br>  - ext{estimate} ± ext{margin of error}<br>  −Fora95<br>  - For a 95% CI specifically, the estimate isar{X}andthemarginoferrorisand the margin of error is2 rac{oldsymbol{ ext{σ}}}{ ext{√}n}</p></li></ul><h5id="e50d9b1d−b4ba−47df−93ba−9abb3c4315e4"data−toc−id="e50d9b1d−b4ba−47df−93ba−9abb3c4315e4"collapsed="false"seolevelmigrated="true">ConfidenceLevelC</h5><ul><li><p>Eachconfidenceintervalhasanassociatedconfidencelevel</p></li></ul><h5 id="e50d9b1d-b4ba-47df-93ba-9abb3c4315e4" data-toc-id="e50d9b1d-b4ba-47df-93ba-9abb3c4315e4" collapsed="false" seolevelmigrated="true">Confidence Level C</h5><ul><li><p>Each confidence interval has an associated confidence levelC,indicatingtheprobabilitythattheintervalcapturesthetruepopulationmean, indicating the probability that the interval captures the true population meanoldsymbol{ ext{μ}}.</p></li><li><p>Confidencelevelsarechosenbytheanalyst,buthigherconfidencelevels(.</p></li><li><p>Confidence levels are chosen by the analyst, but higher confidence levels (C ext{ ≥ } 90 ext{%})arepreferredforgreateraccuracyinestimates.</p></li></ul><h5id="0fe5dc19−bd95−4a81−990f−2b03656e4827"data−toc−id="0fe5dc19−bd95−4a81−990f−2b03656e4827"collapsed="false"seolevelmigrated="true">VisualizationofConfidenceIntervals</h5><ul><li><p>Theconfidenceintervalcanberepresentedgraphicallyas:<br>  −) are preferred for greater accuracy in estimates.</p></li></ul><h5 id="0fe5dc19-bd95-4a81-990f-2b03656e4827" data-toc-id="0fe5dc19-bd95-4a81-990f-2b03656e4827" collapsed="false" seolevelmigrated="true">Visualization of Confidence Intervals</h5><ul><li><p>The confidence interval can be represented graphically as:<br>  -oldsymbol{ ext{μ}} - 2 rac{oldsymbol{ ext{σ}}}{ ext{√}n} < oldsymbol{ ext{μ}} < oldsymbol{ ext{μ}} + 2 rac{oldsymbol{ ext{σ}}}{ ext{√}n}</p></li></ul><h5id="ccbaee19−abb6−4d8c−a411−a3987a8c511c"data−toc−id="ccbaee19−abb6−4d8c−a411−a3987a8c511c"collapsed="false"seolevelmigrated="true">GeneralFormofConfidenceIntervalforPopulationMean</h5><ul><li><p>Thegeneralformulaforalevel</p></li></ul><h5 id="ccbaee19-abb6-4d8c-a411-a3987a8c511c" data-toc-id="ccbaee19-abb6-4d8c-a411-a3987a8c511c" collapsed="false" seolevelmigrated="true">General Form of Confidence Interval for Population Mean</h5><ul><li><p>The general formula for a levelCconfidenceintervalis:<br>  −confidence interval is:<br>  -ar{X} ± z^{} rac{oldsymbol{ ext{σ}}}{ ext{√}n}  −Where  - Wherez^{}isthecriticalvaluesuchthatis the critical value such thatP(-z^{} ext{ ≤ } Z ext{ ≤ } z^{}) = C.</p></li></ul><h5id="fcef6606−0634−45d6−a376−ce2107ade7b4"data−toc−id="fcef6606−0634−45d6−a376−ce2107ade7b4"collapsed="false"seolevelmigrated="true">FindingCriticalValues</h5><ul><li><p>Criticalvalues.</p></li></ul><h5 id="fcef6606-0634-45d6-a376-ce2107ade7b4" data-toc-id="fcef6606-0634-45d6-a376-ce2107ade7b4" collapsed="false" seolevelmigrated="true">Finding Critical Values</h5><ul><li><p>Critical valuesz^{}canbefoundusingastandardnormaldistributiontable.  −Foraconfidencelevelof90can be found using a standard normal distribution table.   - For a confidence level of 90%, the critical value was found such that:     -P(Z < z^{}) = 0.05 + 0.90 = 0.95,resultingin, resulting inz^{} = 1.645.  −Fora95.   - For a 95% confidence level, the critical valuez^{} ext{ is approximately } 1.96.</p></li></ul><h4id="59cac55b−4ca5−4c72−9e2c−aaef9b03c2a6"data−toc−id="59cac55b−4ca5−4c72−9e2c−aaef9b03c2a6"collapsed="false"seolevelmigrated="true">ApplicationExamples</h4><h5id="a045971c−bea8−4bbc−9f13−5df3fe7f07d1"data−toc−id="a045971c−bea8−4bbc−9f13−5df3fe7f07d1"collapsed="false"seolevelmigrated="true">SentenceTimesforCriminalsExample</h5><ul><li><p>Assumethestandarddeviation.</p></li></ul><h4 id="59cac55b-4ca5-4c72-9e2c-aaef9b03c2a6" data-toc-id="59cac55b-4ca5-4c72-9e2c-aaef9b03c2a6" collapsed="false" seolevelmigrated="true">Application Examples</h4><h5 id="a045971c-bea8-4bbc-9f13-5df3fe7f07d1" data-toc-id="a045971c-bea8-4bbc-9f13-5df3fe7f07d1" collapsed="false" seolevelmigrated="true">Sentence Times for Criminals Example</h5><ul><li><p>Assume the standard deviationoldsymbol{ ext{σ}} = 28.7monthsforsentencetimesofacertaincrime.Asimplerandomsampleof10sentencesyields:<br>  −(136,102,84,150,115,98,125,176,120,72)</p></li><li><p>Fora92months for sentence times of a certain crime. A simple random sample of 10 sentences yields:<br>  - (136, 102, 84, 150, 115, 98, 125, 176, 120, 72)</p></li><li><p>For a 92% confidence interval:<br>  - Mean is calculated as ar{X} = 117.8.<br>  −Thecriticalvalue.<br>  - The critical valuez^{}isdeterminedsuchthat:    −is determined such that:     -P(Z < z^{}) = 0.04 + 0.92 = 0.96 o z^{*} = 1.75</p></li><li><p>The92</p></li><li><p>The 92% confidence interval is:<br>  -ar{X} ± 1.75 rac{oldsymbol{ ext{σ}}}{ ext{√}10} = (101.9, 133.7),<br>  −Meaningweare92,<br>  - Meaning we are 92% confident that the interval contains the population mean.</p></li></ul><h5 id="e910e2a6-029d-48fa-ba6d-f4e9f69deaa4" data-toc-id="e910e2a6-029d-48fa-ba6d-f4e9f69deaa4" collapsed="false" seolevelmigrated="true">Confidence Interval Calculations with Increased Sample Size</h5><ul><li><p>If the sample size is increased to 160, utilizing the same mean and standard deviation metrics:<br>  - The recalculated confidence interval becomes narrower due to a decreased margin of error.</p></li><li><p>Example results:<br>  - 95% C.I. whenn = 40: (18.26, 25.22)<br>  −95<br>  - 95% C.I. whenn = 160: (20.00, 23.48)</p></li></ul><h5id="8ba602a2−9283−4fdc−a6f3−b1de60b5549a"data−toc−id="8ba602a2−9283−4fdc−a6f3−b1de60b5549a"collapsed="false"seolevelmigrated="true">Trade−OffbetweenConfidenceLevelandMarginofError</h5><ul><li><p>Astheconfidencelevelincreases,themarginoferroralsoincreases,leadingtowiderintervals.</p></li><li><p>Tomaintainahighconfidencelevelwhilealsoreducingthemarginoferror:<br>  −Samplesizemustincreaseinaquadraticmannerrelativetothedesiredmarginoferrorchange.</p></li></ul><h4id="547793a7−ae55−41f7−99b6−4518d0883959"data−toc−id="547793a7−ae55−41f7−99b6−4518d0883959"collapsed="false"seolevelmigrated="true">MisinterpretationsofConfidenceIntervals</h4><h5id="0bf9d978−df9d−45fd−86b9−29c9eb1b8e57"data−toc−id="0bf9d978−df9d−45fd−86b9−29c9eb1b8e57"collapsed="false"seolevelmigrated="true">CommonMisinterpretations</h5><ol><li><p>MisleadingStatements:<br>   −"Approximately95</p></li></ul><h5 id="8ba602a2-9283-4fdc-a6f3-b1de60b5549a" data-toc-id="8ba602a2-9283-4fdc-a6f3-b1de60b5549a" collapsed="false" seolevelmigrated="true">Trade-Off between Confidence Level and Margin of Error</h5><ul><li><p>As the confidence level increases, the margin of error also increases, leading to wider intervals.</p></li><li><p>To maintain a high confidence level while also reducing the margin of error:<br>  - Sample size must increase in a quadratic manner relative to the desired margin of error change.</p></li></ul><h4 id="547793a7-ae55-41f7-99b6-4518d0883959" data-toc-id="547793a7-ae55-41f7-99b6-4518d0883959" collapsed="false" seolevelmigrated="true">Misinterpretations of Confidence Intervals</h4><h5 id="0bf9d978-df9d-45fd-86b9-29c9eb1b8e57" data-toc-id="0bf9d978-df9d-45fd-86b9-29c9eb1b8e57" collapsed="false" seolevelmigrated="true">Common Misinterpretations</h5><ol><li><p>Misleading Statements: <br>   - "Approximately 95% of all employees earn between18.26andand25.22perhour."<br>     −<strong>Correction</strong>:Theintervalestimatesthemeanwage,notindividualwages.</p></li><li><p>IncorrectProbabilityConclusions:<br>   −"Theprobabilitythatthecalculatedintervalcontainsthesamplemeanis95per hour."<br>     - <strong>Correction</strong>: The interval estimates the mean wage, not individual wages.</p></li><li><p>Incorrect Probability Conclusions:<br>   - "The probability that the calculated interval contains the sample mean is 95%."<br>     - <strong>Correction</strong>: The sample mean is always contained in the interval as it is centered there.</p></li><li><p>Misunderstandings About Sample Coverage:<br>   - "About 95% of all samples of 40 employees have means between18.26andand25.22perhour."<br>     −<strong>Correction</strong>:Theintervalisforthepopulationmean,nototherpotentialsamples.</p></li><li><p>ParameterValuesMisinterpretation:<br>   −"Theprobabilitythatper hour."<br>     - <strong>Correction</strong>: The interval is for the population mean, not other potential samples.</p></li><li><p>Parameter Values Misinterpretation:<br>   - "The probability thatoldsymbol{ ext{μ}}isbetweenis between18.26andand25.22is0.95."<br>     −<strong>Correction</strong>:Thepopulationmeanisfixed;probabilitiesshouldbediscussedintermsoftheinterval,whichisrandom.</p></li></ol><h4id="1aca3868−7326−4125−9481−74011d01e026"data−toc−id="1aca3868−7326−4125−9481−74011d01e026"collapsed="false"seolevelmigrated="true">SampleSizeConsiderations</h4><h5id="8de46dd9−067f−4477−a1e0−00181d653256"data−toc−id="8de46dd9−067f−4477−a1e0−00181d653256"collapsed="false"seolevelmigrated="true">SampleSizevs.PopulationSize</h5><ul><li><p>Thelengthofaconfidenceintervalisdependentonthesamplesize,nottheoverallpopulationsize.<br>  −Forfixedsamplesizes,theestimate’sprecisionremainsconsistentregardlessofthepopulationsize.</p></li><li><p>Forexample:<br>  −Asampleof25studentsfromUofW(population10,000)vs.UofM(population30,000)yieldsthesamemarginoferror,assumingequalstandarddeviations.</p></li></ul><h5id="ceeab03c−11d2−439e−b522−2c218891506f"data−toc−id="ceeab03c−11d2−439e−b522−2c218891506f"collapsed="false"seolevelmigrated="true">DeterminingSampleSize</h5><ul><li><p>Importanttoconsiderthepurposeofdatacollectionanddesiredprecisionofestimates.<br>  −Aimingforasmallmarginoferrorwithhighconfidenceleadstoappropriatesamplesizeselection.</p></li><li><p>Therelationshipbetweenmarginoferroris 0.95."<br>     - <strong>Correction</strong>: The population mean is fixed; probabilities should be discussed in terms of the interval, which is random.</p></li></ol><h4 id="1aca3868-7326-4125-9481-74011d01e026" data-toc-id="1aca3868-7326-4125-9481-74011d01e026" collapsed="false" seolevelmigrated="true">Sample Size Considerations</h4><h5 id="8de46dd9-067f-4477-a1e0-00181d653256" data-toc-id="8de46dd9-067f-4477-a1e0-00181d653256" collapsed="false" seolevelmigrated="true">Sample Size vs. Population Size</h5><ul><li><p>The length of a confidence interval is dependent on the sample size, not the overall population size.<br>  - For fixed sample sizes, the estimate’s precision remains consistent regardless of the population size.</p></li><li><p>For example:<br>  - A sample of 25 students from U of W (population 10,000) vs. U of M (population 30,000) yields the same margin of error, assuming equal standard deviations.</p></li></ul><h5 id="ceeab03c-11d2-439e-b522-2c218891506f" data-toc-id="ceeab03c-11d2-439e-b522-2c218891506f" collapsed="false" seolevelmigrated="true">Determining Sample Size</h5><ul><li><p>Important to consider the purpose of data collection and desired precision of estimates.<br>  - Aiming for a small margin of error with high confidence leads to appropriate sample size selection.</p></li><li><p>The relationship between margin of errormforrequiredsamplesizefor required sample sizencanbedefinedas:<br>  can be defined as:<br>  m = z^{*} rac{oldsymbol{ ext{σ}}}{ ext{√}n}</p></li></ul><h5id="9cc1bea8−01a4−4f45−a6fd−16d3b4403e8f"data−toc−id="9cc1bea8−01a4−4f45−a6fd−16d3b4403e8f"collapsed="false"seolevelmigrated="true">ExampleCalculationforSampleSize</h5><ul><li><p>Problem:Estimatetheaveragesleepdurationwithknownstandarddeviation</p></li></ul><h5 id="9cc1bea8-01a4-4f45-a6fd-16d3b4403e8f" data-toc-id="9cc1bea8-01a4-4f45-a6fd-16d3b4403e8f" collapsed="false" seolevelmigrated="true">Example Calculation for Sample Size</h5><ul><li><p>Problem: Estimate the average sleep duration with known standard deviationoldsymbol{ ext{σ}} = 1.27hours,withinhours, within0.5hoursata98hours at a 98% confidence level.</p></li><li><p>Thus, the critical valuez^{} = 2.326for98for 98% confidence:   - Required sample size can be calculated as:   n = rac{oldsymbol{ ext{σ}}^{2}(z^{})^2}{m^{2}} = rac{(1.27)^{2}(2.326)^{2}}{(0.5)^{2}} = 34.935</p></li><li><p>Roundupforfinalsamplesize:</p></li><li><p>Round up for final sample size: n = 35.</p></li></ul><h5id="be2682ae−4e9a−4821−86cc−e78427b640a5"data−toc−id="be2682ae−4e9a−4821−86cc−e78427b640a5"collapsed="false"seolevelmigrated="true">EffectofMarginofErroronSampleSize</h5><ul><li><p>Reducingthemarginoferrornecessitatesincreasingsamplesize.<br>  −Ifthemarginoferrorishalved,samplesizemustincreasetofourtimestheoriginalvalueduetothesquarerelation.</p></li></ul><h5id="5cb3f2f2−63f2−4400−8fe3−21dcdaa91cda"data−toc−id="5cb3f2f2−63f2−4400−8fe3−21dcdaa91cda"collapsed="false"seolevelmigrated="true">CautionsinConfidenceIntervalCalculations</h5><ol><li><p>Validitydependsonsamplingmethods;randomsamplingiscritical.Poorsampling(i.e.,haphazard)invalidatesstatisticalconclusions.</p></li><li><p>Stronginfluenceofoutliersonthesamplemeanandconfidenceintervals.</p></li><li><p>Theoreticaluseofpopulationstandarddeviation.</p></li></ul><h5 id="be2682ae-4e9a-4821-86cc-e78427b640a5" data-toc-id="be2682ae-4e9a-4821-86cc-e78427b640a5" collapsed="false" seolevelmigrated="true">Effect of Margin of Error on Sample Size</h5><ul><li><p>Reducing the margin of error necessitates increasing sample size.<br>  - If the margin of error is halved, sample size must increase to four times the original value due to the square relation.</p></li></ul><h5 id="5cb3f2f2-63f2-4400-8fe3-21dcdaa91cda" data-toc-id="5cb3f2f2-63f2-4400-8fe3-21dcdaa91cda" collapsed="false" seolevelmigrated="true">Cautions in Confidence Interval Calculations</h5><ol><li><p>Validity depends on sampling methods; random sampling is critical. Poor sampling (i.e., haphazard) invalidates statistical conclusions.</p></li><li><p>Strong influence of outliers on the sample mean and confidence intervals.</p></li><li><p>Theoretical use of population standard deviationoldsymbol{ ext{σ}}$ is often impractical; sample deviations ss may be more realistic in practical applications.