Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals
Mathematics, Statistics, Introduction to Inference, Tests of Significance, The Reasoning of Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals
Test statistic
General Formula for Test Statistic
Statistical Decision
Significance Level
p-values
Purpose of Hypothesis Testing
General Procedure of Testing a Hypothesis
When you run Analysis of Variance (ANOVA), the results will tell you if there is a difference in means. However, it won’t pinpoint the pairs of means that are different.
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
Introduction to Inference, Estimating with Confidence, Inference, Statistical Confidence, Confidence Intervals, Confidence Interval for a Population Mean, Choosing the Sample Size
Test statistic
General Formula for Test Statistic
Statistical Decision
Significance Level
p-values
Purpose of Hypothesis Testing
General Procedure of Testing a Hypothesis
When you run Analysis of Variance (ANOVA), the results will tell you if there is a difference in means. However, it won’t pinpoint the pairs of means that are different.
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
Introduction to Inference, Estimating with Confidence, Inference, Statistical Confidence, Confidence Intervals, Confidence Interval for a Population Mean, Choosing the Sample Size
Hypothesis is usually considered as the principal instrument in research and quality control. Its main function is to suggest new experiments and observations. In fact, many experiments are carried out with the deliberate object of testing hypothesis. Decision makers often face situations wherein they are interested in testing hypothesis on the basis of available information and then take decisions on the basis of such testing. In Six –Sigma methodology, hypothesis testing is a tool of substance and used in analysis phase of the six sigma project so that improvement can be done in right direction
Similar to Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals
Basics of Hypothesis testing for PharmacyParag Shah
This presentation will clarify all basic concepts and terms of hypothesis testing. It will also help you to decide correct Parametric & Non-Parametric test for your data
Testing of hypothesis - large sample testParag Shah
Different type of test which are used for large sample has been included in this presentation. Steps for each test and a case study is included for concept clarity and practice.
is a lecture presentation covering various aspects of statistical analysis in research. It includes a case study on Barack Obama's 2008 homepage, focusing on multivariate testing to measure conversion rates of different homepage configurations. The lecture discusses statistical tests, the concept of a null hypothesis, p-values, and the chi-square (χ²) test. It also covers normal and binomial distributions, contingency tables, expected values, and how to compute and interpret χ² values. Python code for statistical analysis, particularly using the SciPy library, is also presented, demonstrating how to perform chi-square and t-tests in Python. This material is likely used in an educational setting, focusing on applying statistical methods in practical scenarios.
All content within this presentation is the property of Royal Holloway, University of London. Unauthorized use, duplication, or distribution of the materials contained herein is strictly prohibited.
Similar to Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals (20)
Chapter-4: More on Direct Proof and Proof by Contrapositivenszakir
Proofs Involving Divisibility of Integers, Proofs Involving Congruence of Integers, Proofs Involving Real Numbers, Proofs Involving sets, Fundamental Properties of Set Operations, Proofs Involving Cartesian Products of Sets
Chapter 5 part2- Sampling Distributions for Counts and Proportions (Binomial ...nszakir
Mathematics, Statistics, Sampling Distributions for Counts and Proportions, Binomial Distributions for Sample Counts,
Binomial Distributions in Statistical Sampling, Binomial Mean and Standard Deviation, Sample Proportions, Normal Approximation for Counts and Proportions, Binomial Formula
Chapter 5 part1- The Sampling Distribution of a Sample Meannszakir
Mathematics, Statistics, Population Distribution vs. Sampling Distribution, The Mean and Standard Deviation of the Sample Mean, Sampling Distribution of a Sample Mean, Central Limit Theorem
Mathematics, Statistics, Probability, Randomness, General Probability Rules, General Addition Rules, Conditional Probability, General Multiplication Rules, Bayes’s Rule, Independence
Chapter 4 part3- Means and Variances of Random Variablesnszakir
Statistics, study of probability, The Mean of a Random Variable, The Variance of a Random Variable, Rules for Means and Variances, The Law of Large Numbers,
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
Maintaining high-quality standards in the production of TMT bars is crucial for ensuring structural integrity in construction. Addressing common defects through careful monitoring, standardized processes, and advanced technology can significantly improve the quality of TMT bars. Continuous training and adherence to quality control measures will also play a pivotal role in minimizing these defects.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Forklift Classes Overview by Intella PartsIntella Parts
Discover the different forklift classes and their specific applications. Learn how to choose the right forklift for your needs to ensure safety, efficiency, and compliance in your operations.
For more technical information, visit our website https://intellaparts.com
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hypotheses, Test Statistics, P-values, Statistical Significance, Test for a Population Mean, Two-Sided Significance Tests and Confidence Intervals
2. Chapter 6
Introduction to Inference
6.1 Estimating with Confidence
6.2 Tests of Significance
6.3 Use and Abuse of Tests
6.4 Power and Inference as a Decision
2
3. 6.2 Tests of Significance
3
The Reasoning of Tests of Significance
Stating Hypotheses
Test Statistics
P-values
Statistical Significance
Test for a Population Mean
Two-Sided Significance Tests and Confidence Intervals
4. 4
1. Confidence intervals : One of the two most common types of inference.
Goal: to estimate a population parameter.
2. tests of significance : The second common type of inference.
Goal: to assess the evidence provided by data about some claim
concerning a population.
Statistical Inference
Test of significance is a formal procedure for comparing observed
data with a claim (also called a hypothesis) whose truth we want to
assess.
The hypothesis is a statement about a parameter, like p or µ.
We express the results of a significance test in terms of a probability
that measures how well the data and the hypothesis agree.
5. 5
The Reasoning of Tests of Significance
Cobra Cheese Company buys milk from several suppliers as the essential
raw material for its cheese. Cobra suspects that some producers are adding
water to their milk to increase their profit.
Excess water can be detected by determining the freezing point of the milk.
The freezing temperature of natural milk varies normally, with a mean µ =
-0.545 degrees Celsius, and a standard deviation of σ = 0.008 degrees
Celsius.
Added water raises the freezing temperature toward 0, the freezing point
of water.
Cobra's laboratory manager measures the freezing temperature of five
consecutive lots of milk from one producer. The mean measurement is -0.538.
Is this good evidence that the producer is adding water to the milk?
Example (Cobra Cheese Company ):
6. 6
Stating Hypotheses
A significance test starts with a careful statement of the claims we want to compare.
The Null Hypothesis (Ho): The hypothesis we have to disprove - in
order to prove our claim.
The Alternative Hypothesis (Ha): The claim itself, that a change in
the population has occurred or that an observed effect is the result
of a treatment.
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C; sample mean = -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : The producer is not adding water to the milk
Ho : Milk from this producer has the same freezing temperature as natural
milk
i.e. Ho : µ = -0.545º C
Ha : The producer is adding water to the milk
Ha : Milk from this producer has a higher freezing temperature than
natural milk
i.e. Ha : µ > -0.545º C
7. 7
7
A two-tail or two-sided test of the population mean has these null and
alternative hypotheses:
Ho : µ = [a specific number]
Ha : µ ≠ [a specific number]
A one-tail or one-sided test of a population mean has these null and
alternative hypotheses:
Ho : µ = [a specific number]; Ha : µ < [a specific number] OR
Ho : µ = [a specific number]; Ha : µ > [a specific number]
Example
The FDA tests whether a generic drug has an absorption extent similar
to the known absorption extent of the brand-name drug it is copying.
Higher or lower absorption would both be problematic, thus we test:
sided-twoµµ:H;µµ:H brandgenericabrandgeneric0
≠=
One-sided and two-sided tests
8. 8
Test Statistic
A number that summarizes the data for a test of significance.
Compares an estimate of the parameter from sample data with the
value of the parameter given in the null hypothesis.
Measures how far sample data diverge from the null hypothesis.
Large value indicate that the observed statistic (parameter estimate)
is far from the parameter value claimed in the Ho.
Large value give evidence against Ho (i.e. give evidence for Ha).
Formula for testing µ with known σ:
.Hhupothesisnullin thegivenparametertheofvaluetheiswhere
/
00
0
µ
σ
µ
n
x
z
−
=
A test of significance is based on a statistic that estimates the parameter
that appears in the hypotheses
9. 9
Test Statistic (Cont…)
.Hhupothesisnullin thegivenparametertheofvaluetheiswhere,
/
00
0
µ
σ
µ
n
x
z
−
=
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C; standard deviation σ = 0.008º C;
sample mean measurement= -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : µ = -0.545º C; Ha : µ > -0.545º C
This probability is called the
P-Value of the test
10. 10
Interpreting a P-value
P-value is a number between 0 and 1
With a small p-value we reject Ho. The true property of the
population is significantly different from what was stated in H0.
Thus, small P-values are strong evidence AGAINST Ho .
But how small is small…?
P- Value & Evidence Against Ho
A P-Value of 0.05 or less is typically considered statistically significant.
11. 11
11
Interpreting a P-value (Cont…)
Example (Cobra Cheese Company ):
Here, population mean µ = -0.545º C;
sample mean measurement= -0.538º C
Is this good evidence that the producer is adding water to the milk?
Ho : The producer is not adding water to the milk, i.e. Ho : µ = -0.545º C
Ha : The producer is adding water to the milk, i.e. Ha : µ > -0.545º C
The P-value of the test is 0.0250 i.e. 2.5% < 5%.
We should reject the null hypothesis, i.e. reject the hypothesis that
“The freezing temperature of the milk that came from this producer is
the same as the freezing temperature of natural milk.”
Therefore we can conclude that this producer is adding water to the milk!
12. 12
Four Steps of Tests of Significance
1. State the null and alternative hypotheses.
2. Calculate the value of the test statistic.
3. Find the P-value for the observed data.
4. State a conclusion.
Tests of Significance: Four Steps
13. 13
P-value in one-sided and two-sided tests
To calculate the P-value for a two-sided test, use the symmetry of the
normal curve. Find the P-value for a one-sided test and double it.
14. 14
P-value in one-sided and two-sided tests (Cont…)
Example: (packs of cherry tomatoes) You are in charge of quality
control in your food company. You sample randomly four packs of
cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight
(x-bar) from the four boxes that you examine is 222 g. Is this a good
evidence that the calibrating machine that sorts cherry tomatoes
into packs needs revision?
Step 1: Ho : μ = 227g versus Ha : μ ≠ 227g
Step 2:
Step 3: the area under the standard normal curve to the left of z is
0.0228. Thus, P-value = 2*0.0228 = 4.56% .
Step 4: P-value, 4.56% < 5%, so we reject Ho.
The machine does need recalibration.
15. 15
We can compare the P-value with a fixed value that we regard as
decisive, called the significance level.
We write it as α, the Greek letter alpha.
This value is decided arbitrarily before conducting the test.
Typically small, usually 0.05 or smaller.
When our P-value is less than the chosen α, we say that the result is
statistically significant.
If P ≤ α, then we reject Ho, conclude Ha , statistically significant.
If P > α, then we fail to reject Ho. can’t conclude Ha , not statistically
significant.
Statistical Significance
16. 16
16
If P ≤ α, then we reject Ho, conclude Ha , statistically significant.
If P > α, then we fail to reject Ho. can’t conclude Ha , not
statistically significant.
Statistical Significance (Cont…)
Example: (packs of cherry tomatoes) .
Is this a good evidence that the calibrating machine that sorts cherry
tomatoes into packs needs revision?
Two sided test, : Ho : μ = 227g versus Ha : μ ≠ 227g
P-value, 4.56%
If α had been set to 5%, then the P-value would be significant.
If α had been set to 1%, then the P-value would not be significant.
17. 17
Rejection region for a two-tail test of μ
with α = 0.05 (5%)
A two-sided test means that α is spread
between both tails of the curve.
Middle area C = 1 − α = 95%
Upper tail area = α /2 = 0.025
Critical z-values:
Rejection Rule
Reject Ho if:
or
18. 18
Two-Sided Significance Tests and
Confidence Intervals
In a two-sided test,
C = 1 – α
C: confidence level
α: significance level
Decision Rule: Reject the null hypothesis if the parameter value µo ,
given in Ho , falls outside the C = 1 - α confidence interval.
19. 19
Two-Sided Significance Tests
and Confidence Intervals (Cont…)
Decision Rule: Reject the null hypothesis if the parameter value µo, given
in Ho , falls outside the C = 1 - α confidence interval.
Example: (packs of cherry tomatoes) .
Is this a good evidence that the calibrating machine that sorts cherry
tomatoes into packs needs revision?
Two sided test, Ho : μ = 227g versus Ha : μ ≠ 227g
P-value, 4.56%
95% CI for μ :
Decision: Since µo = 227g does not fall inside the 95% CI, we reject Ho.