Skip to main content

Importance of exploratory data analysis of dummy variables, logit/probit using eviews

By IMPRI Team 
 
IMPRI Generation Alpha Data Centre (GenAlphaDC) along with IMPRI Impact and Policy Research Institute, New Delhi conducted a Two-Week Immersive Online Hands-On Certificate Training Course on Exploratory Data Analysis with Categorical Variables Regression Models Dummy Variables and Logit/Probit using EViews, on December 10 and 17, 2022. The expert trainer for the course was Professor Nilanjan Banik, Professor at Mahindra University. He is a Visiting Consultant at IMPRI and an Academic Consultant with Geneva Network, United Kingdom, and a Senior Consultant with Hankuk University of Foreign Studies, South Korea.
The convenors for the event were Prof Vibhuti Patel, Visiting Professor at IMPRI and a Former Professor, Tata Institute of Social Sciences (TISS), Mumbai; Dr Soumyadip Chattopadhyay, Associate Professor, Economics, Visva-Bharati, Santiniketan and a Visiting Senior Fellow, IMPRI; Dr Arjun Kumar, Director, IMPRI. The training course had participants from the field of data and policy– including students, professionals, researchers, and many others.

Day 1 | December 10, 2022

The session began by going through the basics of Regression. The first question he pondered upon is what the meaning of a “dummy” is. He stated that in essence, it means a replica. Here, in a regression model, if X is a dummy variable, it means that it is a qualitative variable. He began by laying down some assumptions about the dependent and the independent variables. First, X and the Error Term (e) are not related, if related, there will be a problem of endogeneity. X is not quantitative if it is a dummy variable. He explained how we can constitute various qualitative traits in a dummy variable such as gender, and ethnicity among others in a regression model. It tries to capture the impact of any variable that is qualitative in nature.
Second, he mentioned that a dummy variable can capture any break or shift in data. He used the example of the Indian economic reforms of 1991, which was a breakpoint in terms of per capita GDP levels. After 1991 there was a big jump in GDP growth. In other words, there was a structural break. Dummy variables can capture such structural breaks. Thirdly, he mentioned that dummy variables can also be used to de-seasonalize the data. Using Excel, he showed how to incorporate dummy variables in a regression model and how dropping a dummy variable is important in order to avoid a Dummy Trap. He also showed how to de-seasonalize the data, using Excel. After de-seasonalizing the graph turned out to be more stable than before.
After explaining over Excel, he showcased the same data set on EViews. He selected the variables such as sales figures, trends, etc. He then created the dummy variables out of the four quarters. He ran the regression without the dummy first. Then he showcased a data set where he introduced a dummy and ran the regression. The data set used was US Trends in Gross Personal Income and Gross Personal Savings from 1959 to 2007. The dummy variables reflected the recession points from 1981 to 1984. The regression diagram consequently showed the breaking point due to the recession of 1981. The session ended for the day with this, after which, Professor Banik went on to take questions and clear doubts of the trainees. The next class was saved to learn Logit and Probit Models.

Day 2 | December 17, 2022

The second day of the session conducted by Professor Nilanjan Banik, titled, “Exploratory Data Analysis with Categorical Variables Regression Models: Dummy Variables and Logit/Probit using EViews” was devoted to the concepts of Logit and Probit. Professor Banik started by explaining the basic equation of a regression model, and the components within it. Here, the motive was to explain the concept of dummy variables, and the Probit/Logit model, when the variables X and Y are qualitative respectively. Then with an example of hourly wage rates, he showed how to interpret dummy variables for various categorical variables.
After explaining dummy variables, he followed it up by talking about Logit functions. He mentioned that in Logit functions, the dependent variable, Y, takes values of 1 or 0. The Logit or Probit model describes the odds of an individual meeting the outcome variable, given a certain trait or characteristic. He mentioned the importance of LR tests in Probit models. The Logit/Probit models primarily deal with the dependent variable (Y). He showed that the Y variable takes values between negative infinity to positive infinity. He proved this by showing the method to derive the value of Y using Probability. Since the P value will be between the value of 0 and 1, the Y value will take the value of negative Infinity to positive infinity.
After delving into theory, he started a practical lesson on the above discussions with the help of a data set on EViews. First, he showed how to introduce dummy variables on a set of observations. Then, Professor Banik went on to show how to interpret Logit functions on EViews. For this, he again used the previous US data on Savings and Income to show the recession point. Using other data he showed how smoking is affected by age, income, and education. He explained what the P value shows using the formula for the same. He also showed it practically based on the regression model and the results generated from it. Then he took questions from the trainees which he promptly clarified. With this, the two-day training course ended.
---
Acknowledgement: Aaswash Mahanta is a research intern at IMPRI

Comments

TRENDING

From plagiarism to proxy exams: Galgotias and systemic failure in education

By Sandeep Pandey*   Shock is being expressed at Galgotias University being found presenting a Chinese-made robotic dog and a South Korean-made soccer-playing drone as its own creations at the recently held India AI Impact Summit 2026, a global event in New Delhi. Earlier, a UGC-listed journal had published a paper from the university titled “Corona Virus Killed by Sound Vibrations Produced by Thali or Ghanti: A Potential Hypothesis,” which became the subject of widespread ridicule. Following the robotic dog controversy coming to light, the university has withdrawn the paper. These incidents are symptoms of deeper problems afflicting the Indian education system in general. Galgotias merely bit off more than it could chew.

Covishield controversy: How India ignored a warning voice during the pandemic

Dr Amitav Banerjee, MD *  It is a matter of pride for us that a person of Indian origin, presently Director of National Institute of Health, USA, is poised to take over one of the most powerful roles in public health. Professor Jay Bhattacharya, an Indian origin physician and a health economist, from Stanford University, USA, will be assuming the appointment of acting head of the Centre for Disease Control and Prevention (CDC), USA. Bhattacharya would be leading two apex institutions in the field of public health which not only shape American health policies but act as bellwether globally.

The 'glass cliff' at Galgotias: How a university’s AI crisis became a gendered blame game

By Mohd. Ziyaullah Khan*  “She was not aware of the technical origins of the product and in her enthusiasm of being on camera, gave factually incorrect information.” These were the words used in the official press release by Galgotias University following the controversy at the AI Impact Summit in Delhi. The statement came across as defensive, petty, and deeply insensitive.

Farewell to Saleem Samad: A life devoted to fearless journalism

By Nava Thakuria*  Heartbreaking news arrived from Dhaka as the vibrant city lost one of its most active and committed citizens with the passing of journalist, author and progressive Bangladeshi national Saleem Samad. A gentleman who always had issues to discuss with anyone, anywhere and at any time, he passed away on 22 February 2026 while undergoing cancer treatment at Dhaka Medical College Hospital. He was 74. 

Growth without justice: The politics of wealth and the economics of hunger

By Vikas Meshram*  In modern history, few periods have displayed such a grotesque and contradictory picture of wealth as the present. On one side, a handful of individuals accumulate in a single year more wealth than the annual income of entire nations. On the other, nearly every fourth person in the world goes to bed hungry or half-fed.

From ancient wisdom to modern nationhood: The Indian story

By Syed Osman Sher  South of the Himalayas lies a triangular stretch of land, spreading about 2,000 miles in each direction—a world of rare magic. It has fired the imagination of wanderers, settlers, raiders, traders, conquerors, and colonizers. They entered this country bringing with them new ethnicities, cultures, customs, religions, and languages.

Thali, COVID and academic credibility: All about the 2020 'pseudoscientific' Galgotias paper

By Jag Jivan*    The first page image of the paper "Corona Virus Killed by Sound Vibrations Produced by Thali or Ghanti: A Potential Hypothesis" published in the Journal of Molecular Pharmaceuticals and Regulatory Affairs , Vol. 2, Issue 2 (2020), has gone viral on social media in the wake of the controversy surrounding a Chinese robot presented by the Galgotias University as its original product at the just-concluded AI summit in Delhi . The resurfacing of the 2020 publication, authored by  Dharmendra Kumar , Galgotias University, has reignited debate over academic standards and scientific credibility.

'Serious violation of international law': US pressure on Mexico to stop oil shipments to Cuba

By Vijay Prashad   In January 2026, US President Donald Trump declared Cuba to be an “unusual and extraordinary threat” to US security—a designation that allows the United States government to use sweeping economic restrictions traditionally reserved for national security adversaries. The US blockade against Cuba began in the 1960s, right after the Cuban Revolution of 1959 but has tightened over the years. Without any mandate from the United Nations Security Council—which permits sanctions under strict conditions—the United States has operated an illegal, unilateral blockade that tries to force countries from around the world to stop doing basic commerce with Cuba. The new restrictions focus on oil. The United States government has threatened tariffs and sanctions on any country that sells or transports oil to Cuba.

Conversion laws and national identity: A Jesuit response response to the Hindutva narrative

By Rajiv Shah  A recent book, " Luminous Footprints: The Christian Impact on India ", authored by two Jesuit scholars, Dr. Lancy Lobo and Dr. Denzil Fernandes , seeks to counter the current dominant narrative on Indian Christians , which equates evangelisation with conversion, and education, health and the social services provided by Christians as meant to lure -- even force -- vulnerable sections into Christianity.