Infretial statistics which consist of Estimation and hypothesis
Size: 5.11 MB
Language: en
Added: May 28, 2018
Slides: 53 pages
Slide Content
Estimation and Hypothesis Testing for sample Mean
Group Members Junaid Ijaz Wajahat Saadat Asfand Yar Tahir Sohaib Arshad Daud Amir Salman A bbasi Aqib Sharif
Content Inferential statistics Estimation Application of Estimation Hypothesis Application of Hypothesis References
STATISTICAL ANALYSIS DESCRIPTIVE INFERENTIAL L NUMERICAL GRAPHICAL Estimation Hypothesis testing Point estimate Interval estimate
Inferential statistics The part of statistics that allows researchers to generalize their findings to a larger population by using data from the sample collected. Estimation of parameters * Point Estimation * Intervals Estimation β Hypothesis Testing Two ways to make inference:
Parameter For Sample For Population Mean: X ο Standard deviation: s ο³ Proportion : p ο°
Estimation The process by which one makes inferences about a population, based on information obtained from a sample . Point estimate Interval estimate
Point estimate Point estimates are single points that estimates parameter directly which serve as a " best guess " or " best estimate " of an unknown population parameter β’ sample proportion pΛ (βp hatβ) is the point estimate of p β’ sample mean x (βx barβ) is the point estimate of ΞΌ β’ sample standard deviation s is the point estimate of Ο
Criteria of a good estimator: There can be more than one estimator for the parameter. A good estimator is unbiased i.e E(T )= ο± Sample mean is an unbiased estimator of population mean . The difference between two sample means is an unbiased estimate of difference between the population mean.
Disadvantages of point estimates Point estimate do not provide ( i ) Information about sample to sample variability (ii) How precise is x(Sample mean) as an estimate of ΞΌ(Population mean) (iii) How much can we expect x vary from ΞΌ
Interval Estimation: In interval estimation, an interval is constructed around the point estimate, and it is stated that this interval is likely to contain the corresponding population parameter. In general an interval estimate may be expressed as follows margin of error estimator ο± (reliability coefficient) ο΄ (standard error) ο± z ( 1 ο ο‘ / 2 ) ο³ x Β
Standard Error The standard error(SE) is very similar toΒ standard deviation . Both are measures of spread. The higher the number, the more spread out your data is. To put it simply, the two terms are essentially equal β but there is one important difference. While the standard error usesΒ statistics Β (sample data) standard deviations useΒ parameters Β (population data). is the probability that the interval computed from the sample data includes the population parameter of interest Confidence level : n ο³ ( 1- a ) 100%
Process for Constructing Confidence Intervals Compute the sample statistic (e.g. a mean) Compute the standard error of the mean Make a decision about level of confidence that is desired (usually 95% or 99%) Find tabled value for 95% or 99% confidence interval Multiply standard error of the mean by the tabled value Form interval by adding and subtracting calculated value to and from the mean
Z- Distribution When Population parimeters (Standard daviation ) Are Known Then we use confidence level to find value of reliability coefficient From table of standard normal distribution T - Distribution When Population parimeters (Standard daviation ) Are not Known Then we use confidence level and degree of fredom to find value of reliability coefficient From table of T-distribution
FACTORS AFFECTING CONFIDENCE INTERVAL (a)Level of confidence: Greater the level of confidence greater will be the interval (b)Sample size (N): Greater the sample size greater will be the interval (c)Data variability( ο³ ): ο³ value of a sa mple is not under the control of the investigator. Hence, the width of a confidence interval cannot be controlled using ο³
Application of Estimation in Civil Engineering
COST ESTIMATION
ESTIMATING MATERIALS ESTIMATING Project TIME ESTIMATING LABOR
Environmental Engineering
ESTIMATING ANNUAL INCREASE IN TEMPERATURE GLOBAL WARMING ANNUAL RAINFALL ESTIMATING PARAMETER CONTRIBUTING TO POLUUTION
URBAN PLANNING
A city planning estimateΒ is the estimation of the maximum permissible construction parameters, conditions of combining the architectural planning and maintenance system, engineering communications, and transport service. It may include estimation of population parameter, water requirement and drainage.
TRAFFIC ENGINEERING
ESTIMATING TRAFFIC DENSITY: Traffic density is a major congestion indicator, and because its measurement is difficult, it is usually estimated from other readily measurable parameters. Traffic flow model is formulate, and using this model, a model-based estimation scheme is designed.
What is a Hypothesis? I assume the mean SBP of An assumption about population is 120 mmHg the population parameter .
Hypothesis Hypothesis is a predictive statement, capable of being tested by scientific methods, that relates an independent variables to some dependent variable. A hypothesis states what we are looking for and it is a proportion which can be put to a test to determine its validity e.g. Students who receive counseling will show a greater increase in creativity than students not receiving counseling
Characteristics of Hypothesis Clear and precise. Capable of being tested. Stated relationship between variables. limited in scope and must be specific. Stated as far as possible in most simple terms so that the same is easily understand by all concerned. But one must remember that simplicity of hypothesis has nothing to do with its significance. Consistent with most known facts. Responsive to testing with in a reasonable time. One canβt spend a life time collecting data to test it. Explain what it claims to explain; it should have empirical reference.
Types of Hypothesis Null Hypothesis Alternative Hypothesis
Null Hypothesis It is an assertion that we hold as true unless we have sufficient statistical evidence to conclude otherwise. Null Hypothesis is denoted by π» If a population mean is equal to hypothesised mean then Null Hypothesis can be written as π» : π = π
Alternative Hypothesis The Alternative hypothesis is negation of null hypothesis and is denoted by π» π If Null is given as π» : π = π Then alternative Hypothesis can be written as π» π : π β π π» π : π > π π» π : π < π
Level of significance and confiden c e Significance means the percentage risk to reject a null hypothesis when it is true and it is denoted by πΌ . Generally taken as 1%, 5%, 10% ( 1 β πΌ) is the confidence interval in which the null hypothesis will exist when it is true.
Two tailed test @ 5 % Significance level Acceptance and Rejection regions in case of a Two tailed test π πππππ‘πππ ππππππ / π πππππππππππ πππ£ππ (πΌ = 0.025 ππ 2.5%) π πππππ‘πππ ππππππ /π πππππππππππ πππ£ππ (πΌ = 0.025 ππ 2.5%) Suitable When π» : π = π π» π : π β π πππ‘ππ π΄πππππ‘ππππ ππππππ ππ ππππππππππ πππ£ππ (1 β πΌ) = 95% π» : π = π
Left tailed test @ 5% Significance level Acceptance and Rejection regions in case of a left tailed test π» : π = π πππ‘ππ π΄πππππ‘ππππ ππππππ ππ ππππππππππ πππ£ππ (1 β πΌ) = 95% π πππππ‘πππ ππππππ /π πππππππππππ πππ£ππ (πΌ = 0.05 ππ 5%) Suitable When π» : π = π π» π : π < π
Right tailed test @ 5 % Significance level Acceptance and Rejection regions in case of a Right tailed test Suitable When π» : π = π π» π : π > π πππ‘ππ π΄πππππ‘ππππ ππππππ ππ ππππππππππ πππ£ππ (1 β πΌ) = 95% π» : π = π π πππππ‘πππ ππππππ /π πππππππππππ πππ£ππ (πΌ = 0.05 ππ 5%)
Proce dur e for Hyp o thesis Te s t i n g State the null (Ho)and alternate (Ha) Hypothesis State a significance level; 1%, 5%, 10% etc. Decide a test statistics; z-test, t- test . Calculate the value of test statistics Do the required calculations Define the critical region through z table If z fall in critical region If z doesnβt fall in the critical region Accept Ho Reject Ho
Hy p othesis Testing of Means Z-TEST T-TEST
Z-Test for testing means Test Condition ο΅ Population normal and infinite ο΅ Sample size large or small, ο΅ Population variance is known ο΅ Ha may be one-sided or two sided Test Statistics π βπ π» π§ = π π π
Z-Test for testing means Test Condition ο΅ Population is infinite and may not be normal, ο΅ Sample size is large, ο΅ Population variance is unknown ο΅ Ha may be one-sided or two sided Test Statistics π βπ π» π§ = π π π
T-Test for testing means Test Condition ο΅ Population is infinite and normal, ο΅ Sample size is small, ο΅ Population variance is unknown ο΅ Ha may be one-sided or two sided Test Statistics π βπ π» π‘ = π π π π€ππ‘β π. π. = π β 1 π π = π π β π 2 (π β 1)
Type I and Type I I Error Situation Decision Accept Null Reject Null Null is true Correct Type I error ( πΌ πππππ ) Null is false Type II error ( π½ πππππ ) Correct
Limitations of the test of Hypothesis Testing of hypothesis is not decision making itself; but help for decision making Test does not explain the reasons as why the difference exist, it only indicate that the difference is due to fluctuations of sampling or because of other reasons but the tests do not tell about the reason causing the difference. Tests are based on the probabilities and as such cannot be expressed with full certainty. S tatistical inferences based on the significance tests cannot be said to be entirely correct evidences concerning the truth of the hypothesis.
Practical Uses of Hypothesis Testing
In Civil Engineering A failure of civil structure can cause fatal destructions which could have devastating effects on contractorβs firm and engineerβs career. Engineers can predict the outcomes of any hypothesis precisely by using statistical hypothesis testing. Data like seismic activity, annual precipitation, rate of silt deposition in dams etc. can be used in hypothesis testing.
Human Gender Ratio Β It is the ratioΒ ofΒ malesΒ to the females in a population. Gender Imbalance may leads to many problems that are prevailing in some parts of the world. Consequences of Gender imbalance may include: Rapid decline in fertility Differential marital statistics Increase in antisocial behavior and violence
The earliest use of statistical hypothesis testing is to the question of whether male and female births are equally likely (null hypothesis), which was addressed in the 1700s byΒ John ArbuthnotΒ (1710) John Arbuthnot, in 1710, was the first person who used hypothesis testing to question whether male and female births are equally likely or not. Arbuthnot examined birth records in London for each of the 82 years from 1629 to 1710. He concluded that every year, the number of males born in London exceeded the number of females. The probability of the observed outcome is 0.5 82 .
Laplace, 1770, considered the statistics of almost half a million births. The statistics showed an excess of boys compared to girls. Β He concluded by calculation of aΒ p -value that the excess was a real, but unexplained, effect.
Courtroom Trial A defendant is considered not guilty as long as his/her guilt is not proven. Only when there is enough evidence for the prosecution then the defendant is convicted. A criminal trial can be regarded as either or both of two decision processes: guilty vs not guilty or evidence vs a threshold. A hypothesis test can be regarded as either a judgment of a hypothesis or as a judgment of evidence.
Business Applications Generally firms proposes a monthly income investment plan that promises a variable return each month. The real challenge is taking precise decisions at appropriate times. Hypothesis Testing can make a businessmanβs life easier.
Medical Applications Sometimes medics have to take risks while conducting operations or proposing a medicine which may have side reactions on a patient. A wrong decision can consume a life. By visualizing genetics data and reactions of medicine/surgery on various patients, doctors and surgeons can precisely take correct decisions.