Create a new user For this example, we will be using a Linux username hyperion. In order to create a new user in Linux and set up a password, use the following commands: Note: -m is required in order to create user’s home directory the command to remove the user is: userdel hyperion To make sure that the user has been created, […]
One sample t-test in Excel
Recently I needed to quickly perform a one sample t-test in an Excel spreadsheet. Unfortunately, this functionality is not implemented in Excel by default. However, I found a very nice post by Zach at Statology on how to calculate this test using some build-in Excel functions and objects. For my convenience what I did was to put the whole procedure […]
General linear model in Python and C
The goal of this post is to explain how to use general linear model in Python and C. It is assumed that the reader has basic understanding of the regression inference. Introduction Why are we using Python and C in this example? Python code is often said to be an “executable pseudocode”, i.e., Python syntax is relatively easy to read […]
What is ANCOVA?
In a broad term, analysis of covariance (ANCOVA) is equivalent to multiple linear regression. However, there is a difference in the context in which these two approaches are utilized.