SlideShare a Scribd company logo
1 of 10
Week 5
MODULE 3 Inferential statistics. Hypothesis or significance tests in chemistry
L 5. Sampling and the Central Limit Theorem. Confidence intervals for
population mean and variance.
1
PC 5. Practical applications for confidence intervals calculations in analytical
chemistry. Testing accuracy for analytical methods using certified reference
material.
2 10
L 6. Hypothesis testing and statistical tests. Parametrical statistical tests for
single samples.
1
PC 6. One sample z and t tests. 2 15
IWST 3. Exercises and problems regarding confidence intervals and t tests
L 7. Statistical tests for two samples or treatments. F-test, t-test, paired t-test 1
PC 7. Exercises and practical problems involving t-test, paired t-test in Excel. 2 10
IWS 2. Individual work with exercises and problems regarding inferential
statistics
20
Midterm control 1 100
Learning resources:
1. Stephen Kokoska,
Introductory Statistics: A
Problem-Solving
Approach, Publisher: WH
Freeman; 3rd edition
chapter 7, 8
2. James Miller, Jane Miller,
Robert Miller, Statistics
and Chemometrics for
Analytical Chemistry,
Publisher: Pearson
Education; 7th edition,
chapter 2
Sampling. Central limit theorem.
Theorem: Let a population whose distribution is
normal or not, with the mean μ and variance σ2, from
which k samples are drawn each containing n
independent measurements (k series of ni random
measurements), then, for a sufficiently large n, the
new random variable 𝑥 has a normal distribution with
mean μ and variance σ2/n.
1. 𝑥 → μ (sample mean 𝑥 tends towards the true population mean
μ)
2. σ𝑥 →
σ𝑥
𝑛
- standard error of the mean (sample standard
deviation decrease with 𝑛 and precision increase as n
increase.
3. If the sampling population is normal, or approximately normal,
the new random variable 𝑥 has a normal distribution and even
for a n sampling volume smaller.
4. If we work with high-volume samples (n high), we can use the
normal distribution, even if the population from which we sample
is not normal.
Consequences:
Descriptive
statistics
Inferential
statistics
Population
(Parameters – μ, σ)
Sample
(Statistics – , )
Probability
Sampling
Inference
population
distribution
Example:
Suppose salaries at a very large company average
$62,000 and a standard deviation of $32,000.
a. What is the probability that a randomly selected
employee will have a salary of at least 66000?
p(x>66000$)=?
b. What is the probability that 100 randomly selected
employees will have an average salary of at least
66,000? p(x
̅ >66000$)=?
n=50
Three different original, or underlying, populations, and approximations to th
distribution of the sample mean for various sample sizes n.
α - significance level (e.g. 10% or 0.1; 5% or 0.05; 1% or 0.01)
1 – α - probability of confidence, confidence level (e.g.: 0.9 or 90%; 0.95 or 95%; 0.99 or
99%)
One-sided confidence
interval
Two-sided confidence interval
(1 –
α)
(1 –
α)
(1 –
α)
α α
α/2
α/2
z zα
zα/2
-z
Confidence interval of the mean (measurement uncertainty)
A confidence interval (CI) for a population parameter is an interval of values constructed so that, with a specified
degree of confidence, the value of the population parameter lies within it.
(x - ε) < μ < (x + ε)
(x - ε) (x + ε)
μ is i this i terval
x
Confidence zone
Critical area
Critical area
A. Confidence interval of the mean 𝝁 when σ is known or n > 30 (less often in practice)
Example: A study investigated the 2D/4D ratio of
European women at a large university. A sample of
135 women resulted in an average 2D/4D ratio of
0.988. Knowing σ = 0.028, what is the confidence
interval of the population mean, with a probability of
95%? But with a 99% probability?
R: 0.988±0.005 and 0.988±0.006 respectively
• A sample is drawn from a population and n measurements are made
• The sample mean 𝒙 is calculated and according to the Central Limit Theorem: 𝑋~𝑁(μ, σ
𝑛
). But σ is known and
since it is population parameter, it is constant.
• We know the z variable, 𝑧~𝑁(1, 0), 𝑧 =
𝑥−μ
σ
𝑛
• We choose the confidence level, 1 – α that we wa t to use, or the sig ifica ce level α.
𝑝 −𝑧𝛼/2 < 𝑧 < 𝑧𝛼/2 = 1 − 𝛼, 𝑡ℎ𝑢𝑠, −𝑧𝛼
2
<
𝑥−𝜇
𝜎
𝑛
< 𝑧𝛼
2
𝑤ℎ𝑖𝑐ℎ 𝑐𝑎𝑛 𝑏𝑒 𝑤𝑟𝑖𝑡𝑡𝑒𝑛: 𝑥 − 𝑧𝛼
2
∗
𝜎
𝑛
<μ < 𝑥 + 𝑧𝛼
2
∗
𝜎
𝑛
, so
• With 1 – α probability, 𝑥 ∓ 𝑧𝛼/2 ×
𝜎
𝑛
B. Confidence interval of the mean 𝝁 when σ is unknown and/or n < 30
R: 795,3±16,5 g respectiv
795,3±24,9 g
z
tα/2,ν
α/2
Example: A grain producer produces packages of cereals
with a declared mass of 750 g. From one batch, 7
packages were weighed, leading to an average of 795.3 g
and s = 17.8 g. What is the confidence interval of the
average, with a probability of 95%? But with a 99%
probability?
Standard normal distribution
t with 6 degrees of freedom
• A sample is drawn from a population and n measurements are made
• The sample mean 𝒙 and sample standard deviation s are calculated
• We know the t variable, t~𝑡ν (1, 0),t =
𝑥−μ
𝑠
𝑛
𝑤ℎ𝑖𝑐ℎ ℎ𝑎𝑠 𝑎 𝑡 𝑑𝑖𝑠𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛 𝑤𝑖𝑡ℎ ν = 𝑛 − 1 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚
• We choose the confidence level, 1 – α that we wa t to use, or the sig ifica ce level α.
𝑝 −𝑡𝛼/2,ν < 𝑡 < 𝑡𝛼/2,ν = 1 − 𝛼, 𝑡ℎ𝑢𝑠, −𝑡𝛼
2
,𝜈 <
𝑥−𝜇
𝑠
𝑛
< 𝑡𝛼
2
,𝜈 𝑤ℎ𝑖𝑐ℎ 𝑐𝑎𝑛 𝑏𝑒 𝑤𝑟𝑖𝑡𝑡𝑒𝑛: 𝑥 − 𝑡𝛼
2
,ν ∗
𝜎
𝑛
<μ < 𝑥 − 𝑡𝛼
2
,ν ∗
𝜎
𝑛
, so
• With 1 – α probability, 𝑥 ∓ 𝑡𝛼/2,ν ×
𝑠
𝑛
Confidence interval of the variance 𝝈𝟐
The confidence interval of variance, at a level of significance α: with a probability of 1- α, the variance σ2 is within the range:
P1. The blood concentration of lead was measured for 50 children at a school near a large intersection with high
circulation. The mean Pb concentration of this sample was 10.12 ng/mL and standard deviation 0.64 ng/mL.
a. Calculate the confidence interval for the average concentration of Pb in the blood for the whole school at a
probability of 95%.
b. How large would the sample have to be to have a confidence interval of 0.20 ng/mL (±0.10 ng/mL) at a
probability of 95%?
P2. Seven measurements for the pH of a buffer solution yielded the following results: 5.12; 5.20; 5.15; 5.17; 5.16;
5.19; 5.15. Calculate the confidence interval of the mean at a probability of 95%.
P3. A spectrophotometer is checked at a given wavelength with a standard solution having a true absorbance value of
0.470. Ten independent measurements yielded the following values: 0.465; 0.463; 0.456; 0.459; 0.461; 0.465; 0.462;
0.457; 0.461; 0.461. Calculate the confidence interval of the mean absorbance and decide with 95% probability
whether the spectrophotometer commits systematic errors. (Nargiz must send it to me and is optional for the others)
Applications
IWS for week 5 (homework) to be submitted until 6th of November 2023 17:00 Almaty local time.
P1. Many lakes are carefully monitored for pH concentration, total phosphorus, chlorophyll, nitrogen, and
total suspended solids. These data are used to characterize the condition of the lake and to chart year-to-year
variability. Based on information from the Lake Partner Program, Ontario Ministry of the Environment,
Aberdeen Lake has a mean total phosphorus concentration of 14.6 mg/liter and standard deviation 5.8
mg/liter. Suppose a day is selected at random, and a total phosphorus measure from Aberdeen Lake is
obtained.
a. What is the probability that the total phosphorus is less than 13 mg/liter?
b. What is the probability that the total phosphorus differs from the mean by more than 5 mg/liter?
P4. Ten Hg concentration measurements in a commercial sample of liquefied gas yielded the following
results: 23.3; 22.5; 21.9; 21.5; 19.9; 21.3; 21.7; 23.8; 22.6; 24.7 ng/mL. Calculate the confidence interval of
the average at a probability of 99%.
P5. A solution of 0.1 M monoprotic acid was used to titrate 10 mL of monobasic alkaline solution of 0.1 M
concentration. Five successive measurements yielded values: 9.88; 10.18; 10.23; 10.39; 10.21 mL.
Calculate the confidence interval of the average and decide, with a probability of 95%, whether it is
evidence for a systematic error.
5 points
(for last
week)
3 points
3 points

More Related Content

Similar to week 5.pptx

Statistik Chapter 6
Statistik Chapter 6Statistik Chapter 6
Statistik Chapter 6WanBK Leo
 
2_5332511410507220042.ppt
2_5332511410507220042.ppt2_5332511410507220042.ppt
2_5332511410507220042.pptnedalalazzwy
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppttyagikanishka10
 
Montgomery
Montgomery Montgomery
Montgomery bazz8
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptParulSingal3
 
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...harlene9
 
Running head COURSE PROJECT NCLEX Memorial Hospital .docx
Running head COURSE PROJECT NCLEX Memorial Hospital             .docxRunning head COURSE PROJECT NCLEX Memorial Hospital             .docx
Running head COURSE PROJECT NCLEX Memorial Hospital .docxsusanschei
 
GROUP 1 biostatistics ,sample size and epid.pptx
GROUP 1 biostatistics ,sample size and epid.pptxGROUP 1 biostatistics ,sample size and epid.pptx
GROUP 1 biostatistics ,sample size and epid.pptxEmma910932
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciSelvin Hadi
 
1 lab basicstatisticsfall2013
1 lab basicstatisticsfall20131 lab basicstatisticsfall2013
1 lab basicstatisticsfall2013TAMUK
 
samplesizecalculations-1801190731542.ppt
samplesizecalculations-1801190731542.pptsamplesizecalculations-1801190731542.ppt
samplesizecalculations-1801190731542.ppttyagikanishka10
 

Similar to week 5.pptx (20)

Statistik Chapter 6
Statistik Chapter 6Statistik Chapter 6
Statistik Chapter 6
 
2_5332511410507220042.ppt
2_5332511410507220042.ppt2_5332511410507220042.ppt
2_5332511410507220042.ppt
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppt
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
Sample and effect size
Sample and effect sizeSample and effect size
Sample and effect size
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
Sampling
SamplingSampling
Sampling
 
Montgomery
Montgomery Montgomery
Montgomery
 
6. point and interval estimation
6. point and interval estimation6. point and interval estimation
6. point and interval estimation
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.ppt
 
Estimating a Population Proportion
Estimating a Population Proportion  Estimating a Population Proportion
Estimating a Population Proportion
 
Sampling distributions
Sampling distributionsSampling distributions
Sampling distributions
 
LR 9 Estimation.pdf
LR 9 Estimation.pdfLR 9 Estimation.pdf
LR 9 Estimation.pdf
 
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...
PSUnit_III_Lesson_2_Finding_the_Mean _and_Variance_of_the_Sampling_Distributi...
 
Running head COURSE PROJECT NCLEX Memorial Hospital .docx
Running head COURSE PROJECT NCLEX Memorial Hospital             .docxRunning head COURSE PROJECT NCLEX Memorial Hospital             .docx
Running head COURSE PROJECT NCLEX Memorial Hospital .docx
 
GROUP 1 biostatistics ,sample size and epid.pptx
GROUP 1 biostatistics ,sample size and epid.pptxGROUP 1 biostatistics ,sample size and epid.pptx
GROUP 1 biostatistics ,sample size and epid.pptx
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ci
 
1 lab basicstatisticsfall2013
1 lab basicstatisticsfall20131 lab basicstatisticsfall2013
1 lab basicstatisticsfall2013
 
samplesizecalculations-1801190731542.ppt
samplesizecalculations-1801190731542.pptsamplesizecalculations-1801190731542.ppt
samplesizecalculations-1801190731542.ppt
 
Estimating a Population Proportion
Estimating a Population ProportionEstimating a Population Proportion
Estimating a Population Proportion
 

More from RezaJoia

Statistical analysis information about PCA or principles component analysis a...
Statistical analysis information about PCA or principles component analysis a...Statistical analysis information about PCA or principles component analysis a...
Statistical analysis information about PCA or principles component analysis a...RezaJoia
 
Application of ELISA in food analysis.pptx
Application of ELISA in food analysis.pptxApplication of ELISA in food analysis.pptx
Application of ELISA in food analysis.pptxRezaJoia
 
biosensors in food analysis.pptx
biosensors in food analysis.pptxbiosensors in food analysis.pptx
biosensors in food analysis.pptxRezaJoia
 
determination of Acrylamide.pptx
determination of Acrylamide.pptxdetermination of Acrylamide.pptx
determination of Acrylamide.pptxRezaJoia
 
Lecture 2.pdf
Lecture 2.pdfLecture 2.pdf
Lecture 2.pdfRezaJoia
 
شعشع_جسم_سياه.pptx
شعشع_جسم_سياه.pptxشعشع_جسم_سياه.pptx
شعشع_جسم_سياه.pptxRezaJoia
 
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptxRezaJoia
 
1606732404-atomic-absorption-emission-2.ppt
1606732404-atomic-absorption-emission-2.ppt1606732404-atomic-absorption-emission-2.ppt
1606732404-atomic-absorption-emission-2.pptRezaJoia
 
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptx
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptxc915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptx
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptxRezaJoia
 
Lecture 8 managing cultural differences.pptx
Lecture 8 managing cultural differences.pptxLecture 8 managing cultural differences.pptx
Lecture 8 managing cultural differences.pptxRezaJoia
 
F1-Webster.pptx
F1-Webster.pptxF1-Webster.pptx
F1-Webster.pptxRezaJoia
 
بروشور پوهنحی تعلیم و تربیه .pdf
بروشور پوهنحی تعلیم و تربیه .pdfبروشور پوهنحی تعلیم و تربیه .pdf
بروشور پوهنحی تعلیم و تربیه .pdfRezaJoia
 
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdf
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdframanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdf
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdfRezaJoia
 
Lecture 2 - Literature Research 2023.pdf
Lecture 2 - Literature Research 2023.pdfLecture 2 - Literature Research 2023.pdf
Lecture 2 - Literature Research 2023.pdfRezaJoia
 
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...RezaJoia
 

More from RezaJoia (15)

Statistical analysis information about PCA or principles component analysis a...
Statistical analysis information about PCA or principles component analysis a...Statistical analysis information about PCA or principles component analysis a...
Statistical analysis information about PCA or principles component analysis a...
 
Application of ELISA in food analysis.pptx
Application of ELISA in food analysis.pptxApplication of ELISA in food analysis.pptx
Application of ELISA in food analysis.pptx
 
biosensors in food analysis.pptx
biosensors in food analysis.pptxbiosensors in food analysis.pptx
biosensors in food analysis.pptx
 
determination of Acrylamide.pptx
determination of Acrylamide.pptxdetermination of Acrylamide.pptx
determination of Acrylamide.pptx
 
Lecture 2.pdf
Lecture 2.pdfLecture 2.pdf
Lecture 2.pdf
 
شعشع_جسم_سياه.pptx
شعشع_جسم_سياه.pptxشعشع_جسم_سياه.pptx
شعشع_جسم_سياه.pptx
 
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx
5991-6593_Agilent_Atomic Spectroscopy_Hardware_EN.pptx
 
1606732404-atomic-absorption-emission-2.ppt
1606732404-atomic-absorption-emission-2.ppt1606732404-atomic-absorption-emission-2.ppt
1606732404-atomic-absorption-emission-2.ppt
 
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptx
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptxc915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptx
c915592f15f964456da34422a765551d4ca7d129e2d2a14b7cb4ced0bbc03e6b.pptx
 
Lecture 8 managing cultural differences.pptx
Lecture 8 managing cultural differences.pptxLecture 8 managing cultural differences.pptx
Lecture 8 managing cultural differences.pptx
 
F1-Webster.pptx
F1-Webster.pptxF1-Webster.pptx
F1-Webster.pptx
 
بروشور پوهنحی تعلیم و تربیه .pdf
بروشور پوهنحی تعلیم و تربیه .pdfبروشور پوهنحی تعلیم و تربیه .pdf
بروشور پوهنحی تعلیم و تربیه .pdf
 
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdf
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdframanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdf
ramanspectroscpypresentationbyzakiaafzal-150525070834-lva1-app6891.pdf
 
Lecture 2 - Literature Research 2023.pdf
Lecture 2 - Literature Research 2023.pdfLecture 2 - Literature Research 2023.pdf
Lecture 2 - Literature Research 2023.pdf
 
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...
basic_organic_chemistry_and_mechanisms_revision_from_m_wills_for_when_you_are...
 

Recently uploaded

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 

Recently uploaded (20)

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

week 5.pptx

  • 2. MODULE 3 Inferential statistics. Hypothesis or significance tests in chemistry L 5. Sampling and the Central Limit Theorem. Confidence intervals for population mean and variance. 1 PC 5. Practical applications for confidence intervals calculations in analytical chemistry. Testing accuracy for analytical methods using certified reference material. 2 10 L 6. Hypothesis testing and statistical tests. Parametrical statistical tests for single samples. 1 PC 6. One sample z and t tests. 2 15 IWST 3. Exercises and problems regarding confidence intervals and t tests L 7. Statistical tests for two samples or treatments. F-test, t-test, paired t-test 1 PC 7. Exercises and practical problems involving t-test, paired t-test in Excel. 2 10 IWS 2. Individual work with exercises and problems regarding inferential statistics 20 Midterm control 1 100 Learning resources: 1. Stephen Kokoska, Introductory Statistics: A Problem-Solving Approach, Publisher: WH Freeman; 3rd edition chapter 7, 8 2. James Miller, Jane Miller, Robert Miller, Statistics and Chemometrics for Analytical Chemistry, Publisher: Pearson Education; 7th edition, chapter 2
  • 3. Sampling. Central limit theorem. Theorem: Let a population whose distribution is normal or not, with the mean μ and variance σ2, from which k samples are drawn each containing n independent measurements (k series of ni random measurements), then, for a sufficiently large n, the new random variable 𝑥 has a normal distribution with mean μ and variance σ2/n. 1. 𝑥 → μ (sample mean 𝑥 tends towards the true population mean μ) 2. σ𝑥 → σ𝑥 𝑛 - standard error of the mean (sample standard deviation decrease with 𝑛 and precision increase as n increase. 3. If the sampling population is normal, or approximately normal, the new random variable 𝑥 has a normal distribution and even for a n sampling volume smaller. 4. If we work with high-volume samples (n high), we can use the normal distribution, even if the population from which we sample is not normal. Consequences: Descriptive statistics Inferential statistics Population (Parameters – μ, σ) Sample (Statistics – , ) Probability Sampling Inference population distribution
  • 4. Example: Suppose salaries at a very large company average $62,000 and a standard deviation of $32,000. a. What is the probability that a randomly selected employee will have a salary of at least 66000? p(x>66000$)=? b. What is the probability that 100 randomly selected employees will have an average salary of at least 66,000? p(x ̅ >66000$)=? n=50 Three different original, or underlying, populations, and approximations to th distribution of the sample mean for various sample sizes n.
  • 5. α - significance level (e.g. 10% or 0.1; 5% or 0.05; 1% or 0.01) 1 – α - probability of confidence, confidence level (e.g.: 0.9 or 90%; 0.95 or 95%; 0.99 or 99%) One-sided confidence interval Two-sided confidence interval (1 – α) (1 – α) (1 – α) α α α/2 α/2 z zα zα/2 -z Confidence interval of the mean (measurement uncertainty) A confidence interval (CI) for a population parameter is an interval of values constructed so that, with a specified degree of confidence, the value of the population parameter lies within it. (x - ε) < μ < (x + ε) (x - ε) (x + ε) μ is i this i terval x Confidence zone Critical area Critical area
  • 6. A. Confidence interval of the mean 𝝁 when σ is known or n > 30 (less often in practice) Example: A study investigated the 2D/4D ratio of European women at a large university. A sample of 135 women resulted in an average 2D/4D ratio of 0.988. Knowing σ = 0.028, what is the confidence interval of the population mean, with a probability of 95%? But with a 99% probability? R: 0.988±0.005 and 0.988±0.006 respectively • A sample is drawn from a population and n measurements are made • The sample mean 𝒙 is calculated and according to the Central Limit Theorem: 𝑋~𝑁(μ, σ 𝑛 ). But σ is known and since it is population parameter, it is constant. • We know the z variable, 𝑧~𝑁(1, 0), 𝑧 = 𝑥−μ σ 𝑛 • We choose the confidence level, 1 – α that we wa t to use, or the sig ifica ce level α. 𝑝 −𝑧𝛼/2 < 𝑧 < 𝑧𝛼/2 = 1 − 𝛼, 𝑡ℎ𝑢𝑠, −𝑧𝛼 2 < 𝑥−𝜇 𝜎 𝑛 < 𝑧𝛼 2 𝑤ℎ𝑖𝑐ℎ 𝑐𝑎𝑛 𝑏𝑒 𝑤𝑟𝑖𝑡𝑡𝑒𝑛: 𝑥 − 𝑧𝛼 2 ∗ 𝜎 𝑛 <μ < 𝑥 + 𝑧𝛼 2 ∗ 𝜎 𝑛 , so • With 1 – α probability, 𝑥 ∓ 𝑧𝛼/2 × 𝜎 𝑛
  • 7. B. Confidence interval of the mean 𝝁 when σ is unknown and/or n < 30 R: 795,3±16,5 g respectiv 795,3±24,9 g z tα/2,ν α/2 Example: A grain producer produces packages of cereals with a declared mass of 750 g. From one batch, 7 packages were weighed, leading to an average of 795.3 g and s = 17.8 g. What is the confidence interval of the average, with a probability of 95%? But with a 99% probability? Standard normal distribution t with 6 degrees of freedom • A sample is drawn from a population and n measurements are made • The sample mean 𝒙 and sample standard deviation s are calculated • We know the t variable, t~𝑡ν (1, 0),t = 𝑥−μ 𝑠 𝑛 𝑤ℎ𝑖𝑐ℎ ℎ𝑎𝑠 𝑎 𝑡 𝑑𝑖𝑠𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛 𝑤𝑖𝑡ℎ ν = 𝑛 − 1 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚 • We choose the confidence level, 1 – α that we wa t to use, or the sig ifica ce level α. 𝑝 −𝑡𝛼/2,ν < 𝑡 < 𝑡𝛼/2,ν = 1 − 𝛼, 𝑡ℎ𝑢𝑠, −𝑡𝛼 2 ,𝜈 < 𝑥−𝜇 𝑠 𝑛 < 𝑡𝛼 2 ,𝜈 𝑤ℎ𝑖𝑐ℎ 𝑐𝑎𝑛 𝑏𝑒 𝑤𝑟𝑖𝑡𝑡𝑒𝑛: 𝑥 − 𝑡𝛼 2 ,ν ∗ 𝜎 𝑛 <μ < 𝑥 − 𝑡𝛼 2 ,ν ∗ 𝜎 𝑛 , so • With 1 – α probability, 𝑥 ∓ 𝑡𝛼/2,ν × 𝑠 𝑛
  • 8. Confidence interval of the variance 𝝈𝟐 The confidence interval of variance, at a level of significance α: with a probability of 1- α, the variance σ2 is within the range:
  • 9. P1. The blood concentration of lead was measured for 50 children at a school near a large intersection with high circulation. The mean Pb concentration of this sample was 10.12 ng/mL and standard deviation 0.64 ng/mL. a. Calculate the confidence interval for the average concentration of Pb in the blood for the whole school at a probability of 95%. b. How large would the sample have to be to have a confidence interval of 0.20 ng/mL (±0.10 ng/mL) at a probability of 95%? P2. Seven measurements for the pH of a buffer solution yielded the following results: 5.12; 5.20; 5.15; 5.17; 5.16; 5.19; 5.15. Calculate the confidence interval of the mean at a probability of 95%. P3. A spectrophotometer is checked at a given wavelength with a standard solution having a true absorbance value of 0.470. Ten independent measurements yielded the following values: 0.465; 0.463; 0.456; 0.459; 0.461; 0.465; 0.462; 0.457; 0.461; 0.461. Calculate the confidence interval of the mean absorbance and decide with 95% probability whether the spectrophotometer commits systematic errors. (Nargiz must send it to me and is optional for the others) Applications
  • 10. IWS for week 5 (homework) to be submitted until 6th of November 2023 17:00 Almaty local time. P1. Many lakes are carefully monitored for pH concentration, total phosphorus, chlorophyll, nitrogen, and total suspended solids. These data are used to characterize the condition of the lake and to chart year-to-year variability. Based on information from the Lake Partner Program, Ontario Ministry of the Environment, Aberdeen Lake has a mean total phosphorus concentration of 14.6 mg/liter and standard deviation 5.8 mg/liter. Suppose a day is selected at random, and a total phosphorus measure from Aberdeen Lake is obtained. a. What is the probability that the total phosphorus is less than 13 mg/liter? b. What is the probability that the total phosphorus differs from the mean by more than 5 mg/liter? P4. Ten Hg concentration measurements in a commercial sample of liquefied gas yielded the following results: 23.3; 22.5; 21.9; 21.5; 19.9; 21.3; 21.7; 23.8; 22.6; 24.7 ng/mL. Calculate the confidence interval of the average at a probability of 99%. P5. A solution of 0.1 M monoprotic acid was used to titrate 10 mL of monobasic alkaline solution of 0.1 M concentration. Five successive measurements yielded values: 9.88; 10.18; 10.23; 10.39; 10.21 mL. Calculate the confidence interval of the average and decide, with a probability of 95%, whether it is evidence for a systematic error. 5 points (for last week) 3 points 3 points