Math 15 Introduction to Scientific Data Analysis Lecture 6 Interactive Excel University of...

Post on 11-Jan-2016

216 views 0 download

Transcript of Math 15 Introduction to Scientific Data Analysis Lecture 6 Interactive Excel University of...

Math 15Introduction to Scientific Data Analysis

Lecture 6Interactive Excel

University of California, Merced

UC Merced 2

Project #1 – Due March 31st, 2008

Projects can be performed individually or in groups of three, with following rules: Teams turn in one project report and get the same grade. A team consists of at most 3 people—no copying between

teams! Team project report must include a title page, where a team

describe each team member’s contribution. 10% bonus for projects done individually Individual projects must not be copied from anyone else No late project will be accepted!

Project #1 will be posted at UCMCROP by this Wednesday!

April 4thth

UC Merced 3

Any Questions?

UC Merced 4

What do you think about Math 15 so far?

Too Easy?Do you need more work to do?

UC Merced 5

Review: Average or median age?

UC Merced 6

Average or median age?

UC Merced 7

Standard Deviation

Variance or Standard Deviation The one on the left is more dispersed than the one

on the right. It has a higher variance or standard deviation.

UC Merced 8

σ 68.37%

2σ 95.45%

3σ 99.73%

4σ 99.99%

The confidence intervals are as follows:

2

σ

UC Merced 9

where s is the standard deviation Example: weight of the Quarter,

mean valueReal

g1.067.5

This means that:~70% of the quarter have their weights in between 5.57 and 5.77g

UC Merced 10

Common Practice for Data Analysis

A common task in data analysis is to investigate an association between two variables.

To see if two variables vary together Correlation coefficient is not evidence for a causal

relationship.

To see how one variable affect another. when we have some reasons to believe that

changes in one variable cause changes in the other.

Correlation

Regression

UC Merced 11

Examples from Last week

Ice cream sales correlate with the number of people who drown at sea. Therefore, ice cream causes people to

drown.

Since the 1950s, both the atmospheric CO2 level and crime levels have increased sharply. Hence, atmospheric CO2 causes crime.

UC Merced 12

Is There an iCrime Wave?

Apple iPod Causes Crime.

UC Merced 13

New national FBI statistics show violent crime increased in 2005 and 2006 -- the first jumps in 14 years, and the recent increases defy easy explanation.

In the fall of 2004, a new generation of iPods was introduced and consumer demand exploded. Bythe end of 2005, more than 42.3 million units had been sold, and by the end of 2006, the total wasalmost 90 million.

UC Merced 14

Is There an iCrime Wave?

A study has found out that there is a direct correlation between iPods and crime. Apple iPod causes crime.

Study says, “There has been no causal relationship established in the study between the ubiquity of iPods and crime rates but the correlation is there.”,

may cause

UC Merced 15

Any Questions?

UC Merced 16

This Week!

Interactive Excel

Review – Adding Error Bars

where s is the standard deviation

mean valueReal

UC Merced 17

IF() Function

IF() is a very powerful and universal function. The IF function makes decisions for you according to your own rules, as expressed in its arguments.

Function: = IF(logical_test,value_if_true,value_if_false)

In Cell B1, type the function,

=IF(A1>=500,”You’ve got a A”,”You did not get a A”).

A B

1 498 =IF(A1>=500,…You did not get a A!

UC Merced 18

Creating an interactive graph

UC Merced 19

Next Week – March 17th!

No Homework!

You will be introduced to a computer programming language: