Dear all,
I am trying to use the Newey-West Standard Errors to carry out my regression, however, the following popped up:
Below is my -dataex-:
I then tried to do it with other lags specification, unfortunately, the same problem persists:
I have tried searching the error phrases both on Google and Statalist, I have come across NOTHING at all, does it mean that my case is extremely rare? Most importantly, what actually went wrong?
I am trying to use the Newey-West Standard Errors to carry out my regression, however, the following popped up:
Code:
. newey csad c.abs_r_mt##c.abs_r_mt, lag(1) date is regularly spaced, but does not have intervals of 1 r(198);
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int date float(csad r_mt year abs_r_mt) 15347 . . 2002 . 15354 4.150988 -8.779794 2002 8.779794 15361 8.47286 -11.722405 2002 11.722405 15368 2.371604 .7411363 2002 .7411363 15375 4.922579 12.524622 2002 12.524622 15382 1.898078 -.10467237 2002 .10467237 15389 0 0 2002 0 15396 1.229306 1.9515274 2002 1.9515274 15403 2.176993 -.24670455 2002 .24670455 15410 5.491458 11.407248 2002 11.407248 15417 3.275471 -2.9843094 2002 2.9843094 15424 2.618778 2.722045 2002 2.722045 15431 3.072469 -3.339813 2002 3.339813 15438 2.6599 1.5941483 2002 1.5941483 15445 2.7624 .7426223 2002 .7426223 15452 2.954676 -1.6689825 2002 1.6689825 15459 3.800143 2.567357 2002 2.567357 15466 1.5627458 .2256331 2002 .2256331 15473 2.2163022 -2.0939267 2002 2.0939267 15480 2.4541366 -4.799683 2002 4.799683 15487 3.1900074 1.408269 2002 1.408269 15494 3.8380544 -4.929328 2002 4.929328 15501 2.5736775 2.7708454 2002 2.7708454 15508 1.8126394 -1.549638 2002 1.549638 15515 4.617593 14.62258 2002 14.62258 15522 3.7301376 -2.0095348 2002 2.0095348 15529 2.0474093 1.3527323 2002 1.3527323 15536 2.1388013 -2.633168 2002 2.633168 15543 1.6265107 -.1318021 2002 .1318021 15550 1.585621 -1.1615623 2002 1.1615623 15557 2.0878482 -.6251392 2002 .6251392 15564 2.0168262 -1.122699 2002 1.122699 15571 1.4484754 .5845769 2002 .5845769 15578 1.7805477 1.5606302 2002 1.5606302 15585 1.525958 .02931488 2002 .02931488 15592 2.3180652 -2.799415 2002 2.799415 15599 1.6707025 -1.6376716 2002 1.6376716 15606 2.5378354 .026403705 2002 .026403705 15613 1.6017348 -1.8123453 2002 1.8123453 15620 0 0 2002 0 15627 2.2233071 -3.020985 2002 3.020985 15634 2.758704 -.4821299 2002 .4821299 15641 2.2093017 -1.8539804 2002 1.8539804 15648 2.1681485 2.1972647 2002 2.1972647 15655 1.6749827 -2.788559 2002 2.788559 15662 3.588643 -4.780155 2002 4.780155 15669 3.346243 -4.567672 2002 4.567672 15676 1.8651558 .03562433 2002 .03562433 15683 2.2610478 .4898008 2002 .4898008 15690 1.6952885 1.0478189 2002 1.0478189 15697 1.901793 1.8837024 2002 1.8837024 15704 3.395599 -4.671672 2002 4.671672 15711 2.772347 -1.2277025 2003 1.2277025 15718 2.1912358 3.483433 2003 3.483433 15725 3.687262 5.716919 2003 5.716919 15732 2.4519944 .3525168 2003 .3525168 15739 .9451538 .14199395 2003 .14199395 15746 1.2781053 -.9503823 2003 .9503823 15753 1.6940317 1.431836 2003 1.431836 15760 2.2230365 -1.1358991 2003 1.1358991 15767 1.9164674 2.3592293 2003 2.3592293 15774 2.4346666 -3.939136 2003 3.939136 15781 2.6690204 .04388403 2003 .04388403 15788 1.442735 .012047686 2003 .012047686 15795 1.8391362 1.584176 2003 1.584176 15802 2.3038082 -.3085499 2003 .3085499 15809 4.650578 4.98953 2003 4.98953 15816 2.918732 -1.697974 2003 1.697974 15823 4.6705866 -2.76868 2003 2.76868 15830 3.494127 -1.6048017 2003 1.6048017 15837 2.977946 -.01338571 2003 .01338571 15844 3.3964925 2.671273 2003 2.671273 15851 3.643645 1.46425 2003 1.46425 15858 4.041341 1.270017 2003 1.270017 15865 2.878992 -4.592948 2003 4.592948 15872 2.8937554 1.9754747 2003 1.9754747 15879 1.9556812 -3.3694615 2003 3.3694615 15886 3.5537255 -2.2777672 2003 2.2777672 15893 2.549982 .6448685 2003 .6448685 15900 2.0797458 1.192847 2003 1.192847 15907 3.549946 -2.6754115 2003 2.6754115 15914 2.1864173 -1.5634494 2003 1.5634494 15921 1.9790592 2.047979 2003 2.047979 15928 1.656871 -.9543859 2003 .9543859 15935 1.760976 -1.5156193 2003 1.5156193 15942 2.576479 -1.520167 2003 1.520167 15949 2.3478339 1.9608448 2003 1.9608448 15956 2.1813831 -1.797851 2003 1.797851 15963 2.5223765 -2.324635 2003 2.324635 15970 2.0894804 -.58425045 2003 .58425045 15977 2.3127463 -2.599389 2003 2.599389 15984 .8075221 .8873354 2003 .8873354 15991 1.284165 2.47579 2003 2.47579 15998 1.6533177 -3.03647 2003 3.03647 16005 3.750155 -.2284442 2003 .2284442 16012 4.875941 -1.5789025 2003 1.5789025 16019 4.833535 -2.918827 2003 2.918827 16026 2.1364899 -.8974869 2003 .8974869 16033 3.2972984 4.7895 2003 4.7895 16040 2.786816 1.797363 2003 1.797363 end format %td date
Code:
. newey csad c.abs_r_mt##c.abs_r_mt, lag(2) date is regularly spaced, but does not have intervals of 1 r(198); .
Comment