Internal Innovation Capacity and External Linkages in Firms of ASEAN Economies Focusing on Endogeneity