teaching statistical concepts with simulated data

172
Teaching Statistical Concepts with Simulated Data Andrej Blejec National Institute of Biology and University of Ljubljana Ljubljana, Slovenia [email protected]

Upload: alec-workman

Post on 01-Jan-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Teaching Statistical Concepts with Simulated Data. Andrej Blejec National Institute of Biology and University of Ljubljana Ljubljana, Slovenia [email protected]. Kinds of data. real life data invented data simulated data. Real life data. interesting for students - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Teaching Statistical Concepts with Simulated Data

Teaching Statistical Concepts with Simulated Data

Andrej Blejec

National Institute of Biology andUniversity of LjubljanaLjubljana, Slovenia

[email protected]

Page 2: Teaching Statistical Concepts with Simulated Data

Kinds of data

• real life data• invented data• simulated data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 3: Teaching Statistical Concepts with Simulated Data

Real life data

• interesting for students• need subject matter knowledge to interpret

statistical results• oversimplified problems• complex problems• unclear relevance of statistical results

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 4: Teaching Statistical Concepts with Simulated Data

Invented data

• a collection of data, no story• useful mostly for calculation drill• no possible interpretation of results• uninteresting for students

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 5: Teaching Statistical Concepts with Simulated Data

Simulated data

• sampled from known distribution• composed according to prespecified model

e.g. Y = a + b * X + , with known distribution of X and

• known statistical propertiese.g. mean, variance, regression coefficient

• analysis results can be compared to true values

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 6: Teaching Statistical Concepts with Simulated Data

Goals of teaching statistics

• interest for statistics• understanding of statistical methods• skills in use of statistics• experiences in analyzing data• other ( insert your own :) ___________

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 7: Teaching Statistical Concepts with Simulated Data

real life data

invented data

simulated data

interest

understanding

skills

experiences

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 8: Teaching Statistical Concepts with Simulated Data

Sun

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Absorption spectrum

Page 9: Teaching Statistical Concepts with Simulated Data

Sun

Hydrogen

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 10: Teaching Statistical Concepts with Simulated Data

Sun

Hydrogen

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 11: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 12: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 13: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 14: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 15: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 16: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 17: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 18: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 19: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 20: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 21: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 22: Teaching Statistical Concepts with Simulated Data

Least squares estimate of the mean

Page 23: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 24: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 25: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 26: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 27: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 28: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 29: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 30: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 31: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 32: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 33: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 34: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 35: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 36: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 37: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 38: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 39: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 40: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 41: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 42: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 43: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 44: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 45: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 46: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 47: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

810

12

m*

Varia

nce

0 1 2 3 4 5 6

01

23

4

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 48: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

02

46

81

01

2

m*

Va

ria

nce

0 1 2 3 4 5 6

01

23

4

True mean value μTrue mean value μ

LS estimateLS estimate

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Mea

n sq

uare

d de

viat

ions

Page 49: Teaching Statistical Concepts with Simulated Data

Maximum likelihood estimation of the mean

Page 50: Teaching Statistical Concepts with Simulated Data

x

0 1 2 3 4 5 6

x

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 51: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 52: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 53: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 54: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 55: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 56: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 57: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 58: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 59: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 60: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 61: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 62: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 63: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 64: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 65: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 66: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 67: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 68: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 69: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 70: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 71: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 72: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 73: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 74: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 75: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 76: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 77: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 78: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 79: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 80: Teaching Statistical Concepts with Simulated Data

x

p(x

|m)

0 1 2 3 4 5 6

0.0

0.1

0.2

0.3

0.4

m*

Lo

g li

kelih

oo

d

0 1 2 3 4 5 6

-80

-60

-40

-20

0

True mean value μTrue mean value μ

ML estimateML estimate

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 81: Teaching Statistical Concepts with Simulated Data

Maximum likelihood estimate of standard deviation

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 82: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 83: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)Lo

g lik

elih

ood

p (

x | s

d )

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 84: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)Lo

g lik

elih

ood

p (

x | s

d )

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 85: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)Lo

g lik

elih

ood

p (

x | s

d )

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 86: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)Lo

g lik

elih

ood

p (

x | s

d )

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 87: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)Lo

g lik

elih

ood

p (

x | s

d )

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 88: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 89: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 90: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 91: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 92: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 93: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 94: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 95: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 96: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 97: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 98: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 99: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 100: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 101: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 102: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 103: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 104: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 105: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 106: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 107: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 108: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 109: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 110: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 111: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 112: Teaching Statistical Concepts with Simulated Data

x

p(x|

sd)

0 1 2 3 4 5 6

0.0

0.2

0.4

0.6

sd

Log

likel

ihoo

d

0 1 2 3 4 5 6

-100

-60

-20

Log

likel

ihoo

dp

( x

| sd

)

ML estimateML estimate

True standard deviation σTrue standard deviation σ

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 113: Teaching Statistical Concepts with Simulated Data

Hypothesis testing:

significance

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 114: Teaching Statistical Concepts with Simulated Data

Hypothesis testing:

significance

or rather a surprise ?

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 115: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12

H0: mu= 50

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 116: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12

H0: mu= 50

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 117: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12

H0: mu= 50

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 118: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12

H0: mu= 50

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 119: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

SAMPLE

H0: mu= 50

020

4060

8010

012

0

SAMPLE

H1: mu= 80

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 120: Teaching Statistical Concepts with Simulated Data

020

4060

8010

012

0

SAMPLE

H0: mu= 50

020

4060

8010

012

0

SAMPLE

H1: mu= 80

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 121: Teaching Statistical Concepts with Simulated Data

Confidence intervals

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 122: Teaching Statistical Concepts with Simulated Data

Weldon, K.L. Statistics: A Conceptual Approach.. Prentice-Hall. New York. 1986

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 123: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 124: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 125: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 126: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 127: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 128: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 129: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 130: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 131: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 132: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 133: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 134: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 135: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 136: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 137: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 138: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 139: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 140: Teaching Statistical Concepts with Simulated Data

Bad sampling implies bias

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 141: Teaching Statistical Concepts with Simulated Data

Bias due to “leave max out”

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 142: Teaching Statistical Concepts with Simulated Data

Confidence intervals for variance

Biased and unbiased estimators

Page 143: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 144: Teaching Statistical Concepts with Simulated Data

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 145: Teaching Statistical Concepts with Simulated Data

var

0 5 10 15 20 25

02

04

06

08

01

00

rnorm | var | n= 5 | biased

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

02

46

81

01

2

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 146: Teaching Statistical Concepts with Simulated Data

var

0 5 10 15 20 25

02

04

06

08

01

00

rnorm | var | n= 5 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

02

46

81

0

var var

0 1 2 3 4 5

02

04

06

08

01

00

unbiased

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 147: Teaching Statistical Concepts with Simulated Data

var

0 2 4 6

02

04

06

08

01

00

rnorm | var | n= 10 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

05

10

15

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 148: Teaching Statistical Concepts with Simulated Data

var

0 1 2 3 4

02

04

06

08

01

00

rnorm | var | n= 25 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

05

10

15

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 149: Teaching Statistical Concepts with Simulated Data

var

0.0 0.5 1.0 1.5 2.0

02

04

06

08

01

00

rnorm | var | n= 50 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

05

10

15

20

25

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 150: Teaching Statistical Concepts with Simulated Data

var

0.0 0.5 1.0 1.5 2.0

02

04

06

08

01

00

rnorm | var | n= 100 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

01

02

03

0

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 151: Teaching Statistical Concepts with Simulated Data

var

0.0 0.5 1.0 1.5

02

04

06

08

01

00

rnorm | var | n= 200 |

var

0 1 2 3 4 5

02

04

06

08

01

00

0 1 2 3 4 5

01

02

03

04

0

var var

0 1 2 3 4 5

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 152: Teaching Statistical Concepts with Simulated Data

Confidence intervals for variance:

what if assumptions are not met?

Case of asymetric parent population

Page 153: Teaching Statistical Concepts with Simulated Data

var

0 100 200 300 400

02

04

06

08

01

00

rlnorm | var | n= 5 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

01

02

03

04

0

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 154: Teaching Statistical Concepts with Simulated Data

var

0 50 100 150

02

04

06

08

01

00

rlnorm | var | n= 10 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

05

10

15

20

25

30

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 155: Teaching Statistical Concepts with Simulated Data

var

0 50 100 150 200

02

04

06

08

01

00

rlnorm | var | n= 25 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

05

10

15

20

25

30

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 156: Teaching Statistical Concepts with Simulated Data

var

0 10 20 30 40 50

02

04

06

08

01

00

rlnorm | var | n= 50 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

05

10

15

20

25

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 157: Teaching Statistical Concepts with Simulated Data

var

0 5 10 15 20

02

04

06

08

01

00

rlnorm | var | n= 100 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

05

10

15

20

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 158: Teaching Statistical Concepts with Simulated Data

var

0 5 10 15 20 25 30

02

04

06

08

01

00

rlnorm | var | n= 200 |

var

0 5 10 15 20

02

04

06

08

01

00

0 5 10 15 20

05

10

15

20

25

30

var var

0 5 10 15 20

02

04

06

08

01

00

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 159: Teaching Statistical Concepts with Simulated Data

Confidence band in linear regression

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 160: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

y = -0.142 + 0.974 * Xr^2= 0.538

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 161: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

y = -0.142 + 0.974 * Xr^2= 0.538

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 162: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

y = 0 + 1 *N(0, 1 )+N(0, 1 ) n= 50 Conf. level = 0.95 r^2 = 0.5

0.153 + 1.07 * Xr^2= 0.413

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 163: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 1 )

n= 40 Conf. level = 0.95 r^2 = 0.5

-0.0934 + 0.923 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 164: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 1 )

n= 40 Conf. level = 0.95 r^2 = 0.5

-0.0934 + 0.923 * X-0.0934 + 0.923 * X-0.11 + 1.04 * X-0.11 + 1.04 * X-0.00754 + 1.01 * X-0.00754 + 1.01 * X0.0667 + 1.23 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 165: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 1 )

n= 40 Conf. level = 0.95 r^2 = 0.5

-0.0934 + 0.923 * X-0.0934 + 0.923 * X-0.11 + 1.04 * X-0.11 + 1.04 * X-0.00754 + 1.01 * X-0.00754 + 1.01 * X0.0667 + 1.23 * X0.0667 + 1.23 * X-0.0458 + 1.18 * X-0.0458 + 1.18 * X0.0297 + 1.08 * X0.0297 + 1.08 * X-0.205 + 0.785 * X-0.205 + 0.785 * X0.0115 + 0.833 * X0.0115 + 0.833 * X0.0933 + 1.2 * X0.0933 + 1.2 * X0.00637 + 0.968 * X0.00637 + 0.968 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 166: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 1 )

n= 40 Conf. level = 0.95 r^2 = 0.5

-0.2 + 0.841 * X-0.2 + 0.841 * X-0.257 + 1.18 * X-0.257 + 1.18 * X0.116 + 0.751 * X0.116 + 0.751 * X0.00216 + 0.907 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 167: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 1 )

n= 40 Conf. level = 0.95 r^2 = 0.5

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 168: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 4 )

n= 40 Conf. level = 0.95 r^2 = 0.2

-0.4 + 0.683 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 169: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 4 )

n= 40 Conf. level = 0.95 r^2 = 0.2

-0.4 + 0.683 * X-0.4 + 0.683 * X-0.514 + 1.36 * X-0.514 + 1.36 * X0.232 + 0.501 * X0.232 + 0.501 * X0.00432 + 0.815 * X0.00432 + 0.815 * X-0.695 + 1.04 * X-0.695 + 1.04 * X-0.0815 + 0.528 * X-0.0815 + 0.528 * X-0.234 + 1.07 * X-0.234 + 1.07 * X-0.723 + 0.653 * X-0.723 + 0.653 * X0.161 + 1.56 * X0.161 + 1.56 * X-0.359 + 0.595 * X-0.359 + 0.595 * X

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 170: Teaching Statistical Concepts with Simulated Data

x

y

-3 -2 -1 0 1 2 3

-3-2

-10

12

3y = 0 + 1 *N(0, 1 )+N(0, 4 )

n= 40 Conf. level = 0.95 r^2 = 0.2

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 171: Teaching Statistical Concepts with Simulated Data

Final remarks

• Graphically supported simulations can to some extent ‑ ‑replace the proofs, usually not understandable to non-mathematics majors. Maybe they are the answer to some questions:

• "If an audience is not convinced by proof, why do proof? (Moore, 1996)

• “Do [students] need to know the theory or do they need to understand the concept?” (J Brown and I David, ICOTS8, 2010)

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011

Page 172: Teaching Statistical Concepts with Simulated Data

• Simulated data have to be combined with real life data and projects

• Simulated data can serve as pure and simple data on which we can train our perception for statistical results and learn what patterns and properties in data can be revealed by applied method

• After such preparation students will be able to interpret the real life and subject matter data in all their complexity

Workshop in Methodology of Teaching Statistics / Novi Sad, December 13, 2011