Docsity

Data Analysis in Excel - Introduction to Engineering - Lecture Slides, Slides of Engineering Mathematics

Partial preview of the text

Download Data Analysis in Excel - Introduction to Engineering - Lecture Slides and more Slides Engineering Mathematics in PDF only on Docsity!

Data Analysis in Excel

Analysis of Uncertainty

Learning Objectives

Learn to use statistical Excel functions:

average, median, min, max, stdev, var, varp, standardize, normdist, norminv, normsinv

General Excel Behavior

  • Analyzes the range of cells you

specify

  • Skips blank cells

Mean

Excel

=AVERAGE(cellrange) (^) =AVERAGE(B72:B81)

Example:

 

n

i

x (^) n xi 1

 

N i N xi 1

^1

Sample Population

Median

The middle value in sorted data

Excel

=MEDIAN(cellrange) =MEDIAN(D2:D81)

Example:

Note: When using this command, there is no need to sort the data first.

Maximum, Minimum, and Range

Excel Example:

=MIN(cellrange) =MIN(D2:D81) =MAX(cellrange) =MAX(D2:D81)

There is no explicit command to find the range. However, it can be easily calculated.

= MAX(D2:D81) - MIN(D2:D81)

Example - Exam Grades

  • Data set: grades.xls 78 students, 1 did not take exam
  • Verify the following: Mean is 79. Mode is 79 - occurs 6 times Median is 79.
  • median close to mean suggests no major outliers
  • Remember, student who did not take exam is not included in data More

Example Cont.

  • Verify

max is 99 min is 60 Range is 99-60 = 39 Population variance is 60. Population std. dev. is 7.

Review:

The Normal Distribution

The normal distribution is sometimes called the “Gauss” curve.

  (^2) /^2 2

1

RF

   

 

x

e

mean

x

RF

Relative Frequency

Review:

Standard Normal Distribution

Define:

Then

z   x  / 

2 

RF

2 2

1 z e

-4.0 -3.0 -2.0 -1.0 0.0 1.0 2.0 3.0 4.

Area = 1.

z Docsity.com

Standard Normal Cumulative

Distribution

Excel Example:

=NORMSDIST(z) =NORMSDIST(1.0)

=0.

-4.0 -3.0 -2.0 -1.0 0.0 1.0 2.0 3.0 4.

area from minus infinity to z

NOT

0 to z, like Z-table

Normal Data in Excel

To avoid Z transform, use:

=NORMDIST(x,mean,stddev,true)

Example

=NORMDIST(85,75,10,true) = 0.

Excel Example

Normal distribution with =5, =0.

Find area from 4.8 to 5.

Solution 1: =STANDARDIZE(4.8,5,0.2) Gives - =STANDARDIZE(5.4,5,0.2) Gives 2 =NORMSDIST(2)-NORMSDIST(-1) = 0. Solution 2: =NORMDIST(5.4,5,0.2,TRUE)- NORMDIST(4.8,5,0.2,TRUE) = 0.

Inverse Problem

Given ,  and probability, find x

=NORMINV(prob,mean,stddev)

Given probability, find z

=NORMSINV(prob)

Note: The probability is the area under the curve from minus infinity to x (or z)