2007/03/29

Tip for Individual Assignment

OK, so here is an easier way to approach the individual assignment ;-)

This example is for quadrant 3, but it applies to all of the other ones. To gather more data on how the frequencies of numbers change as the cycles progess, instead of running the box 1 cycle at a time, do the following:

1) Before it runs, on cycle 1, write down or print the initial state of one of the quadrants.

2) Then run it for, say, 40 cycles. Observe the new matrix. There will have been 40 changes in the quadrant, though you will observe less than these because the same cell may have changed more than once or changed into the same digit. Collect the set of N digits that changed -- all you have to do is compare the two matrices and spot the differences. Now calculate the frequency of each digit, for example: #0's = 8, #1's =13, #2's = 9, .... Calculate the relative frequency and histogram #0's/N, #1's/N, ...

3) Now run it for 100 cycles. Write down or print the new state of the matrix. Do the
same thing as in 2): run another 40 cycles and collect a new set of changes.

4) Now run it for 300 cycles. Write down or print the new state of the matrix. Do the same thing as in 2): run another 40 cycles and collect a new set of changes.

5) compare the 3 different frequency distributions you got. Note that the number of changes N you will observe in 2) 3) and 4) will decrease, as the matrix will tend to be filled with 0's.

Hope this helps!

Labels: ,

2007/03/27

Slides for Lecture 19 online

Lecture 19: Probability


Labels: ,

2007/03/22

Slides for leacture 18 online

Lecture 18: Inductive Model Building: Linear Regression

Labels: ,

2007/03/21

Lecture slides for lecture 17 online

Lecture 17: Inductive Model Building: Measures of Central Tendency and Dispersion


"Partial Graph of the U.S. Income Distribution. The graph represents the population of the United States lined up, left to right, according to income. The height of the graph at any point is the height of a stack of $100 bills equaling that person's income."


"This is a continuation of the previous graph. On the scale of this picture each pixel (dot) represents 250 meters (273 yards), so the football field is invisible. The height of the vertical spike varies from year to year. The height shown represents the increase in Bill Gates' net worth in his best year ($50 billion)".
http://houston.indymedia.org/news/2003/07/14100.php

Labels: , , ,

2007/03/06

Links for Lecture 15

Sets
Set Operations in Venn Diagrams
Venn Diagram Applet

Induction
David Hume
Doug's Random Sample Applet
The Code Book Online from Simon Singh.

Against All Odds Statistics Videos


Labels: , , , ,