Hi, I did some test, since I am learning too :). It seems that is not possible to save the PC vars from GUI. But from command we have options: --save and --save-all. Just do a help pca ;). Here is my test: <script> open /usr/local/share/gretl/data/greene/greene14_1.gdt pca Q PF LF C --save-all index = PC1 + PC2 + PC3 + PC4 print index gnuplot index --with-lines --time-series </script>
Bye, Hélio On Fri, Jan 22, 2010 at 8:33 PM, Henrique <henrique.coelho(a)gmail.com> wrote: > Dear Gretl community, > > I want to create a index using five variables using gretl's principal > components analysis and I would like to know if I'm doing it properly. I'll > describe my steps: > > Step 1: Compute principal components (Main window, View -> Principal > components); > Step 2: Save all components (PC1, ..., PC5); > Step 3: index = PC1 + ... + PC5. > > I know this is a silly little question, but I have no background in this > kind of stuff :( > > Best, > Henrique > > Enviado de meu iPhone > > _______________________________________________ > Gretl-users mailing list > Gretl-users(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-users >
