search for: dat2j

Displaying 1 result from an estimated 1 matches for "dat2j".

Did you mean: dat2
2012 Jul 27
1
How to run regressions over increasing time series
...at I use for extracting the needed data? I thought I might need two loops: one to identify the length of the time series, the other to accumulate the data from T1 through the identified end point - maybe something like: for (i in 1:Yrs_count) { for (j in 1:i) { keyj <- dat2[,3]==j dat2j <- dat2[keyj,] # here is where I want to create a temporary file to accumulate the different dat2j's I create in this inside loop } # here is where I want to save the file for future use in my regressions } I hope this example is clear enough. My apologies if it isn't - and I thank...