Monthly Archives: April 2018

Fixing statistics

Statistics are not broken. The problem lies with how scientists use, interpret and report them. At the end of 2017, Nature asked five influential statisticians to recommend a key change that would improve science. Adjust for human cognition The first change was proposed by Jeff Leek of the Johns Hopkins School of Public Health, and it is based on the

Read more

Break, Continue and Pass statements using for loops in Python

In programming, for loops are used to automate repetitive tasks, such as analysing similar datasets from different subjects. Sometimes, a dataset might be slightly different to another such that the data can be used but needs to be analysed differently in the loop. For example, data might have been accidentally sampled at a higher rate, or a nested trial needs

Read more