Panel Data Analysis: A Complete Guide

  Рет қаралды 10,459

Dr. Ahmed Imran Hunjra

Dr. Ahmed Imran Hunjra

Жыл бұрын

This Lecture deals with panel data analysis which covers descriptive statistics, correlation analysis, multicollinearity diagnostic tests through (VIF), regression analysis through static panel (fixed effect, random effect, Hausman test and their decision criteria) & dynamic panel data analysis (GMM) along with commands of these all tests. Furthermore, it explains how to report results in Excel and Word documents" Following are the commands:
Stata Commands for Panel Data Analysis
1) Import data:
Method 1:
File ____ Import ______ Select first option ______Browse _______ Import first row_____Enter
Method 2:
Select excel file _______ Enter “edit” in Command box ________paste file and then minimize the file
2) To generate panel:
xtset id year ___enter
3) Descriptive statistics
summarize ______enter _________select table, right click and select copy table, then open excel sheet, paste special and click on text and then Ok. Delete extra rows
4) For correlation
pwcorr ________enter
5) For vif (run simple regression)
reg DV IDVs CVs and then enter
vif and enter
6) For Static panel regression
Step 1: xtreg DV IDVs CVs, fe _________enter
Step 2: xtreg DV IDVs CVs, re _________enter
Step 3: estimate store fixed ______ enter
Step 4: estimate store Random _____ enter
Step 5: hausman fixed Random _______ enter
Note: If p-value of Chi square is less than 0.05, select fixed effect results, otherwise random effect results.
7) For Dynamic Panel (GMM)
xtdpdsys DV IVs CVs, lags(2) maxlags(2) twostep artests(2) _______ enter
For Sargan
estat sargan _____ enter (p-value should be insignificant to validate instruments)
For AR1 and AR2
estat abond _____ enter (AR1 significant and AR2 insignificant)

Пікірлер: 22
@kentiy1
@kentiy1 Ай бұрын
This video is very usefull and informative, thank you, Dr. Hunjra
@samiurrahman979
@samiurrahman979 Жыл бұрын
Dr sb. thank you for providing this information. This video is very informative. However, in the next video, kindly discuss the nature of static and dynamic data, auto-correlation problems or all basic assumptions in the data and treating such issues in the panel data. we are waiting for your next lecture.
@farhaanrashid8852
@farhaanrashid8852 Ай бұрын
What if some independent variables are time series( Macroeconomic variables)and some are panel ( Micro economic variables). ?
@fadeldiande7658
@fadeldiande7658 3 ай бұрын
Ma sha Allah, good job. Sir, I would like to know if we should do stationary test and cointegration test before starting the regression ?
@tanveerbagh8524
@tanveerbagh8524 Жыл бұрын
Very informative lecture.
@aihunjra
@aihunjra Жыл бұрын
Thanks for liking
@user-kr4pm3wq9x
@user-kr4pm3wq9x 9 ай бұрын
There is a very major mistake in hausman test You run fixed, then random then you stored two times, actually you store random results two times(you can see the numbers are same) you need to run fixed, store, run random and store, then hausman
@muhammadkhalidsohail2994
@muhammadkhalidsohail2994 Жыл бұрын
Masha Allah Dr. sb. keep it up
@aihunjra
@aihunjra Жыл бұрын
Thanks a lot
@munshir.c6161
@munshir.c6161 Жыл бұрын
thank you so much
@munshir.c6161
@munshir.c6161 Жыл бұрын
i have one doubt sir: when we go for GMM test? doest it go when Fixed effect model is not appropriate? if it is so , how we can know fixed effect model is not appropriate? kindly, Thank you
@aihunjra
@aihunjra Жыл бұрын
Dear, as I understand, one is the static panel and the other is the dynamic panel approach which is superior to static and the results are more robust and efficient, we normally check robustness of results by applying the both
@aihunjra
@aihunjra Жыл бұрын
thanks dear
@abdisheycho564
@abdisheycho564 3 ай бұрын
good jod dr.
@mariafarheen8387
@mariafarheen8387 4 ай бұрын
aoa sir, what if in GMM, p values are insignificant ?
@samiraabdous2058
@samiraabdous2058 5 ай бұрын
Could you send or out the data here?
@alishbarahmanullah9144
@alishbarahmanullah9144 Жыл бұрын
Sir, can you make one video for series data too for stata software. Thank you sir.
@aihunjra
@aihunjra Жыл бұрын
Dear it's in plan, soon I will
@alishbarahmanullah9144
@alishbarahmanullah9144 Жыл бұрын
@@aihunjra thank you sir. Will be waiting sir.
@drkeyurnayak7812
@drkeyurnayak7812 Ай бұрын
share datafile
@dhananjayak1095
@dhananjayak1095 Ай бұрын
Your chi square value in Hausman test is 0 .. It is not the p value.. There is some problem as you didnt get p value.. So, your interpretation is wrong Try hausman fixed random, sigmamore
Panel Data Analysis using STATA
1:20:43
CONNECTING ASIA TV
Рет қаралды 67 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
1,000 Diamonds! (Funny Minecraft Animation) #shorts #cartoon
00:31
toonz CRAFT
Рет қаралды 41 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 34 М.
Panel Data Models
1:03:56
econometricsacademy
Рет қаралды 46 М.
Stata Training Day-20: Dynamic Panel GMM Estimations Part A
38:33
Research Pedia
Рет қаралды 1,7 М.
How to analyze a dataset like a PRO - FULL DATA ANALYSIS TUTORIAL
50:39
My Learning Space by Abefe
Рет қаралды 9 М.
Lecture 13   Panel Data
1:42:58
Richard Gallenstein
Рет қаралды 9 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН