Analyze Statistic by Using SPSS 2 nd Day 1Fadwa Flemban.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Testing a Claim about a Proportion Assumptions 1.The sample was a simple random sample 2.The conditions for a binomial distribution are satisfied 3.Both.
Inferential Statistics
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing for Population Means and Proportions
8-4 Testing a Claim About a Mean
Testing the Difference Between Means (Small Independent Samples)
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
SW388R6 Data Analysis and Computers I Slide 1 One-sample T-test of a Population Mean Confidence Intervals for a Population Mean.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistical Inference for Two Samples
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Statistical inference: confidence intervals and hypothesis testing.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
SECTION 6.4 Confidence Intervals for Variance and Standard Deviation Larson/Farber 4th ed 1.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Today’s lesson Confidence intervals for the expected value of a random variable. Determining the sample size needed to have a specified probability of.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9: Testing Hypotheses
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Inferential Statistics 2 Maarten Buis January 11, 2006.
T-TEST Statistics The t test is used to compare to groups to answer the differential research questions. Its values determines the difference by comparing.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 12 Inference About A Population.
Large sample CI for μ Small sample CI for μ Large sample CI for p
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Week 8 October Three Mini-Lectures QMM 510 Fall 2014.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Aim: How do we use a t-test?
Introduction to the t Test Part 1: One-sample t test
© Copyright McGraw-Hill 2004
We’ve learned: 1) Hypothesis testing for population mean when population variance is known ( Z-test ) ( large sample size or assume population is normal.
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means, Variances, and Proportions.
Inferences Concerning Variances
1-Sample t-test Amir Hossein Habibi.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Confidence Intervals. Point Estimate u A specific numerical value estimate of a parameter. u The best point estimate for the population mean is the sample.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Testing the Difference between Means, Variances, and Proportions
Testing the Difference Between Two Means
Hypothesis Testing Tests on a single sample:
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Chapter 8 Hypothesis Testing with Two Samples.
Elementary Statistics
Elementary Statistics: Picturing The World
Chapter 6 Confidence Intervals.
Presentation transcript:

Analyze Statistic by Using SPSS 2 nd Day 1Fadwa Flemban

الإعجاز الإحصائي للقرآن الإعجاز الإحصائي للقرآن يعني أننا عاجزون عن تأليف كتاب فيه نظام رقمي دقيق لتكرار الكلمات مثل القرآن. } إِنَّ هَذِهِ تَذْكِرَةٌ فَمَنْ شَاءَ اتَّخَذَ إِلَى رَبِّهِ سَبِيلاً} هذه الآية الكريمة نجدها في موضعين فقط من القرآن : 1 ـ { إن هذه تذكرة فمن شاء اتخذ إلى ربه سبيلاً } [ المزمل : 19 [ 2 ـ { إن هذه تذكرة فمن شاء اتخذ إلى ربه سبيلاً } [ الإنسان : 29[ 1 ـ لماذا تكررت هذه الآية مرتين في القرآن ؟ 2 ـ لماذا كان رقم الآيتين : 19 ـ 29 ؟ 3 ـ لماذا كان تسلسل سورة المزمل قبل سورة الإنسان ؟ سوف نجيب على هذه الأسئلة وغيرها بلغة الأرقام ، فتكرار هذه الآية في القرآن مرتين له حكمة ، وقد اختار اللّه تعالى لهذه الآية رقمين 19 و 29 وذلك لحكمة أيضاً ، ويمكن استنتاج جزء من هذه الحكمة بالاعتماد على الرقم 7. والفكرة الأساسية في هذا البحث تعتمد على صَفّ أرقام الآيات بجانب بعضها وذلك حسب تسلسل هذه الآيات في القرآن (وليس جَمع الأرقام ) وعندما نصُفّ أرقام الآيتين 19ـ 29 ينتج عدد جديد هو 2919 هذا العدد يُقرأ : ألفان وتسعمئة وتسعة عشر ، وهو من مضاعفات الرقم 7 ، أي يقبل القسمة تماماً على 7 من دون باقٍ : 417 × 7 = Fadwa Flemban

Probability Distributions بعض التوزيعات الاحتمالية 1.The normal distribution 2.The Standard normal distribution 3.T distribution 4.Chi-square distribution 3Fadwa Flemban

(1)Normal Distribution The normal distribution is a probability distribution that associates the normal random variable X with a cumulative probability. The normal distribution is defined by the following equation:probability distribution normal random variable cumulative probability Y = [ 1/σ * sqrt(2π) ] * e -(x - μ)2/2σ2 the sampling distribution of a statistic will follow normal distribution, as long as : 1- the sample size is sufficiently large.sampling distribution normal distribution 2-we know the standard deviation of the population. Fadwa Flemban4

The Curve of Normal Distribution: Fadwa Flemban5 Find P(Z > a)? P(Z > a) = 1 - P(Z < a) Find P(a < Z < b)? P(Z < b) - P(Z < a) = P(Z < z)

Difference between these curves: The curve on the left is shorter and wider than the curve on the right, because the curve on the left has a bigger standard deviation. Fadwa Flemban6

(2)The standard normal distribution The standard normal distribution is a special case of the normal distribution.normal distribution the following equation: z = (X - μ) / σ Z ~ N ( μ, σ ) in standard normal distribution: Z ~ N ( 0, 1 ) Fadwa Flemban7

Standard Normal Distribution Table Find the cumulative probability of a z-score equal to -1.31? Fadwa Flemban8 z The table shows that the probability that a standard normal random variable will be less than -1.31, that is, P(Z < -1.31) =

قال تعالى : ( اللَّهُ الَّذِي خَلَقَكُم مِّن ضَعْفٍ ثُمَّ جَعَلَ مِن بَعْدِ ضَعْفٍ قُوَّةً ثُمَّ جَعَلَ مِن بَعْدِ قُوَّةٍ ضَعْفاً وَشَيْبَةً يَخْلُقُ مَا يَشَاءُ وَهُوَ الْعَلِيمُ الْقَدِيرُ ) [ الروم : 54] Fadwa Flemban9 ضعف قـوة ضعف

(3) t Distribution sample sizes are sometimes small, and often we do not know the standard deviation of the population. When either of these problems occur, statisticians rely on the distribution of the t statistic. The equation : t = [ x - μ ] / [ s / sqrt( n ) ] Degrees of Freedom: the sample size minus one (n-1, α). Fadwa Flemban10

Fadwa Flemban11 Curve of t Distribution

(4)Chi-Square Distribution using the following equation: Χ 2 = [ ( n - 1 ) * s 2 ] / σ 2 degrees of freedom Χ 2 : n - 1 Fadwa Flemban12

Curve of Chi-Square As the degrees of freedom increase, the chi-square curve approaches a normal distribution. Fadwa Flemban13

Fadwa Flemban14 Inferential Statistics الاحصاء الاستدلالي

The First Topic in Inferential Statistics Estimation Fadwa Flemban15

Estimation التقدير When a parameter is being estimated, the estimate can be either a single number or it can be a range of scores.parameter When the estimate is a single number, the estimate is called a "point estimate" When the estimate is a range of scores, the estimate is called an interval estimate. Confidence interval are used for interval estimates. 16Fadwa Flemban the population….. estimate of Sample ….. Mean µ mean M or variance σ²variance s²

Estimation by SPSS Analyze  Descriptive Statistics  Explore Fadwa Flemban17

Fadwa Flemban18 Statistics

Output: Fadwa Flemban < µ < µ = σ ² = All the estimations at Confidence interval 95%

The Second Topic in Inferential Statistics Testing Hypotheses Fadwa Flemban20

Fadwa Flemban21 Inferential Statistics الاحصاء الاستدلالي

Tests Concerning a Single Mean اختبارات الفروض حول متوسط المجتمع Single mean µ = µₒ n>30 Z Distribution n ≤30 T Distribution Fadwa Flemban22

Summary of Computational Steps  Specify the null hypothesis and an alternative hypothesis.  Compute M = ΣX/N.  Compute, if σ unknown compute  Compute, if n<30 compute  where M is the sample mean and µ is the hypothesized value of the population.  Use a z table to determine p from z, orz table Use a t table to compute p from t and df (df=N-1).t table Fadwa Flemban23

Testing Hypotheses اختبارات الفروض Consider an experiment designed to test the null hypothesis that µ = 10. The test would be conducted with the following formula: where M (the statistic) is the sample mean.samplemean Fadwa Flemban24

Tests Concerning a Single Mean Example n > 30 A random sample of 100 deaths in the Philippines last year showed an average life span of 69.3 years. Assuming a population standard deviation of 7.8 years. does this seem to indicate that the life span today is lesser than 70 years? Use a 0.01 level of significance? Fadwa Flemban25

We will solve this testing problem in 5 steps: 1. H0:  = 70 years. H1:  < 70 years. 2.Use a = Since we are testing the mean life span and the population standard deviation is known (  / = 0.78). Using normal distribution, 4. At 0.01 level of significance, we reject if and only if Z < z 0.01= Based from the rejection region (and critical value – 2.33), we see that the z value is outside the rejection region (or – 0.90 is greater than – 2.33). Thus, we do not reject the null hypothesis and conclude that the life expectancy of Filipinos is 70 years. Solution: Z = Rejection Region 26Fadwa Flemban

Note The previous Example We cannot use SPSS because: 1- the standard deviation is known. 2- and we haven’t data. Fadwa Flemban27

Tests Concerning a Single Mean Example n ≤ 30 Fadwa Flemban28 A teacher of Arabic language was assumed that the mean of students' degree is 68, drew a sample from the students' degree as follows (n=30): Is teacher's claim is true at 0.01 level of significance ? A teacher of Arabic language was assumed that the mean of students' degree is 68, drew a sample from the students' degree as follows (n=30): Is teacher's claim is true at 0.01 level of significance ?

H 0 : µ = 68 H 1: µ  68 Fadwa Flemban29 SPSS Solution:

Fadwa Flemban30 Analyze  compare mean  One-sample test

Fadwa Flemban31 Option

Fadwa Flemban32 Output (P-value) > 0.01 (α) don't reject Hₒ the teacher's claim is true. (P-value) > 0.01 (α) don't reject Hₒ the teacher's claim is true.

Fadwa Flemban33 Tests of Differences between Means اختبارات الفروض حول متوسطي مجتمعين Two means µ1 = µ2 Two Independent Samples Independent samples t-test Two Dependent Samples Paired samples t-test

Tests of Differences between Means, Independent Samples Example: If we have the following marks for students (male & female): Is there a difference between the mean of marks at level of significant 0.05? Fadwa Flemban Female Male

SPSS Solution H 0 : µ1 = µ2 H 1: µ1  µ2 Fadwa Flemban35

Analyze  Compare means  Independent Samples T Test Fadwa Flemban36

Fadwa Flemban37 Press Define Groups

Fadwa Flemban38 Press Option

Output : Fadwa Flemban > 0.05 Equal Variance Assumed > 0.05 Equal Variance Assumed Inside the Box: T-Test for Equality of means t=.045, df =(33+35)-2 =68-2= 66 Sig.=0.964> α=0.05 Don’t reject H Confidence Interval of the difference (-9.949,10.412) Inside the Box: T-Test for Equality of means t=.045, df =(33+35)-2 =68-2= 66 Sig.=0.964> α=0.05 Don’t reject H Confidence Interval of the difference (-9.949,10.412)

What is learned: Test of Hypotheses : T-Test of two Independent Samples. Estimate : Confidence Interval of the difference between means. Mean difference : µ1-µ2 = – = 0.24 ( from Group Statistics Table ) Or mean difference = ( from Independent samples test Table ) Fadwa Flemban40

Make a decision : Fadwa Flemban41 1) From P-value (Sig.) P-value > α Don’t reject H P-value < α Reject H 2) From Confidence Interval 0 inside the Interval Don’t reject H 0 outside the Interval Reject H

Tests of Differences between Means, dependent Samples Example : We have the data of 20 students in two courses (Arabic & English): Examine if there is difference between the mean of students’ marks in two courses, at level of significant 0.10? Fadwa Flemban Num Arabic English Num Arabic English

SPSS Solution H 0 : µ1 = µ2 H 1: µ1  µ2 Fadwa Flemban43

Fadwa Flemban44 Analyze  Compare means  Paired Samples T Test

Fadwa Flemban45 Press Option

Output: Fadwa Flemban46 t= 2.309, df=20-1=19 Sig.=0.032 < α=0.10 Reject H Confidence Interval of the difference (1.796,12.504) Note: the interval doesn’t contain ZERO t= 2.309, df=20-1=19 Sig.=0.032 < α=0.10 Reject H Confidence Interval of the difference (1.796,12.504) Note: the interval doesn’t contain ZERO

اخطاء شائعة استخدام اختبارات t : لبيانات صغيرة غير مسحوبة من مجتمع طبيعي Fadwa Flemban47

Statistical Humor A boy asked his statistician father, "Why is my body not well proportioned just like my brother's?" His father's response, "Because, when your mother had your pregnancy, its distribution was skewed!!" Fadwa Flemban48