Hello all,
May I ask how to add the year dummy and industry fixed effect into a nonlinear least squares model?
I am using the following code. but I am confuse whether it is correct? if it is wrong, could you please teach me what code I should write?
Besides, the 'year" variable is still a number, is it ok? what should I do if I want to add it as a dummy variable?
Many thanks in addvance!
May I ask how to add the year dummy and industry fixed effect into a nonlinear least squares model?
I am using the following code. but I am confuse whether it is correct? if it is wrong, could you please teach me what code I should write?
Code:
nl (LN_Q = {b0} + ln(1+ {X1}*X1_variable+ {X2}*X2_variable)+ {b1}*year+{b2}*Industry+{b3}*Country), variables(LN_Q X1_variable X2_variable X3_variable year Industry Country)
Many thanks in addvance!
Comment