Download presentation
Presentation is loading. Please wait.
Published byWilfred Booker Modified over 9 years ago
1
Chapter 1 Introduction to Statistics
2
Section 1.1 Fundamental Statistical Concepts
3
Objectives Explain the purpose of statistics. Decide what tasks to complete before you analyze your data. Distinguish between populations and samples.
4
What Is Statistics?
5
Descriptive Statistics 5' 7.3''
6
Inferential Statistics 5' 7.3''
7
Defining the Problem Before you begin any analysis, you should complete certain tasks. 1. Outline the purpose of the study. 2. Document the study questions. 3. Define the population of interest. 4. Determine the need for sampling. 5. Define the data collection protocol.
8
Cereal Example
9
Defining the Problem The purpose of the study is to determine whether Rise n Shine cereal boxes contain 15 ounces of cereal. The study question is whether the average amount of cereal in Rise n Shine boxes is equal to 15 ounces.
10
Population
11
Sample
12
Simple Random Sampling
13
Convenience Sampling
14
Parameters and Statistics Statistics are used to approximate population parameters.
15
Levels of Measurement The two levels of measurement of data used in this course are continuous discrete.
16
Describing Your Data The goals when you are describing data are to screen for unusual data values inspect the spread and shape of continuous variables characterize the central tendency draw preliminary conclusions about your data.
17
Process of Data Analysis
18
Section 1.2 Examining Distributions
19
Objectives Examine distributions of data. Explain and interpret measures of location, dispersion, and shape. Use the MEANS and UNIVARIATE procedures to produce summary statistics. Use the UNIVARIATE procedure to generate stem-and-leaf, box-and-whisker, normal probability plots and histograms.
20
Cereal Data Set Rise n Shine WEIGHTID.................. NUMBER
21
Distributions When you examine the distribution of values for the variable WEIGHT, you can find out the range of possible data values the frequency of data values whether the data values accumulate in the middle of the distribution or at one end.
22
Symmetric Distributions
23
Skewed Distributions
24
Normal Distribution Examples of Normal Distributions std 1.5 std 1.0 std 0.5
25
Measures of Central Tendency The mean is the balancing point of your data.
26
Percentiles
27
Measures of Dispersion
28
Measures of Shape
30
The MEANS Procedure PROC MEANS DATA=SAS-data-set ; VAR variables; RUN;
31
The UNIVARIATE Procedure PROC UNIVARIATE DATA=SAS-data-set ; VAR variables; ID variable; HISTOGRAM variables / ; PROBPLOT variables / ; RUN;
32
Descriptive Statistics This demonstration illustrates using the MEANS and UNIVARIATE procedures to calculate descriptive statistics for continuous variables.
33
Graphical Displays of Distributions PROC UNIVARIATE produces three kinds of plots for examining the distribution of your data values: stem-and-leaf plots box-and-whisker plots normal probability plots. PROC UNIVARIATE can also generate histograms and graphically enhanced normal probability plots.
34
Stem-and-Leaf Plots Multiply Stem.Leaf by 10**1
35
Box-and-Whisker Plots The mean is denoted by +.
36
Normal Probability Plots
37
Examining Distributions This demonstration illustrates using PROC UNIVARIATE to generate stem-and-leaf, box-and-whisker, normal probability plots and histograms.
38
Section 1.3 Confidence Intervals for the Mean
39
Objectives Explain and interpret the confidence intervals for the mean. Explain the central limit theorem. Calculate confidence intervals using the MEANS procedure.
40
Point Estimates
41
Variability among Samples
42
Standard Error of the Mean A statistic that measures the variability of your estimate is the standard error of the mean. It differs from the sample standard deviation because the sample standard deviation deals with the variability of your data the standard error of the mean deals with the variability of your sample mean.
43
Confidence Intervals
44
Assumptions about Confidence Intervals The types of confidence intervals in this course make the assumption that the sample means are normally distributed.
45
Distribution of Sample Means
46
Normal Distribution
47
Confidence Intervals
48
Central Limit Theorem To satisfy the assumption of normality, you can either verify that the population distribution is approximately normal, or apply the central limit theorem. The central limit theorem states that the distribution of sample means is approximately normal provided that the sample size is large enough.
49
Central Limit Theorem
50
Confidence Intervals This demonstration illustrates calculating confidence intervals using PROC MEANS.
51
Section 1.4 Hypothesis Testing
52
Objectives Define some common terminology related to hypothesis testing. Perform hypothesis testing using the UNIVARIATE procedure. Compare the means of paired groups using the TTEST procedure.
53
Judicial Analogy
54
Coin Example
55
Coin Analogy
56
Types of Errors You used a decision rule to make a decision, but was the decision correct?
57
Modified Coin Experiment Which coins are fair?
58
Statistical Hypothesis Test
59
Comparing and the p-Value In general, you reject the null hypothesis if p < fail to reject the null hypothesis if p .
60
Performing a Test of Hypothesis To test the null hypothesis H 0 : = 0, SAS software calculates the t statistic
61
Two-Sided Test of Hypothesis The test of hypothesis is two-sided if the null is rejected when the actual value of interest is either less than or greater than the hypothesized value. H 0 : 15.00 H 1 : 15.00
62
Two-Sided Test of Hypothesis
63
One-Sided Test of Hypothesis In many situations, you are only interested in one direction. Perhaps you only want evidence that the mean is significantly lower than fifteen. For example, instead of testing H 0 : = 15 versus H 1 : 15 you test H 0 : 15 versus H 1 : < 15
64
One-Sided Test of Hypothesis
65
Hypothesis Testing This demonstration illustrates using PROC UNIVARIATE to perform hypothesis testing.
66
Paired Samples
67
The TTEST Procedure PROC TTEST DATA=SAS-data-set; CLASS variable; VAR variables; PAIRED variable*variable; RUN;
68
Paired t-Test This demonstration illustrates using PROC TTEST to conduct a paired sample t-test.
69
Section 1.5 Two-Sample t-Tests
70
Objectives Recognize and validate the assumptions of a two-sample t-test. Analyze two populations with the TTEST procedure.
71
Cereal Example
72
Assumptions independent observations normally distributed data for each group equal variances for each group.
73
F Test for Equality of Variances
74
Test Statistics and p-Values F Test for equal variances:H 0 : 1 2 = 2 2 Variance Test: F’ = 1.51DF = (3,3)Prob > F’ = 0.7446 t-Tests for equal means:H 0 : 1 = 2 Unequal Variance t-test: T = 7.4017DF = 5.8Prob > |T| = 0.0004 Equal Variance t-test: T = 7.4017DF = 6.0Prob > |T| = 0.0003
75
Test Statistics and p-Values F Test for equal variances:H 0 : 1 2 = 2 2 Variance Test: F’ = 15.28DF = (9,4)Prob > F’ = 0.0185 t-Tests for equal means:H 0 : 1 = 2 Unequal Variance t-test: T = -2.4518DF = 11.1Prob > |T| = 0.0320 Equal Variance t-test: T = -1.7835DF = 13.0Prob > |T| = 0.0979
76
Testing for Equality of Means This demonstration illustrates using PROC TTEST to test for the equality of means for two groups.
77
Section 1.6 Output Delivery System
78
Objectives Introduce the Output Delivery System (ODS). Examine some simple statements in ODS. Use ODS to capture some specific UNIVARIATE procedure output. Use ODS to generate a report in the HTML format. Use ODS to generate data sets with specific PROC UNIVARIATE output.
79
Output Delivery System SAS procedure computes results Output object created in ODS ODS converts data component into SAS data set
80
ODS Statements TRACE provides information about the output object such as the name and path. LISTING opens, manages, or closes the Listing destination. OUTPUT creates SAS data set from an output object.
81
Output Delivery System This demonstration illustrates the Output Delivery System by introducing some simple concepts and building on that knowledge.
82
Section 1.7 Exercises
83
Section 1.8 Chapter Summary
84
Section 1.9 Solutions to Exercises
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.