Python Script to Generate Frequency Counts of Words in a Text

The following python script takes a text file as input and produces an unsorted list of frequency counts of words in the text as an output text file. It's pretty simple and short, and uses only the regular expressions module re of python, which is a standard library, so this script will run in any …

Continue reading Python Script to Generate Frequency Counts of Words in a Text

A/B and Rh Antigens in Blood Types: A Statistical Test of Independence among IISER Kolkata Students

A couple of days ago one of my juniors in college (Indian Institute of Science Education and Research, Kolkata) found unguarded in the guest account of our computing system a spreadsheet. This spreadsheet contained the blood types of the Masters students across five batches (‘07-‘13). With this information he made a nice little bar diagram …

Continue reading A/B and Rh Antigens in Blood Types: A Statistical Test of Independence among IISER Kolkata Students

A Statistical Problem on Laptop Uptimes

Suppose you are in a large university campus. Most students here use laptops, and if you look around, you’d see most of them either working, listening to music or doing something else on their laptops. Suppose now you think of a quick project, of listing the uptimes of the laptops (how long they’ve been running). …

Continue reading A Statistical Problem on Laptop Uptimes