CES production function application problem
Your y2 needs to be the output associated produced with those inputs. Given that you have a CES production function and you use World Bank Country data as inputs, you need output of the countries in that specific year. Typically we use GDP as a measure of output at country level. You can get it a.o. from the World Bank.