I have managed to sort it out now. I have dropped the date from the workfile and merely used the number of observations. Using sample s1 2 242 now works and i have the results i needed.
Thank you very much for your time.
Philip
Search found 6 matches
- Thu Aug 26, 2010 7:22 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
- Thu Aug 26, 2010 6:53 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
Re: Error in sample: Range Error
I have tried changing the dates in the program code, changing the observations in the program code. Changing the dates/obs in the workfile. I have attached my workfile.
- Wed Aug 25, 2010 10:27 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
Re: Error in sample: Range Error
as in the one used to estimate the model? yes i have changed that to
sample s1 2 1/06/ etc
i have also tried
sample s1 1/06 etc
neither work i still recieve the same error message
sample s1 2 1/06/ etc
i have also tried
sample s1 1/06 etc
neither work i still recieve the same error message
- Wed Aug 25, 2010 9:50 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
Re: Error in sample: Range Error
I have tried this repeatedly but unfortuantely get the same error message.
- Wed Aug 25, 2010 9:18 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
Re: Error in sample: Range Error
The range at the top of the file shows 1/6/2005 9/2/2009 -- 243. I have used weekly data through the period 1/6/2005 8/27/2009. I have tried changing the workfile range dates and sample dates. Could this be a problem be allviated by importing all the data as a STATA data file so the date is already ...
- Wed Aug 25, 2010 5:34 am
- Forum: Programming
- Topic: Error in sample: Range Error
- Replies: 11
- Views: 13174
Error in sample: Range Error
I am attemtping to run a bivariate DCC- Garch model in order to test correlation between two stock markets during the period 01/06/2005 and 08/27/2009. The program I am using works perfectly until I attempt to estimate the model. Here i am recieveing the error code, Error in Sample : Range Error in ...
