SlideShare a Scribd company logo
1 of 84
Chapter 10 Estimating with Confidence
10.1 	Confidence Intervals:		The Basics
Definitions Statistical Inference The method of drawing conclusions about a population based on a sample The last Major Topic for this last statistics course The mindset: we are looking at data that comes from a random sample (or an experiment) and inferring characteristics of the population
The Basic Plan 	In the absence of other data, the sample estimate is the estimate of the parameter We would like an interval estimation State the parameter that is being estimated Check to see if the data can be Normalized Compute the interval using area under the Normal curve Write  a nice conclusion
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05)
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Confidence Level C
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Confidence Interval (CI)
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Lower Bound Upper Bound
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Confidence Level C
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Confidence Interval (CI)
What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Margin of Error (ME) Point Estimate
Confidence Level The value of the parameter is fixed before we start our sampling Either the parameter is ā€˜inā€™ our interval or itā€™s not. There is no probability involved here ā€œThere is a 95% probability the parameter is in the intervalā€
Confidence Level The value of the parameter is fixed before we start our sampling Either the parameter is ā€˜inā€™ our interval or itā€™s not. There is no probability involved here ā€œThere is a 95% probability the parameter is in the intervalā€ F   A   I   L
Confidence Level Remember that our sample is just one of many samples that could have been taken If good sampling technique is used, 95% (for example) of the samples would contain the parameter We just donā€™t know if our sample is part of the 95% or the 5%
Confidence Level Interpretation of ā€œ90% Confidence Levelā€ ā€œWe are 90% confident that our CI contains the value of the parameterā€ ā€œ90% of CIā€™s computed with this technique will contain the parameterā€ ā€œThere is a 90% probability our CI contains the parameterā€ WRONG INTERPRETATION
Confidence Level Interpretation of ā€œ90% Confidence Levelā€ ā€œWe are 90% confident that our CI contains the value of the parameterā€ ā€œ90% of CIā€™s computed with this technique will contain the parameterā€ ā€œThere is a 90% probability our CI contains the parameterā€ WRONG INTERPRETATION
PANIC When constructing Confidence Intervals for the AP test, there is a definite checklist that readers look for Use the acronym P.A.N.I.C. to help memorize the steps to construction a confidence interval P = state the Parameter A = check that Assumptions are satisfied N = state is the Name of the interval I = compute numerical values of the Interval C = write a Conclusion for your findings
PANIC for Means We are going to start with Means, weā€™ll save proportions for later Parameterdefine what ļ­ measuresdefine what x-bar measures ā€œļ­ = mean length of all Great White Sharksā€˜ flukes x-bar = mean length the Great White Shark flukes in our sample of 35 sharksā€
Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence)
Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence) This is a condition that must be met since we are sampling without replacement and our formula for std dev needs to hold true
Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence) The sampling Distribution is approximately Normal (Normality)
More on Normality We are looking for justification that the sampling distribution is Normal If the population is Normal, then the samp dist is also Normal If n> 30 and the sample data is not given, state ā€œThe Central Limit Theorem guarantees that the sampling distribution is Normalā€ For smaller samples, check the following:(1) the Histogram is single peak, symmetric with 	no outliers(2) the Normal Probability Plot is approx Linear
Name of the Interval Currently, the only Interval we will worry about is ā€œz-interval for sample meansā€ This will always be the name of the distribution used
Confidence Interval Computation
Confidence Interval Computation Margin of Error
Confidence Interval Computation Standard Error Always the std dev of the sampling distribution Critical Value -from the Normal (z) distribution
Critical Value The area between ā€“z* and +z* = Confidence Level Because they are used frequently, there is a shorthand method in table C The last row gives different confidence levels Keep critical values to 3 decimal places  The row above the CL row has the z* In the AP test, they will call this zļ‚„
A General z* curve
z* for a 80% CL
Computing a CI Letā€™s compute the 95% CI for a sample of 35, with a mean of 5.38 and a population std dev ļ³=0.74 (1) locate the critical value z* = 1.960 (2) Compute S.E. and M.E. SE = 0.74/ļƒ–(35) = 0.1251ME = (1.960)(0.1251) = 0.2452
Computing a CI State the CIļ­ = 5.38 Ā± 0.25 Interval estimate:(5.13, 5.63) Notice that the point estimate is the average of the upper and lower bounds
Conclusions We are 95% confident that the mean length of a great white shark fluke is 5.38 Ā± 0.25 ft. 	OR We are 95% confident that the mean length of all great white shark flukes is in the interval  (5.13 ft, 5.63 ft).
Calculators TI83/TI84
Calculators TI83/TI84 Your TI is very efficient for finding these intervals!  This doesnā€™t excuse you from the mathematics, of course. [stat] ->  ā€œTESTSā€ -> ā€œZintervalā€ Inpt: ā€œStatsā€ (if your data is in L1, you can use ā€œDataā€ Enter values for ļ³, x-bar, n, and C-Level. Viola!
Calculators TI89 Run the ā€œStats/List Editorā€ APP [2nd] -> [F2] (F7) -> ā€œZintervalā€ Input Method = ā€œStatsā€Choose Data if all the observations are in a List Enter values for ļ³, x-bar, n, and C-Level. Viola!
Behavior of Margin of Error ME = z* (ļ³/ļƒ–n) In practice, we would like to minimize ME. (1) decrease z* This also means decrease our CL! (2) increase nthis is usually a trade off, since obtaining large samples could be more expensive/time consuming (3) decrease ļ³Not really an option. ļ³ is a known quantity.
Sample Size By using algebra, we can get a formula to compute minimum sample size for a given ME You should always round the sample size up in this calculation Note: ME is produced by sampling variability, it has nothing to do with ā€œsloppy workā€
10.2 Estimating a Population 	Mean
Studentā€™s t-distribution The confidence intervals computed in the previous section assumed that we knew ļ³. It doesnā€™t seem likely that we would know ļ³ and not know the value of ļ­ When ļ³ is unknown, we can no longer use the Normal distribution
Studentā€™s t-distribution The t-distribution is to be used when ļ³ is unknown. The t-distribution is very similar to the Normal distribution with a key difference The shape of the distribution changes based upon the sample size/degrees of freedom (df) Large samples have a tall peak and thinner tails Small samples have a small peak and thicker tails.
Studentā€™s t-distribution Degrees of Freedom = n -1
Using the t-distribution The CI is found using PANIC The Assumptions are the same as a z-interval Since sample sizes tend to be small, you will most likely need to check the histogram (symmetric, no outliers) and Normal prob plot (approx linear) We cannot use the t-distribution when there are outliers! The Name of the interval is ā€œ1-sample t-interval for meanā€
Using the t-distribution Interval is computed with df = n ā€“ 1 t* is from table C or your calculator s is the sampleā€™s standard deviation Uses the sample std dev to approximate ļ³
Upper Tail Area
Upper Tail Area This is the Upper Tail Area
Using the t-distribution
Using the t-distribution Using TI84 	[2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€
Using the t-distribution Using TI84 	[2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€
Using the t-distribution Using TI84 	[2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€ Donā€™t forget the negative!
Using the t-distribution
Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€
Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€
Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€ Donā€™t forget the negative!
Using the t-distribution ALTERNATIVE TI89 titanium [APPS] -> ā€œStat/List Editorā€ -> [F5] (distrib) -> ā€œInverseā€ -> ā€œInverse  tā€¦ā€  ā€œArea: 1- Upper Tailā€ Upper Tail = (1 ā€“ CL)/2 ā€œdegrees of freedom, df: dfā€ This takes longer to get to, but the menu ā€œguidesā€ you through
Table C Occasionally, you will need to fine the t* for a df that does not appear in the chart. When this happens, you are to use the nearest greatest  df in the same column This usually means ā€œuse the t* that is in the line above where the desired t* should beā€
Example: 1 sample t-interval 	Problem 10.30 	The amount of Vitamin C (mg/100g) in CSB for a random sample of 8 are given as: 	26, 31, 23, 22, 11, 22, 14, 31 	Construct a 95% Confidence interval for the amount of vitamin C in CSB.
Example: 1 sample t-interval Parameter ļ­ = the mean amount of vitamin C in CSB produced at the factory x-bar = the mean amount of vitamin C in a sample n = 8
Example: 1 sample t-interval Assumptions SRS ā€˜Our problem states that we have a random sampleā€™ Independence ā€˜10n = 80 < N; we can infer that more than 80 CSB is produced in the factoryā€™
Example: 1 sample t-interval Assumptions Normality ā€˜The histogram is symmetric w/ no outliersā€™ ā€˜The Norm Prob Plot is approx linearā€™ ā€˜We have good evidence that our sampling distribution is approximately Normalā€™ x 10     15    20    25    30    35 Norm Prob Plot Histogram z
Example: 1 sample t-interval Name of Interval 	ā€˜We will compute a 1-sample t-interval for a meanā€™
Example: 1 sample t-interval Name of Interval 	ā€˜We will compute a 1-sample t-interval for a meanā€™ Interval Calculation
Example: 1 sample t-interval Name of Interval 	ā€˜We will compute a 1-sample t-interval for a meanā€™ Interval Calculation Conclusion 	ā€˜We are 95% confident that the mean amount of vitamin C in a unit of CSB produced in the factory is between 16.487 and 28.513 mg/100 gā€™
10.3 Estimating a population Proportion
Estimating a Proportion Like with means, we are going to estimate the population proportion based on the proportion in a sample x = # of positive responsesn = total number of responses We will again use the PANIC procedures Note: nothing is averaged.  We are not looking at the average proportion from many samples
Parameter Some typical parameters: ā€˜p = prop of people in CA who support the proposition 	p-hat = proportion of people in a sample n = 35 who support the propositionā€™ ā€˜p = prop of students at THS who ride the bus 	p-hat = propotion of students in  a sample (n = 14) from THS who ride the bus
Assumptions Simple Random Sample SRS must be either stated or inferred Independencebecause you are usually sampling without replacement:N> 10n NormalitynĀ·p-hat > 10nĀ·q-hat > 10
Name of the Interval ā€œ1-proportion z intervalā€ Unlike for means, you will always use the Normal curve when dealing with proportions!
Interval Calculation z* is calculated as before Use table C 	OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section
Interval Calculation z* is calculated as before Use table C 	OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section Margin of Error (ME)
Interval Calculation z* is calculated as before Use table C 	OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section Standard Error(SE)
Conclusion Some Examples: We are 90% confident that the proportion of voters in CA who support the proposition is 0.34 Ā± 0.03 We are 95% confident that the proportion of students at THS who ride this bus is in the interval (0.39, 0.44)
Sample Size The relevant formula (from ME) for the sample size is: p* and q* are guessed values of the proportion If there is no previous data or study, use p* = q* = 0.5 (this will maximize the error and sample size) As before, you are to round the sample size up to the nearest integer
TI83/84
TI83/84 [stat] -> ā€œTESTā€ -> ā€œ1-PropZIntā€ ā€œx: number of successesā€ this can be computed with ā€œp-hat x nā€ ā€œn: number of people in sampleā€ ā€œC-Level : confidence levelā€ ā€œCalculateā€ and you are done You still need to fully write up ā€œPANICā€ procedures
TI 89
TI 89 [APPS] -> ā€œStat/List Editorā€ [2nd] -> [F2](F7) -> ā€œ1-PropZIntā€ ā€œSuccesses x: # of successesā€ ā€œn: number of people in sampleā€ ā€œC-Level : confidence levelā€ ā€œCalculateā€ and you are done You still need to fully write up ā€œPANICā€ procedures
Example 1-PropZInt 	The 2004 Gallup Youth Survey asked a random sample of 439 US teens aged 13 to 17 whether they though young people should wait to have sex until marriage.  246 sad ā€œyes.ā€  Letā€™s construct a 95% confidence interval for the proportion of all teens who would say ā€œYesā€
Parameter p = the proportion of all teens in the US aged 13-17 who would answer ā€œYesā€ to the survey p-hat = the proportion of teens in the survey of 439 who answered ā€œYesā€ to the survey
Assumptions SRS: We are told in the problem that the survey was random sample. Independence: there are than 10(439) = 4390 teens aged 13-17 in the US Normalityn x p-hat = 246, n x q-hat = 193The sampling distribution is approx. Normal (Note that this is just #successes and #failures)
Name of Interval We are constructing a ā€œ1 proportion Z intervalā€
Construction of Interval
Conclusion ā€œWe are 95% confident that the true proportion of 13-17 year olds who would answer ā€œyesā€ when asked if young people should wait to have sex until they are married is between 0.514 and 0.606.ā€
Stats chapter 10

More Related Content

What's hot

4 R Tutorial DPLYR Apply Function
4 R Tutorial DPLYR Apply Function4 R Tutorial DPLYR Apply Function
4 R Tutorial DPLYR Apply FunctionSakthi Dasans
Ā 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work IIMohamed Loey
Ā 
Divide and Conquer - Part 1
Divide and Conquer - Part 1Divide and Conquer - Part 1
Divide and Conquer - Part 1Amrinder Arora
Ā 
Compression Commands in Linux
Compression Commands in LinuxCompression Commands in Linux
Compression Commands in LinuxPegah Taheri
Ā 
Data Analysis with R (combined slides)
Data Analysis with R (combined slides)Data Analysis with R (combined slides)
Data Analysis with R (combined slides)Guy Lebanon
Ā 
Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation AlgorithmsNicolas Bettenburg
Ā 
Knapsack problem dynamicprogramming
Knapsack problem dynamicprogrammingKnapsack problem dynamicprogramming
Knapsack problem dynamicprogrammingrowntu
Ā 
0015.register allocation-graph-coloring
0015.register allocation-graph-coloring0015.register allocation-graph-coloring
0015.register allocation-graph-coloringsean chen
Ā 
Big o notation
Big o notationBig o notation
Big o notationhamza mushtaq
Ā 
Fractional Knapsack Problem
Fractional Knapsack ProblemFractional Knapsack Problem
Fractional Knapsack Problemharsh kothari
Ā 
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"Cyril Wang
Ā 
C multiple choice questions and answers pdf
C multiple choice questions and answers pdfC multiple choice questions and answers pdf
C multiple choice questions and answers pdfchoconyeuquy
Ā 
Introduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksIntroduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksEueung Mulyana
Ā 
Greedy Algorithms
Greedy AlgorithmsGreedy Algorithms
Greedy AlgorithmsAmrinder Arora
Ā 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrencesMegha V
Ā 
NumPy/SciPy Statistics
NumPy/SciPy StatisticsNumPy/SciPy Statistics
NumPy/SciPy StatisticsEnthought, Inc.
Ā 

What's hot (20)

4 R Tutorial DPLYR Apply Function
4 R Tutorial DPLYR Apply Function4 R Tutorial DPLYR Apply Function
4 R Tutorial DPLYR Apply Function
Ā 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
Ā 
Divide and Conquer - Part 1
Divide and Conquer - Part 1Divide and Conquer - Part 1
Divide and Conquer - Part 1
Ā 
Compression Commands in Linux
Compression Commands in LinuxCompression Commands in Linux
Compression Commands in Linux
Ā 
Data Analysis with R (combined slides)
Data Analysis with R (combined slides)Data Analysis with R (combined slides)
Data Analysis with R (combined slides)
Ā 
Unitiii mcq
Unitiii mcqUnitiii mcq
Unitiii mcq
Ā 
Backtracking
BacktrackingBacktracking
Backtracking
Ā 
Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation Algorithms
Ā 
Knapsack problem dynamicprogramming
Knapsack problem dynamicprogrammingKnapsack problem dynamicprogramming
Knapsack problem dynamicprogramming
Ā 
0015.register allocation-graph-coloring
0015.register allocation-graph-coloring0015.register allocation-graph-coloring
0015.register allocation-graph-coloring
Ā 
Step By Step Guide to Learn R
Step By Step Guide to Learn RStep By Step Guide to Learn R
Step By Step Guide to Learn R
Ā 
Big o notation
Big o notationBig o notation
Big o notation
Ā 
Fractional Knapsack Problem
Fractional Knapsack ProblemFractional Knapsack Problem
Fractional Knapsack Problem
Ā 
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"
Digests for the book "Scalability Rules: 50 Principles for Scaling Web Sites"
Ā 
C multiple choice questions and answers pdf
C multiple choice questions and answers pdfC multiple choice questions and answers pdf
C multiple choice questions and answers pdf
Ā 
Introduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksIntroduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter Notebooks
Ā 
greedy algorithm Fractional Knapsack
greedy algorithmFractional Knapsack greedy algorithmFractional Knapsack
greedy algorithm Fractional Knapsack
Ā 
Greedy Algorithms
Greedy AlgorithmsGreedy Algorithms
Greedy Algorithms
Ā 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
Ā 
NumPy/SciPy Statistics
NumPy/SciPy StatisticsNumPy/SciPy Statistics
NumPy/SciPy Statistics
Ā 

Similar to Stats chapter 10

Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec domsBabasab Patil
Ā 
Chapter09
Chapter09Chapter09
Chapter09rwmiller
Ā 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval EstimationShubham Mehta
Ā 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.pptbutest
Ā 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.pptbutest
Ā 
Lesson04_Static11
Lesson04_Static11Lesson04_Static11
Lesson04_Static11thangv
Ā 
Mca admission in india
Mca admission in indiaMca admission in india
Mca admission in indiaEdhole.com
Ā 
Chapter 8
Chapter 8Chapter 8
Chapter 8MaryWall14
Ā 
Lesson04_new
Lesson04_newLesson04_new
Lesson04_newshengvn
Ā 
Bca admission in india
Bca admission in indiaBca admission in india
Bca admission in indiaEdhole.com
Ā 
Confidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxConfidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxmaxinesmith73660
Ā 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalRavindra Nath Shukla
Ā 
Business Statistics Chapter 8
Business Statistics Chapter 8Business Statistics Chapter 8
Business Statistics Chapter 8Lux PP
Ā 
Lecture-3 inferential stastistics.ppt
Lecture-3 inferential stastistics.pptLecture-3 inferential stastistics.ppt
Lecture-3 inferential stastistics.pptfantahungedamu
Ā 
Section 7 Analyzing our Marketing Test, Survey Results .docx
Section 7 Analyzing our Marketing Test, Survey Results .docxSection 7 Analyzing our Marketing Test, Survey Results .docx
Section 7 Analyzing our Marketing Test, Survey Results .docxkenjordan97598
Ā 

Similar to Stats chapter 10 (20)

Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec doms
Ā 
Chapter09
Chapter09Chapter09
Chapter09
Ā 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
Ā 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
Ā 
Chapter10 Revised
Chapter10 RevisedChapter10 Revised
Chapter10 Revised
Ā 
Point and Interval Estimation
Point and Interval EstimationPoint and Interval Estimation
Point and Interval Estimation
Ā 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
Ā 
MLlectureMethod.ppt
MLlectureMethod.pptMLlectureMethod.ppt
MLlectureMethod.ppt
Ā 
Lesson04_Static11
Lesson04_Static11Lesson04_Static11
Lesson04_Static11
Ā 
Mca admission in india
Mca admission in indiaMca admission in india
Mca admission in india
Ā 
Chapter 8
Chapter 8Chapter 8
Chapter 8
Ā 
Stats chapter 9
Stats chapter 9Stats chapter 9
Stats chapter 9
Ā 
Lesson04_new
Lesson04_newLesson04_new
Lesson04_new
Ā 
Bca admission in india
Bca admission in indiaBca admission in india
Bca admission in india
Ā 
Confidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docxConfidence Interval ModuleOne of the key concepts of statist.docx
Confidence Interval ModuleOne of the key concepts of statist.docx
Ā 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence Interval
Ā 
Business Statistics Chapter 8
Business Statistics Chapter 8Business Statistics Chapter 8
Business Statistics Chapter 8
Ā 
Lecture-3 inferential stastistics.ppt
Lecture-3 inferential stastistics.pptLecture-3 inferential stastistics.ppt
Lecture-3 inferential stastistics.ppt
Ā 
Section 7 Analyzing our Marketing Test, Survey Results .docx
Section 7 Analyzing our Marketing Test, Survey Results .docxSection 7 Analyzing our Marketing Test, Survey Results .docx
Section 7 Analyzing our Marketing Test, Survey Results .docx
Ā 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
Ā 

More from Richard Ferreria (20)

Chapter6
Chapter6Chapter6
Chapter6
Ā 
Chapter2
Chapter2Chapter2
Chapter2
Ā 
Chapter3
Chapter3Chapter3
Chapter3
Ā 
Chapter8
Chapter8Chapter8
Chapter8
Ā 
Chapter1
Chapter1Chapter1
Chapter1
Ā 
Chapter4
Chapter4Chapter4
Chapter4
Ā 
Chapter7
Chapter7Chapter7
Chapter7
Ā 
Chapter5
Chapter5Chapter5
Chapter5
Ā 
Chapter9
Chapter9Chapter9
Chapter9
Ā 
Chapter14
Chapter14Chapter14
Chapter14
Ā 
Chapter15
Chapter15Chapter15
Chapter15
Ā 
Chapter11
Chapter11Chapter11
Chapter11
Ā 
Chapter12
Chapter12Chapter12
Chapter12
Ā 
Chapter10
Chapter10Chapter10
Chapter10
Ā 
Chapter13
Chapter13Chapter13
Chapter13
Ā 
Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)Adding grades to your google site v2 (dropbox)
Adding grades to your google site v2 (dropbox)
Ā 
Stats chapter 14
Stats chapter 14Stats chapter 14
Stats chapter 14
Ā 
Stats chapter 15
Stats chapter 15Stats chapter 15
Stats chapter 15
Ā 
Stats chapter 13
Stats chapter 13Stats chapter 13
Stats chapter 13
Ā 
Stats chapter 12
Stats chapter 12Stats chapter 12
Stats chapter 12
Ā 

Recently uploaded

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜RTylerCroy
Ā 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
Ā 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
Ā 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
Ā 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
Ā 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
Ā 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
Ā 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
Ā 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
Ā 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
Ā 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
Ā 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
Ā 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Ā 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Ā 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Ā 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Ā 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Ā 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Ā 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
Ā 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Ā 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Ā 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Ā 

Stats chapter 10

  • 1. Chapter 10 Estimating with Confidence
  • 3. Definitions Statistical Inference The method of drawing conclusions about a population based on a sample The last Major Topic for this last statistics course The mindset: we are looking at data that comes from a random sample (or an experiment) and inferring characteristics of the population
  • 4. The Basic Plan In the absence of other data, the sample estimate is the estimate of the parameter We would like an interval estimation State the parameter that is being estimated Check to see if the data can be Normalized Compute the interval using area under the Normal curve Write a nice conclusion
  • 5. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05)
  • 6. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Confidence Level C
  • 7. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Confidence Interval (CI)
  • 8. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) Lower Bound Upper Bound
  • 9. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08
  • 10. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Confidence Level C
  • 11. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Confidence Interval (CI)
  • 12. What does an interval estimation look like? EX1We are 95% confident the mean is in the interval (9.11, 12.05) EX2We are 90% confident that the proportion that support this law is 0.74 Ā± 0.08 Margin of Error (ME) Point Estimate
  • 13. Confidence Level The value of the parameter is fixed before we start our sampling Either the parameter is ā€˜inā€™ our interval or itā€™s not. There is no probability involved here ā€œThere is a 95% probability the parameter is in the intervalā€
  • 14. Confidence Level The value of the parameter is fixed before we start our sampling Either the parameter is ā€˜inā€™ our interval or itā€™s not. There is no probability involved here ā€œThere is a 95% probability the parameter is in the intervalā€ F A I L
  • 15. Confidence Level Remember that our sample is just one of many samples that could have been taken If good sampling technique is used, 95% (for example) of the samples would contain the parameter We just donā€™t know if our sample is part of the 95% or the 5%
  • 16. Confidence Level Interpretation of ā€œ90% Confidence Levelā€ ā€œWe are 90% confident that our CI contains the value of the parameterā€ ā€œ90% of CIā€™s computed with this technique will contain the parameterā€ ā€œThere is a 90% probability our CI contains the parameterā€ WRONG INTERPRETATION
  • 17. Confidence Level Interpretation of ā€œ90% Confidence Levelā€ ā€œWe are 90% confident that our CI contains the value of the parameterā€ ā€œ90% of CIā€™s computed with this technique will contain the parameterā€ ā€œThere is a 90% probability our CI contains the parameterā€ WRONG INTERPRETATION
  • 18. PANIC When constructing Confidence Intervals for the AP test, there is a definite checklist that readers look for Use the acronym P.A.N.I.C. to help memorize the steps to construction a confidence interval P = state the Parameter A = check that Assumptions are satisfied N = state is the Name of the interval I = compute numerical values of the Interval C = write a Conclusion for your findings
  • 19. PANIC for Means We are going to start with Means, weā€™ll save proportions for later Parameterdefine what ļ­ measuresdefine what x-bar measures ā€œļ­ = mean length of all Great White Sharksā€˜ flukes x-bar = mean length the Great White Shark flukes in our sample of 35 sharksā€
  • 20. Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence)
  • 21. Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence) This is a condition that must be met since we are sampling without replacement and our formula for std dev needs to hold true
  • 22. Assumptions for CIā€™s of Mean SRS- the data must have come from an SRS Independence- the population size must be more than 10 times the sampleN> 10n (Independence) The sampling Distribution is approximately Normal (Normality)
  • 23. More on Normality We are looking for justification that the sampling distribution is Normal If the population is Normal, then the samp dist is also Normal If n> 30 and the sample data is not given, state ā€œThe Central Limit Theorem guarantees that the sampling distribution is Normalā€ For smaller samples, check the following:(1) the Histogram is single peak, symmetric with no outliers(2) the Normal Probability Plot is approx Linear
  • 24. Name of the Interval Currently, the only Interval we will worry about is ā€œz-interval for sample meansā€ This will always be the name of the distribution used
  • 27. Confidence Interval Computation Standard Error Always the std dev of the sampling distribution Critical Value -from the Normal (z) distribution
  • 28. Critical Value The area between ā€“z* and +z* = Confidence Level Because they are used frequently, there is a shorthand method in table C The last row gives different confidence levels Keep critical values to 3 decimal places The row above the CL row has the z* In the AP test, they will call this zļ‚„
  • 29. A General z* curve
  • 30. z* for a 80% CL
  • 31. Computing a CI Letā€™s compute the 95% CI for a sample of 35, with a mean of 5.38 and a population std dev ļ³=0.74 (1) locate the critical value z* = 1.960 (2) Compute S.E. and M.E. SE = 0.74/ļƒ–(35) = 0.1251ME = (1.960)(0.1251) = 0.2452
  • 32. Computing a CI State the CIļ­ = 5.38 Ā± 0.25 Interval estimate:(5.13, 5.63) Notice that the point estimate is the average of the upper and lower bounds
  • 33. Conclusions We are 95% confident that the mean length of a great white shark fluke is 5.38 Ā± 0.25 ft. OR We are 95% confident that the mean length of all great white shark flukes is in the interval (5.13 ft, 5.63 ft).
  • 35. Calculators TI83/TI84 Your TI is very efficient for finding these intervals! This doesnā€™t excuse you from the mathematics, of course. [stat] -> ā€œTESTSā€ -> ā€œZintervalā€ Inpt: ā€œStatsā€ (if your data is in L1, you can use ā€œDataā€ Enter values for ļ³, x-bar, n, and C-Level. Viola!
  • 36. Calculators TI89 Run the ā€œStats/List Editorā€ APP [2nd] -> [F2] (F7) -> ā€œZintervalā€ Input Method = ā€œStatsā€Choose Data if all the observations are in a List Enter values for ļ³, x-bar, n, and C-Level. Viola!
  • 37. Behavior of Margin of Error ME = z* (ļ³/ļƒ–n) In practice, we would like to minimize ME. (1) decrease z* This also means decrease our CL! (2) increase nthis is usually a trade off, since obtaining large samples could be more expensive/time consuming (3) decrease ļ³Not really an option. ļ³ is a known quantity.
  • 38. Sample Size By using algebra, we can get a formula to compute minimum sample size for a given ME You should always round the sample size up in this calculation Note: ME is produced by sampling variability, it has nothing to do with ā€œsloppy workā€
  • 39. 10.2 Estimating a Population Mean
  • 40. Studentā€™s t-distribution The confidence intervals computed in the previous section assumed that we knew ļ³. It doesnā€™t seem likely that we would know ļ³ and not know the value of ļ­ When ļ³ is unknown, we can no longer use the Normal distribution
  • 41. Studentā€™s t-distribution The t-distribution is to be used when ļ³ is unknown. The t-distribution is very similar to the Normal distribution with a key difference The shape of the distribution changes based upon the sample size/degrees of freedom (df) Large samples have a tall peak and thinner tails Small samples have a small peak and thicker tails.
  • 43. Using the t-distribution The CI is found using PANIC The Assumptions are the same as a z-interval Since sample sizes tend to be small, you will most likely need to check the histogram (symmetric, no outliers) and Normal prob plot (approx linear) We cannot use the t-distribution when there are outliers! The Name of the interval is ā€œ1-sample t-interval for meanā€
  • 44. Using the t-distribution Interval is computed with df = n ā€“ 1 t* is from table C or your calculator s is the sampleā€™s standard deviation Uses the sample std dev to approximate ļ³
  • 46. Upper Tail Area This is the Upper Tail Area
  • 48. Using the t-distribution Using TI84 [2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€
  • 49. Using the t-distribution Using TI84 [2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€
  • 50. Using the t-distribution Using TI84 [2nd] -> [vars](DIST) -> ā€œinvTā€ ā€œinvT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œāˆ’invT(Upper Tail Area, df)ā€ Donā€™t forget the negative!
  • 52. Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€
  • 53. Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€
  • 54. Using the t-distribution Using TI89 From home screen: [catalog] -> [F3](FlashApps) -> inv_tā€¦TIStat ā€œtistat.invT(1-Upper Tail Area, df)ā€ Where ā€œUpper Tail Areaā€ = (1-CL)/2 This is the area to the left of the right crit. Value. ALTERNATIVELY, you may useā€œ-tistat.invT(Upper Tail Area, df)ā€ Donā€™t forget the negative!
  • 55. Using the t-distribution ALTERNATIVE TI89 titanium [APPS] -> ā€œStat/List Editorā€ -> [F5] (distrib) -> ā€œInverseā€ -> ā€œInverse tā€¦ā€ ā€œArea: 1- Upper Tailā€ Upper Tail = (1 ā€“ CL)/2 ā€œdegrees of freedom, df: dfā€ This takes longer to get to, but the menu ā€œguidesā€ you through
  • 56. Table C Occasionally, you will need to fine the t* for a df that does not appear in the chart. When this happens, you are to use the nearest greatest df in the same column This usually means ā€œuse the t* that is in the line above where the desired t* should beā€
  • 57. Example: 1 sample t-interval Problem 10.30 The amount of Vitamin C (mg/100g) in CSB for a random sample of 8 are given as: 26, 31, 23, 22, 11, 22, 14, 31 Construct a 95% Confidence interval for the amount of vitamin C in CSB.
  • 58. Example: 1 sample t-interval Parameter ļ­ = the mean amount of vitamin C in CSB produced at the factory x-bar = the mean amount of vitamin C in a sample n = 8
  • 59. Example: 1 sample t-interval Assumptions SRS ā€˜Our problem states that we have a random sampleā€™ Independence ā€˜10n = 80 < N; we can infer that more than 80 CSB is produced in the factoryā€™
  • 60. Example: 1 sample t-interval Assumptions Normality ā€˜The histogram is symmetric w/ no outliersā€™ ā€˜The Norm Prob Plot is approx linearā€™ ā€˜We have good evidence that our sampling distribution is approximately Normalā€™ x 10 15 20 25 30 35 Norm Prob Plot Histogram z
  • 61. Example: 1 sample t-interval Name of Interval ā€˜We will compute a 1-sample t-interval for a meanā€™
  • 62. Example: 1 sample t-interval Name of Interval ā€˜We will compute a 1-sample t-interval for a meanā€™ Interval Calculation
  • 63. Example: 1 sample t-interval Name of Interval ā€˜We will compute a 1-sample t-interval for a meanā€™ Interval Calculation Conclusion ā€˜We are 95% confident that the mean amount of vitamin C in a unit of CSB produced in the factory is between 16.487 and 28.513 mg/100 gā€™
  • 64. 10.3 Estimating a population Proportion
  • 65. Estimating a Proportion Like with means, we are going to estimate the population proportion based on the proportion in a sample x = # of positive responsesn = total number of responses We will again use the PANIC procedures Note: nothing is averaged. We are not looking at the average proportion from many samples
  • 66. Parameter Some typical parameters: ā€˜p = prop of people in CA who support the proposition p-hat = proportion of people in a sample n = 35 who support the propositionā€™ ā€˜p = prop of students at THS who ride the bus p-hat = propotion of students in a sample (n = 14) from THS who ride the bus
  • 67. Assumptions Simple Random Sample SRS must be either stated or inferred Independencebecause you are usually sampling without replacement:N> 10n NormalitynĀ·p-hat > 10nĀ·q-hat > 10
  • 68. Name of the Interval ā€œ1-proportion z intervalā€ Unlike for means, you will always use the Normal curve when dealing with proportions!
  • 69. Interval Calculation z* is calculated as before Use table C OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section
  • 70. Interval Calculation z* is calculated as before Use table C OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section Margin of Error (ME)
  • 71. Interval Calculation z* is calculated as before Use table C OR ā€œ āˆ’ invNorm( (1 ā€“ C) /2 )ā€This calculation is similar to the calculations for the last section Standard Error(SE)
  • 72. Conclusion Some Examples: We are 90% confident that the proportion of voters in CA who support the proposition is 0.34 Ā± 0.03 We are 95% confident that the proportion of students at THS who ride this bus is in the interval (0.39, 0.44)
  • 73. Sample Size The relevant formula (from ME) for the sample size is: p* and q* are guessed values of the proportion If there is no previous data or study, use p* = q* = 0.5 (this will maximize the error and sample size) As before, you are to round the sample size up to the nearest integer
  • 75. TI83/84 [stat] -> ā€œTESTā€ -> ā€œ1-PropZIntā€ ā€œx: number of successesā€ this can be computed with ā€œp-hat x nā€ ā€œn: number of people in sampleā€ ā€œC-Level : confidence levelā€ ā€œCalculateā€ and you are done You still need to fully write up ā€œPANICā€ procedures
  • 76. TI 89
  • 77. TI 89 [APPS] -> ā€œStat/List Editorā€ [2nd] -> [F2](F7) -> ā€œ1-PropZIntā€ ā€œSuccesses x: # of successesā€ ā€œn: number of people in sampleā€ ā€œC-Level : confidence levelā€ ā€œCalculateā€ and you are done You still need to fully write up ā€œPANICā€ procedures
  • 78. Example 1-PropZInt The 2004 Gallup Youth Survey asked a random sample of 439 US teens aged 13 to 17 whether they though young people should wait to have sex until marriage. 246 sad ā€œyes.ā€ Letā€™s construct a 95% confidence interval for the proportion of all teens who would say ā€œYesā€
  • 79. Parameter p = the proportion of all teens in the US aged 13-17 who would answer ā€œYesā€ to the survey p-hat = the proportion of teens in the survey of 439 who answered ā€œYesā€ to the survey
  • 80. Assumptions SRS: We are told in the problem that the survey was random sample. Independence: there are than 10(439) = 4390 teens aged 13-17 in the US Normalityn x p-hat = 246, n x q-hat = 193The sampling distribution is approx. Normal (Note that this is just #successes and #failures)
  • 81. Name of Interval We are constructing a ā€œ1 proportion Z intervalā€
  • 83. Conclusion ā€œWe are 95% confident that the true proportion of 13-17 year olds who would answer ā€œyesā€ when asked if young people should wait to have sex until they are married is between 0.514 and 0.606.ā€