Dear Contributors, I conducting epoch analysis. I tried to test the significance of my result using randomization test.
Since I have 71 events, I randomly selected another 71 events, making sure that none of the dates in the random events corresponds with the ones in the real event. Following the code I found here (https://www.uvm.edu/~dhowell/StatPages/R/RandomizationTestsWithR/Random2Sample/TwoIndependentSamplesR.html), I combined these two data set and used them to generate another 5000 events. I then plotted the graph of the mean differences for the 5000 randomly generated events. On the graph, I indicated the region of the mean difference between the real 71 epoch and the randomly selected 71 epoch. Since the two tail test shows that the mean difference falls at the extreme of the randomly selected events, I concluded that my result is statistically significant. I am attaching the graph to assistance you in you suggestions. I can attach both my code and the real and randomly generated events if you ask for it. My request is that you help me to understand if I am on the right track or no. This is the first time I am doing this and except the experts decide, I am not quite sure whether I am right or not. Many thanks for your kind concern. Best Ogbos ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.