Hi Everyone,
I needed help in dealing with endogeneity in panel data with fixed effects analysis. I have tried to setup my instrumental regression like this
xtivreg log_loan_amount refinancing_loan home_purchase_loan applicant_sex minority (Fintech log_applicant_income = minority applicant_sex home_purchase_loan loan_type tract_to_msamd_income), fe first
(Fintech and applicant income are endogenous variables)
But the R2 in this way is too low.
The other way which gives me better R2 is through solving this way:
xtreg (log_applicant_income Fintech) minority loan_type loan_type refinancing_loan home_purchase_loan applicant_sex,fe robust
predict v1hat, resid
xtreg log_loan_amount log_applicant_income Fintech refinancing_loan home_purchase_loan applicant_sex v1hat,fe robust
test v1hat
Can you please tell me if the second alternative method is right to solve for endogeneity?
Kind regards.
I needed help in dealing with endogeneity in panel data with fixed effects analysis. I have tried to setup my instrumental regression like this
xtivreg log_loan_amount refinancing_loan home_purchase_loan applicant_sex minority (Fintech log_applicant_income = minority applicant_sex home_purchase_loan loan_type tract_to_msamd_income), fe first
(Fintech and applicant income are endogenous variables)
But the R2 in this way is too low.
The other way which gives me better R2 is through solving this way:
xtreg (log_applicant_income Fintech) minority loan_type loan_type refinancing_loan home_purchase_loan applicant_sex,fe robust
predict v1hat, resid
xtreg log_loan_amount log_applicant_income Fintech refinancing_loan home_purchase_loan applicant_sex v1hat,fe robust
test v1hat
Can you please tell me if the second alternative method is right to solve for endogeneity?
Kind regards.
Comment