Non-integer power

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

martingale
Posts: 51
Joined: Tue Jul 24, 2012 11:36 am

Non-integer power

Postby martingale » Thu Nov 08, 2012 2:55 am

Hi

I get the error message that "you try to raise a negative number to a non-integer power".
Is there a way around this problem? I use Eviews 7.

This is caused in the process of estimating the parameter of risk aversion gamma in (C(t+1)/C(t))^gamma which appears in an euler equation of the consumption asset pricing model.
Last edited by martingale on Fri Jul 17, 2015 9:32 am, edited 2 times in total.

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

Re: Non-integer power

Postby EViews Gareth » Thu Nov 08, 2012 8:44 am

Without trying to be flippant, the only way around that problem is to not raise a negative number to a non-integer power.

martingale
Posts: 51
Joined: Tue Jul 24, 2012 11:36 am

Re: Non-integer power

Postby martingale » Thu Nov 08, 2012 11:03 am

One solution is using a loglinear transformation of the Hansen-Jagannathan bound but this would imply the assumption that the correlation of the stochastic discount factor and the volatility of consumption growth is equal to minus 1.

martingale
Posts: 51
Joined: Tue Jul 24, 2012 11:36 am

Re: Non-integer power

Postby martingale » Fri Jul 17, 2015 9:35 am

I realize this is a complicated question, see the discussion at http://math.stackexchange.com/questions ... ve-numbers


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests