Professional Documents
Culture Documents
Chapter 6 - Model Building, Panel Data Techniques
Chapter 6 - Model Building, Panel Data Techniques
Outreach Models
Three measures of outreach to the poor used were average
loan size, percentage of women and the number of active
borrowers.
Stata Commands
Entering Data from a Spreadsheet
Commands
Before using xtreg set stata to handle panel data by
using . xtset sn year
. xtset sn year
panel variable: sn (strongly balanced)
time variable: year, 2011 to 2013
delta: 1 unit
DESCRIPTIVE SUMMARY OF VARIABLES
F(11,57) = 2.65
corr(u_i, Xb) = -0.9842 Prob > F = 0.0081
sigma_u 6.2795375
sigma_e 1.1280158
rho .96874047 (fraction of variance due to u_i)
F test that all u_i=0: F(33, 57) = 1.98 Prob > F = 0.0117
sigma_u .74039641
sigma_e 1.1280158
rho .30110122 (fraction of variance due to u_i)
chi2(10) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 5.15
Prob>chi2 = 0.8810
Hypothesis Testing
H0: Effects are Random
H1: Effects are fixed
Decision Rule
chi2(1) = 58.10
Prob > chi2 = 0.0000
Since prob>chi2 is < 0.05 we therefore reject the null
hypothesis that variance is constant. This model should be
estimated using Robust
Testing Serial Correlation
pwcorr fss capstrucfs intratefs lnstcostpdolfs lncostpborfs
lnavoutloanfs lnmfisizefs femalefs yieldfs lnborrowersfs parfs
minloanindifs, sig
fssit capstr~s intrat~s lnstco~s lncost~s lnavou~s lnmfis~s
fssit 1.0000
Since the vif for all varibales are less than 10, there is no
problem of multicollinearity.
Run Regression with Robust
• xtreg fss capstrucfs intratefs lnstcostpdolfs lncostpborfs lnavoutloanfs
lnmfisizefs femalefs yieldfs lnborrowersfs parfs minloanindifs, re
vce(robust)
Robust
fssit Coef. Std. Err. z P>|z| [95% Conf. Interval]
sigma_u .74039641
sigma_e 1.1280158
rho .30110122 (fraction of variance due to u_i)
Regression Results