Search found 2 matches

by chernayj
Wed Nov 20, 2013 7:55 am
Forum: Programming
Topic: Continuous sample selection for estimation procedure
Replies: 1
Views: 1759

Re: Continuous sample selection for estimation procedure

Figured out the solution for anyone who is interested, subroutine code below: subroutine estsmpl(series x) 'Capture observation number for last non-missing obs of series smpl @all !lastnm = @ilast(x) !nobs = @obsrange 'Loop to capture the longest continuous sample range for the series for !i = 1 to ...
by chernayj
Wed Nov 20, 2013 3:40 am
Forum: Programming
Topic: Continuous sample selection for estimation procedure
Replies: 1
Views: 1759

Continuous sample selection for estimation procedure

Hi I am trying to code a programme to run a recursive estimation procedure for a host of series. Some of the series have breaks and I need to select a continuous sample for each estimation iteration. I have tried using the code, for say a generic series named x: smpl if x <> na However this selects ...

Go to advanced search