Category Archives: Tutorials

Independent t-test in Python

In a previous post we learned how to perform an independent t-test in R to determine whether a difference between two groups is important or significant. In this post we will learn how to perform the same test using the Python programming language. Along the way we will learn a few things about t distributions and calculating confidence intervals. dataset.In

Read more

Independent t-test in R

As scientists, we often want to know if the difference between two groups is important or significant. For example, you may have data on leg strength from students who came to class wearing dress shoes or running shoes. How would you decide if there was a difference in strength between these two groups? How would you quantify the size of

Read more

GitHub: Setting up a version control repository – Part 1

We have been tracking along nicely with the tutorials on using Git for version control. So far, the lessons have focused on version controlling documents on a local computer, but another groovy feature of Git is it allows you and your collaborators to version control documents using GitHub. What is GitHub? GitHub is a web-based version control repository and is

Read more

File in/out: How to import CSV files into Python using Pandas

Comma separated values (CSV) files are a type of text file commonly used to store data. In a CSV file, each line of text contains values separated with commas. CSV files can be imported into Python in different ways (eg. csv.reader, numpy.loadtxt, etc). One useful method is to import CSV files into Pandas dataframes. Pandas package. Pandas is a Python

Read more
« Older Entries