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
positive or non-negative argument to function expected
Moderators: EViews Gareth, EViews Moderator
-
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
Impossible to say without seeing it.
Re: positive or non-negative argument to function expected
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!
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
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.
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.
Re: positive or non-negative argument to function expected
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.
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
You can't have more coefficients than observations. And having nearly as many coefficients as observations is usually a very bad idea.
Re: positive or non-negative argument to function expected
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!
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
Type "heteroskedasticity" into the help system.
Note that heteroskedasticity tests and corrections require large samples.
Note that heteroskedasticity tests and corrections require large samples.
Re: positive or non-negative argument to function expected
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
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
User’s Guide > Basic Single Equation Analysis > Additional Regression Tools > Robust Standard Errors
Re: positive or non-negative argument to function expected
Done! Thanks a lot!
Who is online
Users browsing this forum: No registered users and 2 guests
