@Logit conversion estimated negative coefficient ?
Posted: Fri May 12, 2017 7:00 am
Hello,
In order to constrain coefficient c(2), used a @logit on all c(2)'s in the model.
As a result NLS estimation produces negative (-) values for c(2).
Since @logit(c(2)) = 1/(1+exp(c(2))) it should not be a negative number. Moreover in the model copied below there is both -@logit(c(2)) term and also *@logit(c(2)) term, so even if eviews estimates - value for -@logit(c(2)) term, this does not work for @logit(c(2)) term.
Can anyone comment on this issue ?
Thank you.it(c(2))
starting values = c(1) to c(5) are 0.08, 0.1, 0.1, 0.1, 0.1
results are frozen in table logit_forum
model :
log(y) = (1/((1-@logit(c(2)))*(1-c(3))-c(5)))*(((1-exp(-c(1)*@trend))*@log*(1-c(3))*log(s))+((1-exp(-c(1)*@trend))*c(5)*log(l))+((1-exp(-c(1)*@trend))*c(4)*log(fi))+((1-exp(-c(1)*@trend))*log(gamma+(1-@logit(c(2)))*c(5)*n))+((1-exp(-c(1)*@trend))*@logit(c(2))*(1-c(3))*log((n+delta)+(c(5)*n)))+((exp(-c(1)*@trend))*log(y(-1))))
In order to constrain coefficient c(2), used a @logit on all c(2)'s in the model.
As a result NLS estimation produces negative (-) values for c(2).
Since @logit(c(2)) = 1/(1+exp(c(2))) it should not be a negative number. Moreover in the model copied below there is both -@logit(c(2)) term and also *@logit(c(2)) term, so even if eviews estimates - value for -@logit(c(2)) term, this does not work for @logit(c(2)) term.
Can anyone comment on this issue ?
Thank you.it(c(2))
starting values = c(1) to c(5) are 0.08, 0.1, 0.1, 0.1, 0.1
results are frozen in table logit_forum
model :
log(y) = (1/((1-@logit(c(2)))*(1-c(3))-c(5)))*(((1-exp(-c(1)*@trend))*@log*(1-c(3))*log(s))+((1-exp(-c(1)*@trend))*c(5)*log(l))+((1-exp(-c(1)*@trend))*c(4)*log(fi))+((1-exp(-c(1)*@trend))*log(gamma+(1-@logit(c(2)))*c(5)*n))+((1-exp(-c(1)*@trend))*@logit(c(2))*(1-c(3))*log((n+delta)+(c(5)*n)))+((exp(-c(1)*@trend))*log(y(-1))))