Sunday, September 03, 2006

Busy and of randomness

Currytan has spoken:

0 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1

1 1 0 1 0 1 0 0 0 0 1 1 0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 1 0 1 1



Can't decipher? It means I have been so busy that I couldn't find the time to blog during weekdays anymore.. Tutorials seem endless and lab report for PSPICE robbed us of quite a considerable amount of time.

Oh btw, which of the above sequence do you think is random? Heh.

2 comments:

tussand said...

Pardon me for dropping in but I am so stoned that I went clicking on Technorati links.

And on randomness, I can safely say that none of the above sequences are random. Because you put them there for a purpose. Therefore it can be said that they were generated purposefully albeit in different manners.

230am. And it's only the 4th week. Bloody Hades.

JH said...

Well actually that sequence and question are from my stats gem class.

For pure randomness, the occurence of 0 or 1 is 0.5. Or to put it another way, it means that the probablility of switching from 0 to 1 or 1 to 0 is 0.5. Since there are 31 numbers, the max number of switching is 30, meaning that the number of switch for a random sequence is 15. For the 1st sequence, the number of switch is 17 and the 2nd one is 14. Thus the 2nd sequence is more random.

By intuition, i would also have thought that the 2nd one is more random cos if i were to type a sequence of 1's and 0's out while keeping in mind the occurence of 1 and 0 to be 0.5, i will probably have a large number of switching, like the 1st sequence..

Did i make any sense? lol

Oh yea, thks for dropping by! Heh.