[Gretl-users] Connection to R - a problem

2010-03-12 Thread Pindar
Hi there, I've just installed R on my Windows 7 PC and read about the cool connectivity between the two programs. GRETL opens R and produced the temp files, alas there is no code written in R, it's just a new window. Can someone help me with this problem? Thanks Leon Hi there

Re: [Gretl-users] Connection to R - a problem

2010-03-12 Thread Pindar
models of contingency tables e.g hierarchical models. But I have know idea how to do such things in R... Thanks a lot Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Sven Schreiber Gesendet: Freitag, 1

[Gretl-users] Bug in quantile reg output export routine and a question in terms of DEVIANCE

2010-05-09 Thread Pindar
does calculating it, but it rather tedious and printing the deviance directly in the output window of the regression would be really great. Best regards Pindar Hi there,   I guess there is a small bug: I can only copy the output of a quantile reg as plain text, all other formats

[Gretl-users] How to to the de-meaning by hand for fixed effects models

2010-05-23 Thread Pindar
Hi there, I need some help with the code in order to de-mean the data for each unit and variable of interest. It's a task in my microeconometric lecture. Unfortunately I did not succeed in writing the right loop command. Thanks a lot Pindar Hi there,   I need some help

Re: [Gretl-users] Bug in quantile reg output export routine and a question in terms of DEVIANCE

2010-05-23 Thread Pindar
ace matrix yh2 = yh scalar part2 = 2*sum(yh2) scalar DV = part1 + part2 endif printf "Deviance = %g\n", DV return DV end function I guess there are better ways to do these operations. Well, that's for now. Pindar -Ursprüngliche Nachricht- Von: gretl-users-b

[Gretl-users] Another loop question and a print question

2010-05-26 Thread Pindar
individuals and periods. Unfortunately up until now I didn't find the way to do it. Thanks for your help Pindar Hi there,   I have a panel data set and want to print the realization of a variable for the ith individual at the the tth period without altering the sample via

[Gretl-users] Access 2007 database connection?

2010-07-02 Thread Pindar
d GRETL are in on my Windows 7 PC. I would appreciate your help!!! Best Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Riccardo (Jack) Lucchetti Gesendet: Samstag, 3. April 2010 10:33 An: Gretl list

Re: [Gretl-users] Access 2007 database connection?

2010-07-02 Thread Pindar
Hey, thanks for the hint. I had to specify the dsn as user-dsn and not as file-dsn!!! Now it’s working. Have a nice weekend Pindar Von: Hélio Guilherme [mailto:helioxentric(a)gmail.com] Gesendet: Freitag, 2. Juli 2010 13:39 An: Pindar Betreff: Re: [Gretl-users] Access 2007 database

[Gretl-users] creating a discrete variable?

2010-07-03 Thread Pindar
est=2 then NEW=1 If test=3 then NEW=2 Just switching the directions works with the Gretl command genr NEW=2-TEST Thanks Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Allin Cottrell Gesendet: Mittwoc

Re: [Gretl-users] creating a discrete variable?

2010-07-03 Thread Pindar
]=1 elif test_$i =1 NEW[i]=0 else NEW[i]=2 endif endloop Cheers Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Allin Cottrell Gesendet: Samstag, 3. Juli 2010 18:41 An:

Re: [Gretl-users] creating a discrete variable?

2010-07-03 Thread Pindar
Thank you very much Allin! I'm quite impressed by that beautiful solution. Have a nice weekend Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Allin Cottrell Gesendet: Samstag, 3. Juli 2010 20:

[Gretl-users] Multinomial Logit - getting the probabilties as predictions?

2010-07-09 Thread Pindar
leads to a crash of Gretl. And for further development one could think of a "base" option, n'est pas? Bye Pindar

Re: [Gretl-users] Multinomial Logit - getting the probabilties as predictions?

2010-07-10 Thread Pindar
Hi there, wow, that's great!!! Thanks Allin! Have a nice weekend Pindar -Ursprüngliche Nachricht- Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces(a)lists.wfu.edu] Im Auftrag von Allin Cottrell Gesendet: Samstag, 10. Juli 2010 20:12 An: Gretl list Betreff: Re: [

[Gretl-users] SVAR estimation

2011-07-07 Thread Pindar
Hi there, I would like to know if someone has already done (a simple) SVAR estimation of AB type with GRETL? (one that is not a Cholesky decomposition) Cheers Leon

[Gretl-users] Small Bug when saving

2012-05-06 Thread Pindar
Hi there, yesterday I noticed that if the folder-name contains a special character like the german 'ü' GRETL produced the following error 'zip error: Temporary file failure' when saving the session. I now use 'ue' ;-) Cheers Leon Hi there, yesterday I noticed that if the fo

Re: [Gretl-users] Small Bug when saving

2012-05-07 Thread Pindar
Hi Allin, you are right, it's on Windows 7. Leon Am 07.05.12 01:29, schrieb Allin Cottrell: > On Sun, 6 May 2012, Pindar wrote: > >> yesterday I noticed that if the folder-name contains a special >> character like the german 'ü' GRETL produced the following err

Re: [Gretl-users] problem concerning dummies

2012-05-28 Thread Pindar
Hi Paolo, this kind of operation can be easily done with gretl using hansl (with means via scrioft or console) In order to get a dummy variable with value 1 if a,b, and c are positive numbers and otherwise zero use this code: series d_all_p = (a>=0 && b>0 && c>0)? 1 : 0 Cheers Leon Am 28.0

Re: [Gretl-users] problem concerning dummies

2012-05-28 Thread Pindar
Hi Jack, thanks for your help! I'm was experimenting with loop commands for each element of the 'dataset matrix' but the code soon got too 'long'. The unpacking of the list in conjunction with the dummify command is super - hansl impresses me more and more. Have a nice day Leon Am 28.05.2012

[Gretl-users] Feature Request: ODBC import as matrix

2012-07-28 Thread Pindar
Hi there, the ODBC import tool is a very powerful tool and I appreciate it much! However, while working with it I came across some situations when the option of importing as matrix would be nice e.g. via data --odbc --matrix. Here are my thoughts: 1) When working with multiple databases (w

Re: [Gretl-users] Windows snapshot

2012-08-01 Thread Pindar
Hi Allin, I did not encounter any error yet. Leon Am 30.07.2012 15:04, schrieb Allin Cottrell: > On Mon, 30 Jul 2012, Henrique Andrade wrote: > >> Em 28 de julho de 2012 Allin escreveu: >> >> In the current Windows snapshot I'm experimenting with an >>> update of the GTK runtime files, from vers

Re: [Gretl-users] serial correlation test

2012-08-02 Thread Pindar
Hi Alessia, in general the test on serial correlation using the Q-statistic has the null hypothesis of "No significant autocorrelations" (up to the lags used for the test, which here are 4) Hence, each p-value indicates that there is no serial correlation since you cannot reject the null. The c

Re: [Gretl-users] serial correlation test

2012-08-02 Thread Pindar
Am 02.08.2012 16:59, schrieb Allin Cottrell: > On Thu, 2 Aug 2012, Pindar wrote: > >> in general the test on serial correlation using the Q-statistic has the null >> hypothesis of "No significant autocorrelations" (up to the lags used for the >> test, which

Re: [Gretl-users] serial correlation test

2012-08-03 Thread Pindar
Am 03.08.2012 00:13, schrieb Allin Cottrell: > On Thu, 2 Aug 2012, Alessia Via wrote: > >> So, in this case: >> Equation 1: >> Ljung-Box Q' = 0,67263 with p-value = P(Chi-quadro(4) > 0,67263) = 0,955 >> >> Equation 2: >> Ljung-Box Q' = 1,25278 with p-value = P(Chi-quadro(4) > 1,25278) = 0,86

Re: [Gretl-users] Feature Request: ODBC import as matrix

2012-08-05 Thread Pindar
loop. This will shorten tremendously if the change in question is applied. Is is possible to allow that? Would be great :-) Cheers Leon Am 28.07.2012 16:04, schrieb Pindar: > Hi there, > > the ODBC import tool is a very powerful tool and I appreciate it much! > However, while working

[Gretl-users] catch with data --odbc

2012-08-11 Thread Pindar
Hi there, while working with the data --odbc command in a loop I tried to get the information whether reading out the whole data for a step is useful by evaluating a very general sql statement. If there aren't any values at all the complete query should be skipped later in the script. However, t

[Gretl-users] store and open a session using hansl

2012-08-12 Thread Pindar
Hi there, isn't it possible to use the store/open commands to save/read session files or am I mistaken? Best Leon Hi there, isn't it possible to use the store/open commands to save/read session files or am I mistaken? Best Leon

Re: [Gretl-users] store and open a session using hansl

2012-08-12 Thread Pindar
Am 12.08.2012 18:08, schrieb Allin Cottrell: > On Sun, 12 Aug 2012, Pindar wrote: > >> isn't it possible to use the store/open commands to >> save/read session files or am I mistaken? > It's not possible. Session files are exclusively a GUI thing. > You open t

[Gretl-users] catch within a loop - not working?

2012-08-13 Thread Pindar
Hi there, I need to find out within a loop whether a matrix is empty or not, e.g.: nulldata 100 matrix test={} loop i=1..20 -q catch inv(test) if $error print "WRONG" endif endloop Which is not working. Without the loop "WRONG" is printed as in nulldata 100 matrix test

Re: [Gretl-users] catch within a loop - not working?

2012-08-13 Thread Pindar
Am 13.08.2012 20:29, schrieb Allin Cottrell: > On Mon, 13 Aug 2012, Allin Cottrell wrote: > >> True, "catch" inside a loop needs some work. > That should be fixed now. It is! Thanks for that fast update Allin! > > Allin > ___ > Gretl-users mailing list >

Re: [Gretl-users] Import data as panel or change existing data set structure

2012-08-13 Thread Pindar
Am 13.08.2012 20:43, schrieb Jan Tille: > Hello dear gretl users, > > I have a question regarding the structuring of data as panel-set. > > I want to create a panel that consists of 890 investment fund time series. I > have no problem to stack them either cross-sectionally or as a stacked > time-

Re: [Gretl-users] Trouble changing sample in a script

2012-08-18 Thread Pindar
Am 16.08.2012 19:02, schrieb Logan Kelly: > Hello, > > I am having trouble changing the sample period in a script file. I initialy > set the sample using > > smpl 1967:1 2007:4 > > Then latter in the script I set the sample to > > smpl 1967:1 2011:4 > > But when I estimate a VAR the sample period

Re: [Gretl-users] Same model, different position of variables, different results

2012-10-04 Thread Pindar
Am 04.10.2012 17:35, schrieb Bruno Thiago Tomio: > > Hello all, > > Why does this model generate different outcomes, even if the same > variables and specification are been used? There is just a change in > the position of the variables. > yhat1 <> logarea -> different results > > Many thanks, >

Re: [Gretl-users] Problems with generating series...

2012-10-21 Thread Pindar
Hi there, have a look at the manual on p.104 "series sname = mspec where sname is the name of the series to create and mspec is the name of the matrix to copy from, possibly followed by a matrix selection expression. Here are two examples. series s = x series u1 = U[,1] It is assumed that x and

[Gretl-users] ghk function question

2012-10-25 Thread Pindar
Hi there, recently I wrote a UDF in order to calculate and plot the bivariate normal distribution. Now I found the ghk function and tried to replicate the results, but unfortunately in vain. I think that I miss-specify the second and third argument. How is a correct? matrix U=mnormal(400,2) *m

[Gretl-users] multivariate ANOVA and function cdemean question

2012-10-25 Thread Pindar
Hi there, I'm trying to do multivariate ANOVA and have a bit trouble with the following code: nulldata 8 matrix Y={9,4;10,2;11,0;2,3;4,4;6,5;1,5;5,9} matrix G={1;1;1;2;2;2;3;3} matrix T=mcov(Y)*(rows(Y)-1) eval T matrix Ns =zeros(rows(uniq(G)),1) #*How to get to the Sum of squared residuals?* m

Re: [Gretl-users] multivariate ANOVA and function cdemean question

2012-10-25 Thread Pindar
eval Ns matrix Ns =uniq(Ns) matrix C=zeros(cols(Y),cols(Y)) loop for g=1..rows(Ns) if g Am 25.10.2012 12:50, schrieb Pindar: > Hi there, > > I'm trying to do multivariate ANOVA and have a bit trouble with the > following code: > > > nulldata 8 > matrix Y={9,4;10,

Re: [Gretl-users] ghk function question

2012-10-27 Thread Pindar
It would be really nice if someone could present an example for the bivariate normal with ghk function! (Perhaps with some info on the actual purpose of this function) Thanks Pindar Am 25.10.2012 11:32, schrieb Pindar: > Hi there, > > recently I wrote a UDF in order to calculate and

Re: [Gretl-users] ghk function question

2012-10-29 Thread Pindar
Am 27.10.2012 13:42, schrieb Riccardo (Jack) Lucchetti: > On Sat, 27 Oct 2012, Pindar wrote: > >> It would be really nice if someone could present an example for the >> bivariate normal with ghk function! >> (Perhaps with some info on the actual purpose of this function

[Gretl-users] SVAR some questions

2012-10-30 Thread Pindar
Hi there, the SVAR analysis is a powerful tool and Jack's SVAR package already in it's present state is magnificent! At the moment I'm working through it step by step. My ultimate goal is to perform a 'Structural vector autoregressions with nonnormal residuals' by Lütkepohl (see attached file).

Re: [Gretl-users] SVAR some questions

2012-10-30 Thread Pindar
Update: imp2exp: implicit to explicit :-) Pindar : > Hi there, > > the SVAR analysis is a powerful tool and Jack's SVAR package already in it's > present state is magnificent! > At the moment I'm working through it step by step. My ultimate goal is to

Re: [Gretl-users] SVAR some questions

2012-11-03 Thread Pindar
set up the SVAR Mod = SVAR_setup("C", X, Z, 3) # Specify the constraints on C SVAR_restrict(&Mod, "C", 1, 2, 0) # Estimate SVAR_estimate(&Mod) Mod_Plain = SVAR_setup("plain", X, Z, 3) SVAR_estimate(&Mod_Plain) > Update: > imp2exp: implicit to explic

Re: [Gretl-users] SVAR some questions

2012-11-03 Thread Pindar
t;, X, Z, 3) SVAR_estimate(&Mod_Plain) > Update: > imp2exp: implicit to explicit :-) > > Pindar : > >> Hi there, >> >> the SVAR analysis is a powerful tool and Jack's SVAR package already in it's >> present state is magnificent! >> At the mo

[Gretl-users] Scripthighlighting How to print?

2012-11-03 Thread Pindar
Hi, I was searching the mails and as it seems printing the scripthighlighting should work for a year now. However, on my Windows 7 PC with latest snapshot (and gedit installed, was in vain) it does not work. Do I need to change some preferences or such? Thanks Leon Hi, I was

Re: [Gretl-users] Scripthighlighting How to print?

2012-11-03 Thread Pindar
Ah, ok. Thank you Henrique for the info! Then I gonna try it wish Snow Leopard. Cheers Leon Am 03.11.2012 um 20:28 schrieb Henrique Andrade : > Dear Leon, > > As far as I know, the script highlighting printing is only available > in Mac OS X. > > Best regards, > Henrique > > Enviado via iPh

[Gretl-users] Dummy matrices

2012-11-04 Thread Pindar
Hi, there is this nice way to construct new series with the use of "...? ... :" But this method seems not to work for matrices. The ".>" operator just works 'on his own'. nulldata 10 set optimizer bfgs series test=normal() matrix testm={test} series ytest=test>0 matrix ytestm=testm.>0 *#this w

Re: [Gretl-users] Dummy matrices

2012-11-07 Thread Pindar
Am 06.11.2012 23:37, schrieb Allin Cottrell: > On Sun, 4 Nov 2012, Allin Cottrell wrote: > >> On Sun, 4 Nov 2012, Pindar wrote: >> >>> matrix mtestm = (ytestm.>0) ? 10 : 2 #this works not >> Yes, it is guaranteed by hansl syntax that it "works not". &g

[Gretl-users] Bug in msortby

2012-11-07 Thread Pindar
Hi, when working on my multivariate statistic package I found the following bug in function msortby: If one wants to sort an already sorted matrix the matrix elements get though rearranged. In the 2-factor Anova with interaction this results in wrong calculations. nulldata 24 #two factor ortho

Re: [Gretl-users] Problem with comment lines

2012-11-07 Thread Pindar
Am 07.11.2012 17:44, schrieb Henrique Andrade: > Dear Gretl Team, > > I think I found a small error in Hansl when someone insert commas in > the end of the comment line. Please take a look at the following code > to check this. > > > open australia.gdt > > list vars = dataset > lags 2 ; vars > > l

Re: [Gretl-users] Bug in msortby

2012-11-07 Thread Pindar
tion and report then. Best Leon Am 07.11.2012 um 19:35 schrieb Allin Cottrell : > On Wed, 7 Nov 2012, Pindar wrote: > >> when working on my multivariate statistic package I found the following bug >> in function msortby: >> If one wants to sort an already sorted matrix t

Re: [Gretl-users] Bug in msortby

2012-11-08 Thread Pindar
Am 07.11.2012 21:42, schrieb Allin Cottrell: > On Wed, 7 Nov 2012, Pindar wrote: > >> Indeed, on my W7 PC with the new snapshot the 'evals' are >> not the same. The order within the bins is different. I >> expected the null operation and checked other parts of th

Re: [Gretl-users] Problem with comment lines

2012-11-09 Thread Pindar
Am 08.11.2012 23:14, schrieb Allin Cottrell: > On Wed, 7 Nov 2012, Henrique Andrade wrote: > >> Also I would like to make a suggestion: In my humble opinion, the >> syntax to print list elements is not so intuitive and it looks like >> very different from the other uses of the "print" command. My >

[Gretl-users] functions mshape with variable elements and isscalar

2012-11-09 Thread Pindar
Hi, I have a question concerning the mshape and isscalar functions: The second and third argument are scalars but when I tried to use different inputs for these arguments stored in a matrix GRETL flags an error. This is not the case with similar functions like 'zeros'. The function 'isscalar' s

[Gretl-users] Interaction of variables

2012-11-10 Thread Pindar
Hi, I'd be thankful for 'a cheat' in order to improve my code on interaction between the factor steps. I hereby also want to make the proposal of adding a new function to GRETL called 'interaction' that could be used like 'dummify'. I'm thinking of something like interaction(series or list [di

Re: [Gretl-users] SVAR some questions

2012-11-10 Thread Pindar
Am 09.11.2012 12:36, schrieb Riccardo (Jack) Lucchetti: > On Sat, 3 Nov 2012, Pindar wrote: > >> Update 2: >> There is a small bug in the SVAR package when writing the free >> parameters into the model (in the last step). >> Just run the hansl snippet. > > Not

Re: [Gretl-users] SVAR some questions

2012-11-10 Thread Pindar
Am 10.11.2012 18:34, schrieb Pindar: > Am 09.11.2012 12:36, schrieb Riccardo (Jack) Lucchetti: >> On Sat, 3 Nov 2012, Pindar wrote: >> >>> Update 2: >>> There is a small bug in the SVAR package when writing the free >>> parameters into the model (in the

Re: [Gretl-users] Interaction of variables

2012-11-11 Thread Pindar
Am 11.11.2012 06:23, schrieb Allin Cottrell: > On Sat, 10 Nov 2012, Pindar wrote: > >> I'd be thankful for 'a cheat' in order to improve my code on interaction >> between the factor steps. >> I hereby also want to make the proposal of adding a new function t

Re: [Gretl-users] A Potential (And Curious) Bug

2012-11-15 Thread Pindar
Am 15.11.2012 16:30, schrieb Henrique Andrade: > Em 15 de novembro de 2012, Sven Schreiber escreveu: > > (...) > > Yes that's really weird... > > I guess that Allin will spot the bug cause anyway, but out of > curiosity, > what happens if you use 'loop j=(i+1)..(i+2)'? > > > Dea

Re: [Gretl-users] A Potential (And Curious) Bug

2012-11-15 Thread Pindar
Am 15.11.2012 19:11, schrieb Allin Cottrell: > On Thu, 15 Nov 2012, Henrique Andrade wrote: > >> Em 15 de novembro de 2012, Sven Schreiber escreveu: >> >> (...) >>> Yes that's really weird... >>> >>> I guess that Allin will spot the bug cause anyway, but out of curiosity, >>> what happens if you us

Re: [Gretl-users] A Potential (And Curious) Bug

2012-11-15 Thread Pindar
Am 15.11.2012 19:44, schrieb Allin Cottrell: > On Thu, 15 Nov 2012, Pindar wrote: > >> And in terms of 'the loop line' string-substitution generates also an error: >> (my challenge solution of the interaction stuff) > True, up till now $-string substitution has n

[Gretl-users] gretl and R crash

2012-12-27 Thread Pindar
Hi there, in order to perform a cluster analysis I tried the R connection with 'C:\Program Files\R\R-2.15.2\bin\i386\Rgui.exe' and 'C:\Program Files\R\R-2.15.2\bin\i386\R.dll' gretl does send the data set, however when running 'end foreign' gretl crashes with the message: "Fatal error: unable to

[Gretl-users] on the summary command

2012-12-27 Thread Pindar
Hi, while working on my MANOVA function I realized that the build in command 'summary' could be easily used for (at least) some steps for this analysis if it's output would be accessible. At the moment it's not, right? For this purpose something like 'mySummary <- summary varlist --by=series' s

Re: [Gretl-users] gretl and R crash

2012-12-28 Thread Pindar
Am 27.12.2012 23:48, schrieb Allin Cottrell: > On Thu, 27 Dec 2012, Allin Cottrell wrote: > >> On Thu, 27 Dec 2012, Pindar wrote: >> >>> in order to perform a cluster analysis I tried the R connection with >>> 'C:\Program Files\R\R-2.15.2\bin\i386\Rgui.exe&

[Gretl-users] dummify with list and script output window

2012-12-28 Thread Pindar
Hi, I noticed that between command and function is a major difference: dummify dList-> works with a list dummify(dList, NA)-> only one series accepted In terms of the script output window I think what would be a nice-to-have is the option that as soon as output is added t

Re: [Gretl-users] gretl and R crash

2012-12-28 Thread Pindar
Am 28.12.2012 15:50, schrieb Allin Cottrell: > On Fri, 28 Dec 2012, Pindar wrote: > >> Am 27.12.2012 23:48, schrieb Allin Cottrell: >>> On Thu, 27 Dec 2012, Allin Cottrell wrote: >>> >>>> On Thu, 27 Dec 2012, Pindar wrote: >>>> >>>>

Re: [Gretl-users] dummify with list and script output window

2012-12-29 Thread Pindar
Am 28.12.2012 12:03, schrieb Pindar: > Hi, > > I noticed that between command and function is a major difference: > dummify dList-> works with a list > dummify(dList, NA)-> only one series accepted > Same is true for 'corr'. Is that

Re: [Gretl-users] Happy New Year

2012-12-31 Thread Pindar
Happy New Year! > Hi everybody, > I'm thinking that I'd like to join the suggestion > re thase mighty guru's on this site. > A very big thankyou gents > :-)). > > - Original Message - > *From:* Anutechia Asongu > *To:* Gretl list

Re: [Gretl-users] dummify with list and script output window

2013-01-04 Thread Pindar
Hi, I'm of the opinion that a "*" operator for interaction variables is a very useful means! A few weeks ago we discussed such possibilities in terms of MANOVA. This would be the solution to such problems of descriptive statistics and further analysis. What should be achieved? Well, I think list

[Gretl-users] Script editor features

2013-01-04 Thread Pindar
Hi there, I have two questions concerning working with the script editor and output window: 1) when using variable names with underscores "series test_2_2" it's hard to reuse them by copying. Double click on e.g. 'test' marks 'test' a third click marks the whole line (at least on wind

Re: [Gretl-users] Enter date to gretl system

2013-01-06 Thread Pindar
If time series would be a weak side then the program should be called grel instead but it's gretl! One can enter dates as labels/markers for the whole data set or one splits dates up and creates several series as part of the data set. Pindar 06.01.2013 09:32 "Nabil Brandl" : &

Re: [Gretl-users] Enter date to gretl system

2013-01-06 Thread Pindar
If time series were a weak side (n'est-ce pas ;-)) > then the program should be called grel instead but it's gretl! > One can enter dates as labels/markers for the whole data set or one splits > dates up and creates several series as part of the data set. > > Pind

Re: [Gretl-users] Nonlinear panel Instrumental Variable Regression with GRETL

2013-01-11 Thread Pindar
Jack's mail with LaTeX output - easier to read :-) 11.01.2013 08:21, Riccardo (Jack) Lucchetti: > On Thu, 10 Jan 2013, Anutechia Asongu wrote: > >> Hi All, >> Please I need help for the concern on the subject of this >> mail. >> Cheers, > > I must admit, this isn't particulalr

[Gretl-users] sd function with matrix?

2013-01-27 Thread Pindar
Hi, there is a strange behavior when combining the 'sd' function with matrices: 1) I thought it flags an error - is it now allowed for matrices? 2) the result is not correct, but the 'var' function works with this simple matrix in the example matrix test = {-0.08142857;0.0556} eval mcov(tes

[Gretl-users] Snapshot NOT working on W8

2013-01-27 Thread Pindar
Hi, starting the new snapshot on Windows8 is not possible! 'mingwm10.dll' is missing (???) This does not happen with latest stable version. Cheers Leon Hi, starting the new snapshot on Windows8 is not possible! 'mingwm10.dll' is missing (???) This does not happen with

Re: [Gretl-users] sd function with matrix?

2013-01-27 Thread Pindar
Thanks for the explanation! Am 27.01.2013 14:54, schrieb Riccardo (Jack) Lucchetti: > On Sun, 27 Jan 2013, Sven Schreiber wrote: > >> Am 27.01.2013 12:43, schrieb Pindar: >>> Hi, >>> >>> there is a strange behavior when combining the 'sd' function

[Gretl-users] PCA a question

2013-02-02 Thread Pindar
Hi, I have a question concerning the calculation of the PCAs: I wonder where the constant factor comes from that distinguishes the R PCAs from gretl PCAs. matrix Z = {sqrt(2),sqrt(3/2);-sqrt(0.5),0;-sqrt(0.5),-sqrt(3/2)} matrix Sig = mcov(Z) matrix F = princomp(Z,2,1) matrix V={} eval eigengen(

Re: [Gretl-users] PCA a question

2013-02-02 Thread Pindar
Again this 'n vs (n-1) thing' - could have guessed that. Well, thank u Allin for the fast answer. (Our Prof uses the covariancesummatrices for derivations or takes the MLE sigma...) Have a nice weekend Leon Am 02.02.2013 um 21:48 schrieb Allin Cottrell : > On Sat, 2 Feb 2013,

Re: [Gretl-users] dummify with list and script output window

2013-02-14 Thread Pindar
nna be implemented in my new multivariate statistic package). Perhaps someone has an idea how to solve the sorting issue for more than A*B. Cheers Leon 04.01.2013 11:52, schrieb Pindar: > Hi, > > I'm of the opinion that a "*" operator for interaction variables is a &

Re: [Gretl-users] scrip step by step using the menus...

2013-02-14 Thread Pindar
Hi Stanislav, under 'tools' there is the 'command log'. It does what u r searching for (in most cases). Greets Leon Am 14.02.2013 12:29, schrieb Klazar_GG: > Hello, > > I'm trying to learn more about the scripts in Gretl. I am as a > beginner familiar with the menus command but it seems to me th

Re: [Gretl-users] dummify with list and script output window

2013-02-14 Thread Pindar
27;s see how to use this new command for my interact function :-) Best Leon Am 14.02.2013 11:48, schrieb Riccardo (Jack) Lucchetti: > On Thu, 14 Feb 2013, Pindar wrote: > >> Hi there, >> >> I'd like to ask what the interaction operator 'makes'? >> &

[Gretl-users] BUG deleting a nonexisting list

2013-02-14 Thread Pindar
Hi there, there is a major bug: deleting a nonexisting lists leads to deleting the last series of the dataset! (snapshot on W8) open chard.gdt list inter delete Cheers Leon Hi there, there is a major bug: deleting a nonexisting lists leads to deleting the last series o

Re: [Gretl-users] dummify with list and script output window

2013-02-14 Thread Pindar
loop foreach i G1 -q part1 = G1.$i part2 -= G1.$i inter += part1^part2 endloop Am 14.02.2013 11:48, schrieb Riccardo (Jack) Lucchetti: > On Thu, 14 Feb 2013, Pindar wrote: > >> Hi there, >> >> I'd like to ask what the interaction operator 'makes

Re: [Gretl-users] dummify with list and script output window

2013-02-15 Thread Pindar
endloop Best Leon 14.02.2013 20:48, schrieb Allin Cottrell: > On Thu, 14 Feb 2013, Pindar wrote: > >> I also encountered some bugs (at least on W8) [...] > Some of these I can replicate, some not. What version of gretl > are you running (if a snapshot, what's the date?).

[Gretl-users] question: changing the fonts

2013-02-16 Thread Pindar
Hi, how is it possible to add fonts to this list ? (gretl on windows) There is a button for 'more fonts', but I don't quite understand why it opens the control panel and how to add then a font. Cheers Leon Hi, how is it possible to add fonts to this list ? (gretl on

Re: [Gretl-users] dummify with list and script output window

2013-02-16 Thread Pindar
That's great - Thanks for making the double string substitution work! Best Leon Am 16.02.2013 15:44, schrieb Allin Cottrell: > On Fri, 15 Feb 2013, Pindar wrote: > >> in terms of the bundle problem I was not concrete enough. >> I'm using the current snapsho

Re: [Gretl-users] question: changing the fonts

2013-02-16 Thread Pindar
:-) Let's see what I find (but Consolas works fine though). Have a nice weekend Leon Am 16.02.2013 15:47, schrieb Allin Cottrell: > On Sat, 16 Feb 2013, Pindar wrote: > >> how is it possible to add fonts to this list ? >> (gretl on windows) >> >> There is a b

[Gretl-users] zeromiss with lists

2013-02-18 Thread Pindar
Hi there, in this little function 'zeromiss' is applied to a list and a new list is returned. Ok so far, but it is possible to overwrite the already existing series or to apply the original labels to the new series? function list zeroNA(list variables) list X = null loop foreach i variables -q

Re: [Gretl-users] aggregate by

2013-02-19 Thread Pindar
I'm working since weeks now on a comprehensive 'SummaryBy' function. It's not that easy as it seems, especially if u want something like a combination of discrete variables (and to use it for tests like Box-M...). With a bunch of new hansl functionalities the target has come closer! Thanks Allin

Re: [Gretl-users] isnan problem

2013-02-19 Thread Pindar
This is fine! Leon Am 19.02.2013 um 19:47 schrieb Allin Cottrell : > On Tue, 19 Feb 2013, artur tarassow wrote: > >> The following generates recheck=0 but I think it should be 1 (at least to >> the function description): >> >> >> scalar check = NA >> check >> recheck = isnan(check) >> recheck

Re: [Gretl-users] zeromiss with lists

2013-02-19 Thread Pindar
And this too :-) Leon Am 19.02.2013 um 19:13 schrieb Allin Cottrell : > On Mon, 18 Feb 2013, Pindar wrote: > >> in this little function 'zeromiss' is applied to a list and a new list is >> returned. >> Ok so far, but it is possible to overwrite the already e

Re: [Gretl-users] question: changing the fonts

2013-02-23 Thread Pindar
uch a file look like? I already installed new fonts which then were available in e.g. Excel, hence it's a GRETL specific issue. Greetings Leon 16.02.2013 15:54, schrieb Pindar: > :-) > > Let's see what I find (but Consolas works fine though). > > Have a nice weekend

Re: [Gretl-users] question: changing the fonts

2013-02-23 Thread Pindar
Thanks for the clarification. I believe u :-) Have a nice weekend Leon Am 23.02.2013 um 20:27 schrieb Allin Cottrell : > On Sat, 23 Feb 2013, Pindar wrote: > >> How many fonts does the average GRETL user see in his list? >> >> I think that the reason for only 3 fo

Re: [Gretl-users] aggregate by

2013-02-24 Thread Pindar
Hi, I'd like to point out, that a 'good' 'aggregate by' function would do such a job as described below. Unfortunately I'm stuck with more then bivariate interaction but I'm sure GRETL can do this, this question is how! It's even more complex since the R function is not that good either, cos e

Re: [Gretl-users] aggregate by

2013-02-25 Thread Pindar
Thank u Jack for this nice solution! Leon Am 25.02.2013 um 01:20 schrieb "Riccardo (Jack) Lucchetti" : > On Sun, 24 Feb 2013, Pindar wrote: > >> Hi, >> >> I'd like to point out, that a 'good' 'aggregate by' function would do such a

Re: [Gretl-users] the aggregate() function

2013-02-28 Thread Pindar
Hi, I really appreciate the new functionalities of aggregate()! At first some comments: a) including the cases is very useful b) in terms of the NaN rows in a matrix, well I'm not that sure, in my function I skip them at the moment, but perhaps sometimes it's exactly those comb

Re: [Gretl-users] the aggregate() function

2013-02-28 Thread Pindar
Am 28.02.2013 19:11, schrieb Allin Cottrell: > On Thu, 28 Feb 2013, Pindar wrote: > >> I really appreciate the new functionalities of aggregate()! > Glad you like! > >> At first some comments: >> a) including the cases is very useful >> b) in terms of th

[Gretl-users] isnull for matrices

2013-03-04 Thread Pindar
Hi, I encountered that a matrix that 'is null' cannot be filtered by 'isnull': matrix test = {1,0,3;1,1,100} eval isnull(test) matrix seek = selifr(test,test[,1].=1) matrix seek = selifr(seek,seek[,2].=2) eval seek eval isnull(seek) # and also not working eval ok(test) eval ok(seek) Best Leon

Re: [Gretl-users] Dataset handling in gretl (IDs, labels, standardization)

2013-04-16 Thread Pindar
Hi, since hansl is a very userfriendly language u can even shorten the code by using my_std_matrix ~= {my_std_series} Cheers Am 16.04.2013 15:30, schrieb artur bala: > >> >>> (3) Finally, I would like to standardize the regressors (not the dependent >>> variable) in my dataset, such that each

Re: [Gretl-users] Gretl Help

2013-04-22 Thread Pindar
u'd better use the panel option for defining the dataset structure. If u r working with matrices in the first column the unit identifiers need to present and r then sorted along with the variable of interest. Cheers Pindar > > I would really appreciate a

[Gretl-users] DPANEL time dummies and the dpdstyle

2013-05-17 Thread Pindar
Hi there, I have a panel of bank data for 12 years and investigate on the effect of interest rates on risk-taking. Although every characteristic of the dataset says DPANEL I have some problems getting correct estimations. The main problem is one of multicollinearity: The time dummies and two of

Re: [Gretl-users] DPANEL time dummies and the dpdstyle

2013-05-17 Thread Pindar
17.05.2013 12:38, Pindar: > Hi there, > > I have a panel of bank data for 12 years and investigate on the effect > of interest rates on risk-taking. > Although every characteristic of the dataset says DPANEL I have some > problems getting correct estimations. > The m

  1   2   >