This was my Final Project in Computational Statistics.
The main focus of this project was to create a program in R that would analyze randomness of a color configuration. I personally collected all of the data for my experiment. The subjects of my experiment were 10 children ages 4 to 10 years. The subjects placed 25 tokens in five different colors on a 56 by 28 unit grid. I used Nearest Neighbor approach to pull out which tokens were closest to each other. Then I used Chi-Squared analysis to assign a value of the difference between actual color configuration and expected nearest neighbor configuration. I ran Monte Carlo simulations with 100000 iterations to determine which S values were unlikely to happen by chance. My results showed that 5 subjects placed the tokens ”randomly”. One subject refused to let me record his results.