Description Usage Arguments Details Value Note Author(s) See Also Examples
View source: R/complete.series.R
This functions completes relatively large holes in monthly time-series objects.
| 1 2 | complete.series(collection, model, k.ubic = NA, centers = 3, nstart = 3, 
weps = 0.05, MAX.ITER = 100, AEM.debug = T)
 | 
| collection | A list of class  | 
| model | A list of fixed-effects models related to  | 
| k.ubic | A data.frame of exactly one member  | 
| centers | If  | 
| nstart | If  | 
| weps | Tolerance for the E-M Algorithm. | 
| MAX.ITER | Maximum number of iterations for the E-M Algorithm. | 
| AEM.debug | Logical flag indicating if verbosity is required. | 
The main idea behind this functions is to complete the time-series of the list by first clustering similar stations and then applying to each cluster the E-M Algorithm in order to complete the series. The E-M Algorithms is an iterative method that in each iteration performs two tasks: fist estimates the expected values and then maximizes their likelyhood. This goes on util some stopping criteria is meat.
Returns a completed version of collection (collection$data). 
The current implementation is known to have problems. The iterative proccess not always converges. It is also known that the E-M has been surpassed by other methods and it would be desireble to replace it.
A. Jhan, fixed-up by A.M. Sajo-Castelli.
| 1 2 3 4 5 6 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.