Ayesha Irfan

Ayesha Irfan, a 26-year-old data analysis expert with a PhD in Statistics, brings a wealth of knowledge and expertise to her field. With three years of experience in teaching at the university level, she has honed her skills in both data analysis and statistical methodologies, making her a sought-after educator and consultant. Ayesha has been actively involved in academic activities, contributing to research publications and presenting at international conferences. Her passion for education is evident in her dedication to fostering a diverse and inclusive learning environment, ensuring that students from all backgrounds thrive. She holds several certifications in advanced statistical software and data analytics, reflecting her commitment to continuous professional development.

Two-Stage Least Squares (2SLS) Regression in Stata

Introduction Many econometric models often get afflicted by what is called the endogeneity problem. This happens when one or more independent variables are correlated with the error term (omitted variable bias), or when the dependent and independent variables jointly determine each other (simultaneity bias). This problem needs to be addressed because in the presence of […]

Two-Stage Least Squares (2SLS) Regression in Stata Read More »

Problems with Regressions Involving Categorical Variables

When doing regressions of an outcome variable on covariates that involve categorical variables, there are some issues that one needs to be mindful of with such analysis. Some common problems associated with regressions involving categorical variables are: Dummy Variable Trap Usually, when using categorical variables in a regression model, we tend to use dummy variables

Problems with Regressions Involving Categorical Variables Read More »

Use of Compare command in Stata to compare variables

Oftentimes, we need to compare variables with each other in Stata. Stata’s compare command in Stata allows simple comparisons between variables to be made, which will be discussed further in this article. Download Example File The general syntax for this command is: compare variable1 variable2 [if] [in] After writing the command, the two variables to

Use of Compare command in Stata to compare variables Read More »