Log of non positive number

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

JASON
Posts: 10
Joined: Mon Jun 15, 2015 3:24 pm

Re: Log of non positive number

Postby JASON » Mon Jul 06, 2015 12:15 pm

Thank you for your question. Here is the model:

:eq_rpcetotto_jpn

:eq_ratepubtot_jpn

:eq_rateopprv_jpn

@IDENTITY rpcepubto_jpn = ratepubtot_jpn * rpcetotto_jpn

@IDENTITY rpceprvto_jpn = (1 - ratepubtot_jpn) * rpcetotto_jpn

@IDENTITY rateopprv_jpn_2 = @recode(rateopprv_jpn + rateinprv_jpn >.99 , (.99 / (rateopprv_jpn + rateinprv_jpn)) * rateopprv_jpn , rateopprv_jpn)

@IDENTITY rateinprv_jpn_2 = @recode(rateopprv_jpn + rateinprv_jpn >.99 , (.99 / (rateopprv_jpn + rateinprv_jpn)) * rateinprv_jpn , rateinprv_jpn)

@IDENTITY rpceprvop_jpn = rateopprv_jpn_2 * rpceprvto_jpn

@IDENTITY rpceprvin_jpn = rateinprv_jpn_2 * rpceprvto_jpn

@IDENTITY rpceprvng_jpn = rpceprvto_jpn - (rpceprvop_jpn + rpceprvin_jpn)

:eq_rateinprv_jpn

:eq_rpcetotinv_jpn

@IDENTITY rpcetotcur_jpn = rpcetotto_jpn - rpcetotinv_jpn

:eq_rpcetotper_jpn

@IDENTITY rpcetotcol_jpn = rpcetotcur_jpn - rpcetotper_jpn

:eq_rpcetotperda_jpn

:eq_rpcetotperho_jpn

:eq_rpcetotperinp_jpn

:eq_rpcetotperout_jpn

:eq_rpcetotpermg_jpn

@IDENTITY rpcetotperan_jpn = rpcetotper_jpn - (rpcetotperda_jpn + rpcetotperho_jpn + rpcetotperinp_jpn + rpcetotpermg_jpn)

:eq_rpcetotpermgdu_jpn

@IDENTITY rpcetotpermgnd_jpn = rpcetotpermg_jpn - rpcetotpermgdu_jpn

JASON
Posts: 10
Joined: Mon Jun 15, 2015 3:24 pm

Re: Log of non positive number

Postby JASON » Mon Jul 06, 2015 1:53 pm

Hi,

Here is the work file attached/simplified for your review.
Thanks.
Attachments
wmhcf0710b new_work.wf1
(307.18 KiB) Downloaded 207 times

JASON
Posts: 10
Joined: Mon Jun 15, 2015 3:24 pm

Re: Log of non positive number

Postby JASON » Tue Jul 07, 2015 10:14 am

may i send you the workfile?

JASON
Posts: 10
Joined: Mon Jun 15, 2015 3:24 pm

Re: Log of non positive number

Postby JASON » Tue Jul 07, 2015 10:33 am

Hi Gareth,

Attached, I have posted both the workfile (revised to fit the size limit) and the program file.
Thanks,
Jason
Attachments
wmhcf0710b new_work.wf1
WORKFILE
(307.18 KiB) Downloaded 211 times
02_expenditure_july23_2014.prg
PROGRAM File
(44.28 KiB) Downloaded 275 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Log of non positive number

Postby EViews Gareth » Tue Jul 07, 2015 11:54 am

It is missing some of the series required to solve the model.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests