How To Check Normality of a Variable In Stata

This article will go over how we can check the normality of a variable in Stata. Quite often, it is thought necessary for dependent and independent variables in a regression to have a normal distribution. Though sometimes confused with the normality assumption of regression, however, it is the distribution of the error term that is …

How to Reshape Data from Long to Wide form in Stata

This article will go over, in detail, about the reshape command in Stata. It is worth starting by looking at why exactly we need to use this command. The first thing we need to understand before diving into reshape is the concept of “wide form” and “long form”. The Difference Between Wide and Long Form …

Enter Questionnaire Data in Stata | Survey Data in Stata

Questionnaire/Survey data is called primary data as it is collected directly by researchers for their study and analysis from the primary sources of interest. When we use data collected by someone else for our analysis, it is called secondary data as it is not obtained directly by ourselves. This article will go over how we …

Correlation Analysis in Stata (Pearson, Spearman, Listwise, Casewise, Pairwise)

This article will talk about correlations – how they can be obtained in Stata, their various types, various interpretations, Pearson and Spearman correlations, listwise (casewise) and pairwise deletion, and some other concepts pertaining to correlations. Correlation is simply defined as the association/relationship between two variables. For example, an education can have a positive correlation with …

How To Make Heatplot In Stata | Correlation Heat Plot

In this article, we look at how a correlation matrix or a heat plot can be created in Stata. Heat plots are a more visually appealing way of representating the correlations between different variables. You can adjust the colour palette and what each colour represents on your own, though typically, a darker red colour indicates …