Page 1 of 1
log1 is not defined or an illegal command
Posted: Fri Dec 09, 2011 7:27 am
by brake
Hi, I'm trying to run the following command but I keep getting this message " log1 is not defined or an illegal command"
the command is:
@logl log1
log1=ni*log(1-@LOGIT(-(C(1) + C(2)*log(RUN))))+mi*log(1-(1-@LOGIT(-(C(1)+ C(2)*log(RUN)))))
Re: log1 is not defined or an illegal command
Posted: Fri Dec 09, 2011 7:46 am
by trubador
It seems you are trying to run it from the command line. However, you can only use it with LogL object (Object/New Object/LogL), which is EViews' tool to specify and solve maximum likelihood problems. If you only need the log likelihood value, then simply estimate your model via Equation Estimation and retrieve it from the output.
Re: log1 is not defined or an illegal command
Posted: Mon Dec 12, 2011 6:57 am
by brake
Many thanx 4 ur help. it's work now
Re: log1 is not defined or an illegal command
Posted: Sun Mar 31, 2013 6:39 pm
by yasir6028
hi brake,
can you help me to run this command:
@logl log1
log1=ni*log(1-@LOGIT(-(C(1) + C(2)*log(RUN))))+mi*log(1-(1-@LOGIT(-(C(1)
+ C(2)*log(RUN)))))
i am unable to understand ni and mi........
please help me.....