Feb 21 Lecture - 1 Simulation Size square6 How many...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Simulation Size square6 How many replicates do we need in a simulation? square6 Depends on the frequency of the event we are modeling boxshadowdwn Rarer events need more replicates square6 Can assess adequacy of simulation size by stability of results if two runs of the same size give very different results, then the simulation is too small Simulation Size square6 For the homework, some simulations of 10 replicates did not have a single p-value as small as the one we are evaluating, suggesting the finding in the real data is rare square6 Other replicates had several p-values as small as the real data, suggesting the p-value in the real data is quite likely to happen by chance square6 We need a bigger simulation 2 Automating the Simulation square6 The next step would be to try a simulation of 100 or maybe 250 or even 500 replicates square6 It would be very tedious to manually launch the simulation program and Unphased that many times and manually gather the results from that many output files square6 We can write some programs to do the hard work for us! Automating the Simulation square6 The first step will be to write a program that will automatically find the p-values in the Unphased output files square6 We will write a simple version of the program today, then modify it into a somewhat more complicated form on Thursday square6 Since an important part of programming is modifying other peoples code, you will be altering somebody elses code on Thursday 3 Program Specifications square6 Write a program best.py square6 The program should run in an interactive...
View Full Document

This note was uploaded on 04/04/2011 for the course GENETICS 302 taught by Professor Hey during the Spring '11 term at Rutgers.

Page1 / 9

Feb 21 Lecture - 1 Simulation Size square6 How many...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online