सीधे मुख्य सामग्री पर जाएं

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

टिप्पणियाँ

ट्रेंडिंग

नफरती बातें: मुसलमानों में असुरक्षा का भाव बढ़ रहा है, वे अपने मोहल्लों में सिमट रहे हैं

- राम पुनियानी*  भारत पर पिछले 10 सालों से हिन्दू राष्ट्रवादी भारतीय जनता पार्टी (भाजपा) राज कर रही है. भाजपा आरएसएस परिवार की सदस्य है और आरएसएस का लक्ष्य है हिन्दू राष्ट्र का निर्माण. आरएसएस से जुड़ी सैंकड़ों संस्थाएँ हैं. उसके लाखों, बल्कि शायद, करोड़ों स्वयंसेवक हैं. इसके अलावा कई हजार वरिष्ठ कार्यकर्ता हैं जिन्हें प्रचारक कहा जाता है. भाजपा के सत्ता में आने के बाद से आरएसएस दुगनी गति से हिन्दू राष्ट्र के निर्माण के अपने एजेण्डे को पूरा करने में जुट गया है. यदि भाजपा को चुनावों में लगातार सफलता हासिल हो रही है तो उसका कारण है देश में साम्प्रदायिकता और साम्प्रदायिक मुद्दों का बढ़ता बोलबाला. इनमें से कुछ हैं राम मंदिर, गौमांस और गोवध एवं लव जिहाद. 

हिंदी आलोचना जैसे पिछड़ चुके अनुशासन की जगह हिंदी वैचारिकी का विकास जरूरी

0 - प्रमोद रंजन  भारतीय राजनीति में सांप्रदायिक व प्रतिक्रियावादी ताकतों को सत्ता तक पहुंचाने में हिंदी पट्टी का सबसे बड़ा योगदान है। इसका मुख्य कारण हिंदी-पट्टी में कार्यरत समाजवादी व जनपक्षधर हिरावल दस्ते का विचारहीन, अनैतिक और  प्रतिक्रियावादी होते जाना है। अगर हम उपरोक्त बातों को स्वीकार करते हैं, तो कुछ रोचक निष्कर्ष निकलते हैं। हिंदी-जनता और उसके हिरावल दस्ते को विचारहीन और प्रतिक्रियावादी बनने से रोकने की मुख्य ज़िम्मेदारी किसकी थी?

देशव्यापी ग्रामीण भारत बंध में उतरे मध्य प्रदेश के आदिवासी, किया केंद्र सरकार का विरोध

- हरसिंग जमरे, भिखला सोलंकी, रतन अलावे*  15 और 16 फरवरी को निमाड के बड़वानी, खरगोन और बुरहानपुर में जागृत आदिवासी दलित संगठन के नेतृत्व में आदिवासी महिला-पुरुषों ग्रामीण भारत बंद में रैली एवं विरोध प्रदर्शन किया । प्रधान मंत्री द्वारा 2014 में फसलों की लागत का डेढ़ गुना भाव देने का वादा किया गया था, 2016 में किसानों की आय दुगना करने का वादा किया गया था । आज, फसलों का दाम नहीं बढ़ रहा है, लेकिन खेती में खर्च बढ़ता जा रहा है! खाद, बीज और दवाइयों का दाम, तीन-चार गुना बढ़ चुका है! किसानों को लागत का डेढ़ गुना भाव देने के बजाए, खेती को कंपनियों के हवाले करने के लिए 3 काले कृषि कानून लाए गए । 3 काले कानून वापस लेते समय प्रधान मंत्री ने फिर वादा किया था कि फसलों की लागत का डेढ़ गुना भाव की कानूनी गारंटी के लिए कानून बनाएँगे, लेकिन वो भी झूठ निकला! आज जब देश के किसान दिल्ली में आपको अपना वादा याद दिलाने आए है, तब आप उनका रास्ता रोक रहें है, उनके साथ मारपीट कर उन पर आँसू गैस फेंक रहें हैं, उन पर छर्रों से फायरिंग कर रहें है! देश को खिलाने वाला किसान खुद भूखा रहे, क्या यही विकास है?

How the slogan Jai Bhim gained momentum as movement of popularity and revolution

By Dr Kapilendra Das*  India is an incomprehensible plural country loaded with diversities of religions, castes, cultures, languages, dialects, tribes, societies, costumes, etc. The Indians have good manners/etiquette (decent social conduct, gesture, courtesy, politeness) that build healthy relationships and take them ahead to life. In many parts of India, in many situations, and on formal occasions, it is common for people of India to express and exchange respect, greetings, and salutation for which we people usually use words and phrases like- Namaskar, Namaste, Pranam, Ram Ram, Jai Ram ji, Jai Sriram, Good morning, shubha sakal, Radhe Radhe, Jai Bajarangabali, Jai Gopal, Jai Jai, Supravat, Good night, Shuvaratri, Jai Bhole, Salaam walekam, Walekam salaam, Radhaswami, Namo Buddhaya, Jai Bhim, Hello, and so on.

રામનવમીના દિવસે મુસ્લિમ ધાર્મિક સ્થળો અને વિસ્તારોને અસામાજિક તત્વોથી રક્ષણ આપવી

- મુજાહિદ નફીસ*  પોલિસ મહાનિદેશક, ગુજરાત, ને આવનારા રામનવમીના તહેવારમાં નીકળતા જુલૂસમાં આવતા અસામાજિક તત્વોથી મુસ્લિમ ધાર્મિક સ્થળો અને મુસ્લિમ વિસ્તારોના રક્ષણ બાબત પત્ર:  આપ જાણો છો કે આવનારી 17મી એપ્રિલ ના રોજ રામનવમીનો તહેવાર છે. પાછલા વર્ષોના અનુભવ દ્વારા આપણે જાણીએ છીએ કે હિન્દુ ધાર્મિક તહેવારો મુસ્લિમોને હેરાન કરવા અને તેમના ધાર્મિક સ્થળો તેમજ દુકાનો મકાનોને નુકસાન કરવા માટેના માધ્યમ બની ગયા છે. 

18થી નાની ઉંમરના 1,15,129 બાળકો શાળા બહાર? વાસ્તવિક આંકડો 15-20 ગણો વધું

- સુખદેવ પટેલ*  16 એપ્રિલથી સમગ્ર ગુજરાતમાં શાળા બહારના 6 થી 19 વર્ષની ઉંમરના બાળકોનો સર્વે શરૂ થયો છે.  જે 26 એપ્રિલ સુધી ચાલશે. જેની જવાબદારી સરકારી શાળાના શિક્ષકોને સોંપવામાં આવી છે. અત્યારે પ્રાથમિક શાળાઓમાં વાર્ષિક પરીક્ષાઓ ચાલી રહી છે. લોકસભાની ચૂંટણીઓના કામ પણ શિક્ષકોને ભાગે કરવાના આવશે. શિક્ષકો કેટલું કરી શક્શે? શિક્ષકો પાસેથી વ્યાજબી રીતે કેટલી અપેક્ષાઓ રાખવી જોઈએ? RTE ની જોગવાઈઓ મુજબ દરેક બાળક શિક્ષણ મેળવી શકે, તે માટે શાળા બહારના બાળકોને સર્વે કરીને શોધી કાઢવાનું ઉમદા કામ સરકાર વિચારે છે, તે આવકારદાયક છે. આવાં ઉત્તમ કામમાં જેમને સીધો લાભ થવાનો છે,  તેવાં હિતધારકોની પ્રતિનિધિ સમિતિ SMC સ્કૂલ મેનેજમેન્ટ કમિટી આ જવાબદારી સારી રીતે ઉપાડી શકે તેમ છે. શિક્ષણ વિભાગ SSA તરફથી આ કામગીરીમાં SMC ની ભાગીદારીનું આયોજન કરીને યોગ્ય માર્ગદર્શિકા તૈયાર કરવી જોઈએ.

प्रगतिशील लेखक संघ के स्थापना दिवस पर फिलिस्तीनी जनता के साथ एकजुटता

- हरनाम सिंह, सारिका श्रीवास्तव  "मत रो बच्चे  तू मुस्काएगा तो शायद  सारे इक दिन भेस बदल कर  तुझसे खेलने लौट आएंगे" - फ़ैज़ अहमद फ़ैज़ प्रगतिशील लेखक संघ (प्रलेसं) की इंदौर इकाई ने अपना स्थापना दिवस (9 अप्रैल) फिलिस्तीनी जनता के संघर्ष के नाम समर्पित किया। अभिनव कला समाज सभागार में आयोजित इस कार्यक्रम में कलाकारों ने फिलिस्तीन कवियों के गीत गाए, उनके संघर्षों पर केंद्रित कविताओं का वाचन किया, फिलिस्तीनी चित्रकारों के चित्रों का पावर पॉइंट प्रजेंटेशन और उसकी व्याख्या की। वक्ताओं ने इजराइल द्वारा फिलिस्तीनी जनता पर ढ़ाए जा रहे जुल्मों की तुलना हिटलर के अत्याचारों से की।

વિચારોના પ્રદૂષણનું ઉત્તમ ઉદાહરણ: વડાપ્રધાનની આટલી સ્તુતિ કરનારને લેખક કહી શકાય?

- રમેશ સવાણી   ગુણવંત શાહે 6 એપ્રિલ 2024ના રોજ ‘દિવ્યભાસ્કર’ની પોતાની કોલમમાં લખ્યું છે : “અરે ! એટલું તો માનો કે એને કેવળ લોકોના ભલામાં જ રસ છે ! એટલું તો માનો કે એને માટે કાયમ ‘નેશન ફર્સ્ટ’ છે ! અરે ! એટલું તો માને કે શું કરવું એ અંગે એ બિલકુલ સ્પષ્ટ છે, ક્યાંય અવઢવ નથી. એટલું તો માનો કે નેતા તરીકે એ સૌથી મોખરે છે ! અરે ! એટલું તો માનો કે એ દેશને હૃદયથી પ્રેમ કરે છે ! એટલું તો અ‌વશ્ય માનો કે વિદેશી નેતાઓ એને ભેટવાની ઉતાવળ કરે છે ! અરે ! એટલું તો માનો કે એના પરિવારમાં કોઇ વાડેરા નથી ! અરે ! એટલું તો માનો કે બિલ ગેટ્સ જેવું બ્રેન ગણાતા વ્યક્તિ સાથે ચર્ચા કરતી વખતે પૂરો આત્મવિશ્વાસ ધરાવીને ડિજિટલ રિવોલ્યૂશન અને આર્ટિફિશિયલ ઇન્ટેલિજન્સ પર ચર્ચા કરી શકે છે ! કેટલાક માણસો ઇતિહાસનાં સંતાનો હોય છે ખરા, પણ તેઓ નિયતિનાં સંતાનો નથી હોતાં. આવા લોકો પાસે એક વિઝન હોય છે, જે અન્ય પાસે હોતું નથી. આવા લોકોને ત્રણ ભેટ જીવનભર મળતી રહે છે. વિરોધ, નિંદા અને ઇર્ષ્યા. આવા જ નમૂનાઓ ગેરસમજનો જ્થ્થાબંધ વૈભવ પામે છે.  સ્પિનોઝા નામનો ચિંતક ઘરની બહાર નીકળી શકતો ન હતો. એ ચિંતકના વિચારો એવા હતા કે લોકોને ગુસ્સો આવ

Laxmanpur Bathe massacre: Perfect example of proto-fascist Brahmanical social order

By Harsh Thakor  The massacre at Laxmanpur-Bathe of Jehanabad in Bihar on the night of 1 December in 1997 was a landmark event with distinguishing features .The genocide rightly shook the conscience of the nation in the 50th year of Indian independence. The scale of the carnage was unparalleled in any caste massacre. It was a perfect manifestation of how in essence the so called neo-liberal state was in essence most autocratic. 

स्वास्थ्य सेवाओं को मजबूत करने के बजाय बीमा आधारित सेवाओं को प्राथमिकता क्यों?

- राष्ट्रीय स्वास्थ्य अधिकार अभियान  वैश्विक स्तर पर “विश्व स्वास्थ्य दिवस” इस साल “हमारा स्वास्थ्य, हमारा अधिकार” की अवधारणा को केन्द्रित कर मनाया जा रहा है। इस उपलक्ष्य में राष्ट्रीय स्तर पर स्वास्थ्य अधिकार संघर्ष को मजबूत करने के लिए, संवैधानिक और नीतिगत रूप में स्वास्थ्य को मौलिक अधिकार बनाने के लिए, स्वास्थ्य के विभिन्न आयामों को लोगों के हक के लिए संगठित करने, जागरूक करने और स्वास्थ्य के मानकों पर कार्य करने हेतु तथा सरकार को जनता के प्रति जिम्मेदार बनाने हेतु जन आंदोलनों के राष्ट्रीय समन्वय ने स्वास्थ्य अधिकार अभियान के माध्यम से जनता के पक्ष को मजबूत करने के लिए राष्ट्रीय स्तर पर स्वास्थ्य अधिकार के मुद्दे पर सक्रिय रूप से कार्य करेगा।