Docsity

Using EXCEL for Statistical Analysis, Study Guides, Projects, Research of Statistics

Partial preview of the text

Download Using EXCEL for Statistical Analysis and more Study Guides, Projects, Research Statistics in PDF only on Docsity!

Using EXCEL for Statistical Analysis

Brian W. Sloboda

University of Phoenix [email protected]

June 25, 2020

Purpose of this Session

(^1) First Section The purpose of this presentation is to learn how to use EXCEL to conduct statistical analysis.

Descriptive Statistics

Here is sample data to illustrate descriptive statistics Observation Number Variable 1 Variable 2 1 106 121 2 98 104 3 111 104 4 108 115 5 97 118 6 92 96 7 89 85 8 105 106 9 101 111 10 87 100 11 101 111 12 90 105 Table: Sample Data

Descriptive Statistics

To run the descriptive statistics on the data, go to TOOLS-DATA ANALYSIS (it should be the last option in the TOOLS menu and will enable once you have loaded it after Step 1). Select DESCRIPTIVE STATISTICS and OK.

Descriptive Statistics

Next, select the Summary Statistics box (which will do a summary statistics table).

Descriptive Statistics

Finally, decide where the output should be produced. If you would like the summary table on the same sheet as the data, select the first option (Output Range). If you would like the table in the same Excel workbook, but on a different sheet, select the second option (New Worksheet Ply). Finally, the output can be generated to a whole new Excel file (the third option). Let’s select the second option.

Descriptive Statistics

Here is an explanation of what each of the descriptive statistics is describing:

Confidence Intervals

Now we will shift gears from descriptive statistics and start some statistical inference, namely confidence intervals. So we need to go to Descriptive Statistics box

Confidence Intervals

The confidence interval is not calculated directly by EXCEL, so you will need to take the formula for a confidence interval and translate into EXCEL language. Recall the formula for the confidence interval for a large sample: μ, 95% confidence interval (ˆμL, μˆU ) of μ is an interval that satisfies P(ˆμL ≤ μ ≤ μˆU ) = 0. 95. We usually make the interval centered so that

P(ˆμL ≤ μ) = P(μ ≤ μˆU ) = 0. 025.

Table of Data for Confidence Intervals

Obs. Number MZ1 MZ 1 88 111 2 115 106 3 88 89 4 92 76 5 115 111 6 48 64 7 83 112 8 77 91 9 99 89 10 77 62 11 109 111 12 95 75

Table: Sample Data- Not all is given

Confidence Intervals

A 95% confidence interval for the population mean is the sample mean plus or minus the ”confidence level” reported by EXCEL. Here this yields 119.90-2.59 and 119.90+2.59 = (117.31, 122.49). Interpretation: This means that the data are consistent 95% of the time with a data generating process with population mean of mu in the range 117.31 to 122.49.

Inferential Statistics for Test of Means of Two Samples

As long as you have the size of the sample, mean, and standard deviation, a t-test will work on small sample comparison, even if the total sample is not provided. But the t-test is not limited to small sample research designs and can also be used for large samples and can be a fairly robust. There are actually a variety of different designs that compare mean differences.

Inferential Statistics for Tests of Means of Two Samples

Go to Tools-Data Analysis-“t-test: Two Sample Assuming Equal Variances.”

Inferential Statistics for Tests of Means of Two Samples

Enter the data from N1 into Variable 1 Range (A1:A6) and the data from N2 into Variable 2 Range (B1:B7). Don’t forget to check the labels box! Notice that the default alpha is .05. What is the alpha of this data? You will need to change the level of significance to .10. Let’s make the output on the same page beginning in cell D1. Select OK.