A Study Of A Copula-Based Approach For The Endogeneity Problem And Its Application