Hi! I want to fit a CES production function with the following variables( valueadded, kapital(capi), wages(salprod), raw materials(matprim), electricity(enelec) ) and its logarithms, I run the following command:
nl (lva={b0} -(1/{rho}*ln({alpha}*salprod^(-1*{rho})+ ({delta})*capi^(-1*{rho}))+({gammaa})*matprim^(-1*{rho}))+({sigma})*enelec^(-1*{rho})))) , but Stata gives the error message "varlist not allowed"
Another option that I´ve tried is
nl (lva={b0} -(1/{rho}*ln({delta}*salprod^(-1*{rho})+ (1-{delta})*capi^(-1*{rho})))),initial (rho 1 delta 0.5)
with only two variables, and Stata gives the error message "starting values invalid or some RHS variables have missing values"
What can I do??
Carmen
nl (lva={b0} -(1/{rho}*ln({alpha}*salprod^(-1*{rho})+ ({delta})*capi^(-1*{rho}))+({gammaa})*matprim^(-1*{rho}))+({sigma})*enelec^(-1*{rho})))) , but Stata gives the error message "varlist not allowed"
Another option that I´ve tried is
nl (lva={b0} -(1/{rho}*ln({delta}*salprod^(-1*{rho})+ (1-{delta})*capi^(-1*{rho})))),initial (rho 1 delta 0.5)
with only two variables, and Stata gives the error message "starting values invalid or some RHS variables have missing values"
What can I do??
Carmen
Comment