positive or non-negative argument to function expected

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

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 7:13 am

Hi All,

I am regressing the time-series data based on monthly observations.
The regression is heteroskedastic, and not normally distributed.
I would like to test for Autocorrelation by using "Serial correlation LM test" with 12 lags as the data is based on monthly observations.
unfotunately, it is not possible as the error message "positive or non-negative argument to function expected" appears. But when I used maximum up 10 lags it works.

What can be the problem would be kind to help me ,please.

Thanks in advance

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

Re: positive or non-negative argument to function expected

Postby EViews Gareth » Mon Aug 11, 2014 8:02 am

Impossible to say without seeing it.

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

Re: positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 8:13 am

Please see the file attached "test"

I suppose, this because the data is unavailable before the date 2013M02 in "series01"
Because when I use, lags 3, 4, up to 6 it works.

Kindly ask you to check the file.

Thanks in advance for your cooperation!
Attachments
test.WF1
(17.8 KiB) Downloaded 336 times

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

Re: positive or non-negative argument to function expected

Postby EViews Gareth » Mon Aug 11, 2014 8:27 am

Yep, that's it.

You have 5 observations in your equation and four regressors (a really bad idea by the way). There's no way to perform the test on more than a few lags.

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

Re: positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 10:52 am

This is just one of 100 funds. And it is so recent fund (age) that, there is no way to do it differently.
What is the bad idea? could you be kind to explain?
I would really appreciate your explanation, as maybe I am doing smth wrong.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: positive or non-negative argument to function expected

Postby startz » Mon Aug 11, 2014 11:12 am

You can't have more coefficients than observations. And having nearly as many coefficients as observations is usually a very bad idea.

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

Re: positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 11:49 am

Many thanks. I will make a not for it.
One more question in this case.
After checking for heteroskedasiticity with Breusch-Pagan test, I have rejected the null, which means there is a heteroskedasticity.
And as I clearly understood from the literature, I should smooth or correct it by using White's heteroskedasticity-robust standard errors.
Would you be kind to assist me, how to do it in Eviews.

Thanks in advance!

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: positive or non-negative argument to function expected

Postby startz » Mon Aug 11, 2014 11:52 am

Type "heteroskedasticity" into the help system.

Note that heteroskedasticity tests and corrections require large samples.

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

Re: positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 12:20 pm

Sorry, but there is an info about how to conduct White's but not about the robust standard errors to correct

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: positive or non-negative argument to function expected

Postby EViews Glenn » Mon Aug 11, 2014 12:26 pm

Go to the manual and on the contents tab drill down to

User’s Guide > Basic Single Equation Analysis > Additional Regression Tools > Robust Standard Errors

Eltun
Posts: 11
Joined: Thu Jul 31, 2014 11:59 am

Re: positive or non-negative argument to function expected

Postby Eltun » Mon Aug 11, 2014 12:49 pm

Done! Thanks a lot!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests