Factor estimation with an unbalanced panel
res = fac_pca_unbal(arg1,...,argn)
* arg1,...,argn = arguments which can be:
. a time series
. real (n x p) vector
. a string equal to the name of a time series or of a (n x p) real vector 'stan' if the user wants to perform the analysis on standardized variables
. 'noprint' if the user does not want to plot the results
* res = a results tlist with
- res('meth') = 'factor density via bootstrapping'
- res('y') = the (nobs x k) matrix collecting the variables
- res('standardization') = a boolean, indicating whether variables have been standardized
- res('# of draws') = an integrer, the # of draws
- res('factors') = a (nobs x n_samples) matrix, the factor density
- res('factors percentiles') = a (nobs x 5) matrix, the percentiles (2.5, 25, 50, 75 and 97.5)
- res('namey') = name of the variables
- res('prests') = a boolean indicating the presence or absence of a time series in the variables list
- res('bounds') = if there is a timeseries in the regression, the bounds of the regression