by Erik Marsja | Apr 29, 2023 | Programming, R

In this post, we will learn how to transform data from wide to long in R. Wide-to-long format conversion is often an important data manipulation technique in data analysis. In R, we can use many packages and their functions to transform data from a wide to long...
by Erik Marsja | Apr 23, 2023 | Programming, R

In this blog post, you will learn how to carry out a countif function using base R and dplyr. Countif is a powerful function that allows you to count the number of times a certain condition is met in a dataset. Countif is particularly useful in cognitive hearing...
by Erik Marsja | Apr 22, 2023 | Programming, Python

In this blog post, we will explore the Wilcoxon Signed-Rank test in Python, a non-parametric test for comparing two related samples. We will learn about its hypothesis, uses in psychology, hearing science, and data science. To carry out the Wilcoxon Signed-Rank test...
by Erik Marsja | Apr 10, 2023 | Data Analysis, Programming, R

In this blog post, you will learn how to test for the normality of residuals in R. Testing the normality of residuals is a step in data analysis. It helps determine if the residuals follow a normal distribution, which is important in many fields, including data...
by Erik Marsja | Apr 9, 2023 | Programming, R

This blog will teach you how to carry out the Durbin-Watson Test in R. Have you ever run a linear regression model in R and wondered if the model’s assumptions hold? One common assumption of a linear regression model is the independence of observations, which...
by Erik Marsja | Apr 1, 2023 | Programming, R

In this blog post, we will learn how to sum across columns in R. Summing can be a useful data analysis technique in various fields, including data science, psychology, and hearing science. We will explore several examples of how to sum across columns in R, including...