[Gretl-users] Re: New mailing list archives

2019-07-06 Thread Riccardo (Jack) Lucchetti
On Sat, 6 Jul 2019, Riccardo (Jack) Lucchetti wrote: https://www.mail-archive.com/gretl-user@gretlml.univpm.it/ Except that, me being the king of the typo, the correct link is https://www.mail-archive.com/gretl-users@gretlml.univpm.it/ Sorry about

[Gretl-users] Re: Periodogram

2019-08-12 Thread Riccardo (Jack) Lucchetti
(Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp/lucchetti

Re: [Gretl-users] acf and pacf output

2004-04-02 Thread Riccardo 'Jack' Lucchetti
in a regression), by simply discarding k observations for each one. Asymptotically, it wouldn't matter. Riccardo `Jack' Lucchetti Dipartimento di Economia Università di Ancona jack(a)dea.unian.it http://www.econ.unian.it/lucchetti

Re: [Gretl-users] gretl on the Quantian live-cd

2004-07-11 Thread Riccardo 'Jack' Lucchetti
noppix stuff should be kept to a minimum, so convergence towards standard Debian would be easier for those who install the whole thing on hard disk. Some months ago, a sysv-init transition (or something like that) had me fixing stuff for a whole night. That said, quantian rocks! Riccardo `J

[Gretl-users] Heckit estimator

2006-02-06 Thread Riccardo Jack Lucchetti
il 1.5.1 is released. Comments are welcome. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona <>

Re: [Gretl-users] EMF and PNG format

2006-02-06 Thread Riccardo Jack Lucchetti
if you use LaTeX, don't know about word processors. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] RE: Omit exogenous variables - bug?

2006-02-06 Thread Riccardo Jack Lucchetti
y so I can see what's going on? > Ps. VAR lag selection is now great. Thanks. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] CVS bug-fixing report

2006-02-07 Thread Riccardo Jack Lucchetti
t; ups...I have now: > > -rw-r--r-- 1 marcin marcin 73337 2006-02-07 07:39 session.c > > and Gretl craches...I'll try it on notebook > > Marcin > Could you please explain your problem in more detail? I tried saving a session with a large model (18 regressors) and had no trou

Re: [Gretl-users] function

2006-02-08 Thread Riccardo Jack Lucchetti
're defining a function whose name is already taken. The solution I use is to put a "clear" statement before the function definition; example: (contents of func.inp) function foo clear function foo(scalar x1, series x2) ... so I can include func.inp as many times as I want. Hope this helps, -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] function

2006-02-08 Thread Riccardo Jack Lucchetti
the parameters as scalar variables: > I hate to play "I told you so", but... woe on those who like locale-dependent decimal separators! -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Cointegration with Gretl -Suggestions!

2006-02-08 Thread Riccardo Jack Lucchetti
s. In an unrestricted VAR, r=n; I fail to see how you can restrict the constant in an otherwise unrestricted VAR. Maybe my poor understanding of cointegration is showing? :-) -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Cointegration with Gretl -Suggestions!

2006-02-09 Thread Riccardo Jack Lucchetti
On Thu, February 9, 2006 00:22, Sven Schreiber wrote: > Riccardo Jack Lucchetti schrieb: >> On Wed, February 8, 2006 22:15, john w wrote: > >>> >>>After such estimation in which you can determine the constant and trend to >>>be unrestricted or not you

Re: [Gretl-users] Changing the limits of the ARMA estimation

2006-02-13 Thread Riccardo Jack Lucchetti
n it. However, I'm a little wary of the numerical problems that might arise if you tried to estimate a monster such as, for example, an ARMA(25,30). What would you think is an upper limit we shouldn't exceed in any case? -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Changing the limits of the ARMA estimation

2006-02-13 Thread Riccardo Jack Lucchetti
er checks we have. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Changing the limits of the ARMA estimation

2006-02-14 Thread Riccardo Jack Lucchetti
w if this solves your problem. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Integrating user scripts

2006-02-16 Thread Riccardo Jack Lucchetti
a few days ago goes precisely in >>that direction. > > Yes, I have try it. Works nice. Thanks. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] limitations of maximum likelihood estimations

2006-02-19 Thread Riccardo Jack Lucchetti
generated data? -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] EC term plot ? and still missing feature

2006-02-21 Thread Riccardo Jack Lucchetti
: I won't have a go at this before 1.5.1 is released. Sorry! -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] nonliinear least squares

2006-02-22 Thread Riccardo Jack Lucchetti
ou have a relationship y = b1 * x1 + b2 * x2 if you want to set the constraint (b1+b2)=1, you can rewrite the above as y = b1 * x1 + (1-b1) * x2 => (y-x2) = b1 * (x1 - x2) and estimate b1 via ols. Hope this helps, -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Kalman filter

2006-02-28 Thread Riccardo Jack Lucchetti
l case of Kalman filtering) plus a usage example. Just to give you an idea on what it could look like. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona recOLS.inp Description: application/gretlscript recOLS-example.inp Description: application/gretlscript

Re: [Gretl-users] Gretl crash Vol. 2!

2006-03-03 Thread Riccardo Jack Lucchetti
nd see no problem, and valgrind (memory checker) shows >>no problem either. Could you give a data set and a model specification? >> I tried to replicate your instructions as strictly as possible. Nothing wrong happens on linux. If other people using windows confirm the behaviour you're seeing, then it must be a bug in the windows version. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Gretl crash Vol. 2!

2006-03-03 Thread Riccardo Jack Lucchetti
Now we're focussed on releasing 1.5.1. After that, I'll work on these. -- Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Grocer/Scilab Integrated with Gretl?

2006-03-04 Thread Riccardo Jack Lucchetti
le wary of the magic machine where you put data in and the "right" model miraculously comes out. But maybe it's just me becoming an old fart with age. - a contributions device, that provides contributions of exogenous variables to an endogenous one for any dynamic equation What's this? -- Ricc

Re: [Gretl-users] Occasional problem with scatterplots

2006-03-13 Thread Riccardo Jack Lucchetti
t now. > Yes on both accounts. I agree. What I'd like even better would be different symbols for different groups, like John suggested earlier. But this is not vital IMO, let's put it off after release. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Changing Language

2006-03-13 Thread Riccardo Jack Lucchetti
n gretl from that same shell. I don't know about Windows or Mac OS X. Hope this helps. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Changing Language

2006-03-14 Thread Riccardo Jack Lucchetti
at the output of "locale -a". Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] gretl on OS X

2006-03-14 Thread Riccardo Jack Lucchetti
webpage sufficient, or there is something more we need to know? Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Kalman Filter

2006-03-16 Thread Riccardo Jack Lucchetti
"\nFilter done\n" return series filtered end function Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Greek Language

2006-03-24 Thread Riccardo Jack Lucchetti
006-March/thread.html and in particular http://ricardo.ecn.wfu.edu/pipermail/gretl-users/2006-March/000634.html On the mailing list archives you'll also find the addresses of the present translators (Cristian, Sven, Ignacio and more) who will be happy to provide some help. Riccardo "Jack&

Re: [Gretl-users] Greek Language

2006-03-24 Thread Riccardo Jack Lucchetti
nslator already we do not need translate the same > things... maybe this is what you want: http://www.iro.umontreal.ca/translation/registry.cgi?domain=gretl download the .pot file and have fun. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] RATS database

2006-03-31 Thread Riccardo Jack Lucchetti
s. However, while the Australian dataset opens fine, the Danish data don't (there could be some bug in our import routine). Fortunately, the Danish dataset is already present in gretl's native example dataset stock. Just do File->Open File->Sample Data->gretl and you'll find the "denmark

Re: [Gretl-users] Re: Gretl-users Digest, Vol 24, Issue 2

2006-04-04 Thread Riccardo Jack Lucchetti
ew days because of a hardware failure at sourceforge. When we get back in action, that's something we can think about. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Random and fixed effect estimations

2006-05-25 Thread Riccardo Jack Lucchetti
ow. As of today, there is a preliminary version of fixed and random effects estimator in CVS. However, you can use the old-style syntax (provided you've already defined your dataset as panel) pooled y 0 x hausman and get the basic stuff done; see "help pooled" for details. Riccardo "Jack" Lucchet

Re: [Gretl-users] strange histogram behavior

2006-05-26 Thread Riccardo Jack Lucchetti
te rather than continuous. This is fixed now in CVS. Actually, from the next version, you'll have the option of setting variables as discrete and steer the way things are done accordingly. Sorry for that. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] strange histogram behavior

2006-05-26 Thread Riccardo Jack Lucchetti
On Fri, May 26, 2006 15:19, Sven Schreiber wrote: > Jack, > was this message private (off-list) on purpose? > -SVen > Of course not. Sorry. > Riccardo Jack Lucchetti schrieb: >> On Fri, May 26, 2006 14:23, Sven Schreiber wrote: >>> Thanks for the explanation

Re: [Gretl-users] ok to edit .po files offline now?

2006-05-27 Thread Riccardo Jack Lucchetti
tomorrow, so don't hold your breath). Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] ok to edit .po files offline now?

2006-05-29 Thread Riccardo Jack Lucchetti
going through the quadratic form. Allin and I talked the thing over to some length, and eventually decided that in some cases (eg HT for random effects vs fixed effects in panels) we present both forms in order to make it easier to compare our results with those from other packages (eg Stata). Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] translation issues

2006-06-07 Thread Riccardo Jack Lucchetti
translators would be good. IMO Kalman-based ARMA (which was the sore point for some time) has now stabilised enough, and a win snapshot would be interesting to see for many people. Allin, do you agree? Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Estimating ARMA model with GARCH errors

2006-06-08 Thread Riccardo Jack Lucchetti
el" slower than a builtin command, but it should get the job done. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Estimating ARMA model with GARCH errors

2006-06-08 Thread Riccardo Jack Lucchetti
On Thu, June 8, 2006 08:29, Riccardo Jack Lucchetti"" wrote: > > at present, the only way you have in gretl to estimate an arma model with > garch variance is to use the "mle" command. Section 10.4 in the manual reports > an example with a garch(1,1) model. A s

Re: [Gretl-users] Behrens-Fisher problem

2006-06-09 Thread Riccardo Jack Lucchetti
to the sample size. >> >> OK, we'll do that. >> > > Thanks a lot! I'm sorry I can't help with those things, but I don't know > C. (to be honest, nor do I want to know it... ;-) ... and I don't blame you! But with a little LaTeX, you could summarise this very interesting dis

Re: [Gretl-users] HP-filter

2006-06-14 Thread Riccardo Jack Lucchetti
Loops are your friends; try this in the console or, better still, in a script: loop foreach i x y z series cyc_$i = hpfilt($i) series tre_$i = $i - cyc_$i end loop > > Thanks! > You're welcome! Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] This is off-topic but...

2006-06-16 Thread Riccardo Jack Lucchetti
/tex-archive/info/lshort/english/lshort.pdf Oh, and don't forget this :-) http://www.ecn.wfu.edu/~cottrell/wp.html HTH, Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re:Re: [Gretl-users] Installing gretl from source

2006-06-17 Thread Riccardo Jack Lucchetti
essage I get: > > ... In Debian, those files are included in the libxml2-dev package. I suppose that applies to Ubuntu as well. I can compile ok with version 2.6.26.dfsg-1 . Have you got libxml2-dev installed? What version? Riccardo "Jack" Lucchetti Diparti

Re:Re: [Gretl-users] Installing gretl from source

2006-06-22 Thread Riccardo Jack Lucchetti
you're in business. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] small bug

2006-07-06 Thread Riccardo Jack Lucchetti
hot and/or your own home-compiled CVS version, that would be a big help. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] small bug

2006-07-06 Thread Riccardo Jack Lucchetti
convert some of their programs to our own matrix syntax to check if it works ok. You'll also notice random bits here and there, like multiple time-series graphs and a partially chnged menu structure: comments on usability are very welcome too. > Btw, I'm very happy with gretl's progress!

Re: [Gretl-users] Testing the current CVS version

2006-07-11 Thread Riccardo Jack Lucchetti
f(fp, "set boxwidth 0.75\n"); +} + /* plot instructions */ if (use_boxes) { if (gnuplot_has_style_fill()) { Do you people like it? Allin, do you? Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Menu re-structuring

2006-07-13 Thread Riccardo Jack Lucchetti
of the items that are now under "Data" with some entries from "Variable". But I don't have a strong opinion on this, also because I wouldn't know how to organise the leftovers. > * Model > > - Jack: let's re-arrange commands like this: ... Please note that my proposal

Re: [Gretl-users] Menu re-structuring

2006-07-13 Thread Riccardo Jack Lucchetti
o do say, some serious panel analysis. Just kidding Jack :) Wait until we give the cheatcodes away! Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Menu re-structuring

2006-07-14 Thread Riccardo Jack Lucchetti
like Allin had in mind, but it's a start. Ideally, the list of variables that can be "set" could be kept in an xml file, with a record for each variable and fields like the ones you'll find in the attached spreadsheet, plus more (eg, string to display). Riccardo "Jack" Lucchetti

Re: [Gretl-users] Menu re-structuring

2006-07-14 Thread Riccardo Jack Lucchetti
ably find the new layout much more coherent. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Menu re-structuring

2006-07-14 Thread Riccardo Jack Lucchetti
title for the notional added tree > would be ("View"?). Maybe "Stats"? Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] settable variables

2006-07-16 Thread Riccardo Jack Lucchetti
well worth the effort. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] settable variables

2006-07-16 Thread Riccardo Jack Lucchetti
On Sun, July 16, 2006 05:06, Allin Cottrell wrote: > On Sun, 16 Jul 2006, Riccardo Jack Lucchetti wrote: > >> Another thing that IMO needs doing is incorporating >> ad-hockeries into the "settable variables" framework. Case in >> point: boxplots. I plan to do s

Re: [Gretl-users] Suggesting a new look for gretl.

2006-07-17 Thread Riccardo Jack Lucchetti
accepted to JAE for publication in the software > section. Ah-ha! Nice shot! Congrats! Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Re: The Splash Screen is here

2006-07-19 Thread Riccardo Jack Lucchetti
eally say "gretl" to me. I agree. Your splash screen is neat, but "cold". Gretel is "warmer". I'm very attached to the little girl. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Re: The Splash Screen is here

2006-07-20 Thread Riccardo Jack Lucchetti
ns. Why don't you use the "About" box (Help/About gretl) as a starting point? I'd quite like that as a splash screen already, with some extra work it could make for a very nice one. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Hello Group, On Shaza and other toos

2006-07-21 Thread Riccardo Jack Lucchetti
> * GUI interface for time-series filters > * Your requests here * a few more tools for long-memory models Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] JMulTi

2006-07-22 Thread Riccardo Jack Lucchetti
said, it's none of my business. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] GUI modification...

2006-07-22 Thread Riccardo Jack Lucchetti
other stuff, and/or possibly re-define x. The you go back to model 1 and ask for a variable deletion test, which doesn't involve log(x). You can compute the test statistic, but you can't compute the restricted model, because log(x) is gone forever (ok, strictly speaking you can compute coefficients

[Gretl-users] Splash Screen (longish)

2006-07-23 Thread Riccardo Jack Lucchetti
Conclusion: I don't really care that much. If I had to vote, I wouldn't want any splash screen at all. But I wouldn't really mind one (if done competently), I just fail the see its importance. Certainly there are hundreds of other things inside gretl I prefer spending my time working on. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Splash Screen (longish)

2006-07-23 Thread Riccardo Jack Lucchetti
ous post sounded harsh, I apologise, I didn't mean it in the slightest. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] model dialog boxes: small question

2006-08-08 Thread Riccardo Jack Lucchetti
(that is, Independent variables in TSLS, Endogenous variables in >> VAR and VECM) in the lower right position. However, I think it >> might be more intuitive for new users if the primary selection >> were above. Agreement or disagreement? >> Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] subsampling and continuously shrinking sample!

2006-08-23 Thread Riccardo Jack Lucchetti
have occured though, but only once in several tests.) Could you post your dataset too, so it's possible to see exactly what's going on? Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] subsampling and shrinking sample WITH DATA!

2006-08-23 Thread Riccardo Jack Lucchetti
On Wed, August 23, 2006 09:28, Arnaud Bervas wrote: > better with the data! Yes. If only you had attached them! :-) Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] subsampling and continuously shrinking sample!

2006-08-23 Thread Riccardo Jack Lucchetti
o compute differences, do "smpl full" first and ONLY AFTER do the subsampling. In your case, the changing sample depends on the fact that you re-generate the differences in subsample mode, which in turn leads to a different sub-sample, and so on. Riccardo "Jack" Lucchetti Diparti

Re: [Gretl-users] VECM estimation

2006-08-30 Thread Riccardo Jack Lucchetti
o differ too (I don't have Microfit, so I can't run an in-depth comparison). Allin, if you approve the patch, I'll update the manual. Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona Index: lib/src/genrfuncs.c ===

Re: [Gretl-users] multiple indexes for variables?

2006-08-31 Thread Riccardo Jack Lucchetti
al() genr x1 = normal() genr x2 = normal() loop for i=1..2 loop for j=1..2 ols y$i const x$j end loop end loop Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] Importing excel sheets for batch jobs..

2006-09-01 Thread Riccardo Jack Lucchetti
e there's only one, a possible workaround is to use ssconvert, gnumeric's command-line utility for converting formats. Example: ssconvert foo.xls foo.csv && gretlcli foo.csv Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] cosmetics for 1.6.0

2006-09-04 Thread Riccardo Jack Lucchetti
ot;spectrum" when they really mean "estimate of the spectrum", be it consistent or not, the same way we often call "autocorrelations" what really are "sample autocorrelations". Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

Re: [Gretl-users] cosmetics for 1.6.0

2006-09-06 Thread Riccardo Jack Lucchetti
ars-of-schooling variable can also > take on half-year (.5) values. But nothing in between, so it's still > discrete. > You can always multiply it by 2. Not very clean, but... Riccardo "Jack" Lucchetti Dipartimento di Economia Facoltà di Economia "G. Fuà" Ancona

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-28 Thread Riccardo (Jack) Lucchetti
have expected the following to work (but it doesn't). What am I missing? set verbose off open denmark.gdt --quiet list X = LRM LRY IBO IDE var 4 X --silent matrix U = $uhat list L = U --- Riccardo (Jack) Lucchetti Dipartimento di

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-23 Thread Riccardo (Jack) Lucchetti
; unfortunately, I can't think of any easy automatic way to construct this, other than introducing a couple of new functions to retrieve the "t1" and "t2" integers that are contained in the matrix info. ------- Riccardo (Jack) Lucchet

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-23 Thread Riccardo (Jack) Lucchetti
On Fri, 23 Aug 2019, Riccardo (Jack) Lucchetti wrote: On Fri, 23 Aug 2019, Sven Schreiber wrote: Hi, in the GUI it is easy to get a plot of estimated VAR residuals. But it seems surprisingly difficult to do the same thing via scripting. I can save the residuals by $uhat, but that gives me

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-26 Thread Riccardo (Jack) Lucchetti
y, I think. --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-26 Thread Riccardo (Jack) Lucchetti
On Mon, 26 Aug 2019, Sven S wrote: On 26.08.19 14:30, Riccardo (Jack) Lucchetti wrote: provided the matrix in question has the right number of rows and one column. In many cases, it'd be very useful to have a parallel "multivariate" construct, such as list X = matrix which woul

[Gretl-users] Re: Scripting the VAR residual plot

2019-08-26 Thread Riccardo (Jack) Lucchetti
ething like "limitset(X, 2, 99)". At least, that's what I had in mind. ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona

[Gretl-users] Power outage

2019-09-13 Thread Riccardo (Jack) Lucchetti
back to normal. --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-17 Thread Riccardo (Jack) Lucchetti
> n funcerr "what?" endif matrix sel = ranking(muniform(n,1)) return X[sel[1:k],] end function ### example X = mnormal(10, 3) print X eval sample_wo_rep(X, 6) ------- Riccardo (Jack) Lucchetti Dipartimento di Scie

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-17 Thread Riccardo (Jack) Lucchetti
On Tue, 17 Sep 2019, Sven Schreiber wrote: Am 17.09.2019 um 09:47 schrieb Riccardo (Jack) Lucchetti:     matrix sel = ranking(muniform(n,1))     return X[sel[1:k],] the doc for ranking says "...plus one half the number of elements...", so it can be non-integer, no? In t

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-17 Thread Riccardo (Jack) Lucchetti
On Tue, 17 Sep 2019, Sven Schreiber wrote: Am 17.09.2019 um 11:19 schrieb Riccardo (Jack) Lucchetti: On Tue, 17 Sep 2019, Sven Schreiber wrote: Am 17.09.2019 um 09:47 schrieb Riccardo (Jack) Lucchetti:     matrix sel = ranking(muniform(n,1))     return X[sel[1:k],] the doc for ranking

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-17 Thread Riccardo (Jack) Lucchetti
yOn Tue, 17 Sep 2019, Riccardo (Jack) Lucchetti wrote: Yes. But doubles are 8 byte large. But the probability of extracting k different numbers out of n choices without repetition is $\frac{(n-1)!}{(n-k)! n^{k-1}}$ (if I recall correctly), so when n = 2^32 I guess we're pretty safe for any

[Gretl-users] Re: Resample without replacement

2019-09-17 Thread Riccardo (Jack) Lucchetti
On Tue, 17 Sep 2019, Riccardo (Jack) Lucchetti wrote: Actually, I was thinking that it's a shame that argument 2 in the "resample" function is already taken (I hear you, Sven, named arguments... ;)). It would have been nice to have a Boolean flag for the "with/without resa

[Gretl-users] Re: Resample without replacement

2019-09-17 Thread Riccardo (Jack) Lucchetti
ctually, I was thinking that it's a shame that argument 2 in the "resample" function is already taken (I hear you, Sven, named arguments... ;)). It would have been nice to have a Boolean flag for the "with/without resampling" choice. --

[Gretl-users] Re: Check whether a series defines a panel dimension

2019-09-09 Thread Riccardo (Jack) Lucchetti
eval corr($unit, id) ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/s

[Gretl-users] Re: Check whether a series defines a panel dimension

2019-09-08 Thread Riccardo (Jack) Lucchetti
return ret end function # example open abdata.gdt --quiet eval is_crossdim_index_series(YEAR) discrete unit eval is_crossdim_index_series(unit) --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES)

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-19 Thread Riccardo (Jack) Lucchetti
of this. --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-19 Thread Riccardo (Jack) Lucchetti
? --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp/lucchetti

[Gretl-users] Re: ERROR: sample script gmm

2019-07-31 Thread Riccardo (Jack) Lucchetti
Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp

[Gretl-users] Re: using levels and log transformed data in forecasting

2019-07-17 Thread Riccardo (Jack) Lucchetti
-output=display Hope this helps. ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.eco

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-19 Thread Riccardo (Jack) Lucchetti
if Stefano Fachin, our bootstrap guru, would give his opinion on the matter). --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona

[Gretl-users] Re: An alternative "ranking" Gretl function ?

2019-09-21 Thread Riccardo (Jack) Lucchetti
on't know, but it looks sort of nice. ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.

[Gretl-users] Re: an alternative "ranking" function

2019-09-21 Thread Riccardo (Jack) Lucchetti
s what the function does. Have you tried it? ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://w

[Gretl-users] Re: Resample without replacement

2019-09-24 Thread Riccardo (Jack) Lucchetti
= X[randperm(r,n),] and anyone who wanted to subsample with order preserved could do matrix s = X[sort(randperm(r,n)),] Any takers? I like this! --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES

[Gretl-users] Re: Resample without replacement (Artur Tarassow)

2019-09-20 Thread Riccardo (Jack) Lucchetti
. --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp/lucchetti

[Gretl-users] Re: Gretl-users Digest, Vol 152, Issue 19 - alternative ranking function

2019-09-21 Thread Riccardo (Jack) Lucchetti
b = cum(a[,2])     return replace(G, a[,1], b) end function and it works just fine. Thanks! Your change replaces "less than" with "less than or equal". :) ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economi

[Gretl-users] Re: Request for cdemean()

2019-11-13 Thread Riccardo (Jack) Lucchetti
On Wed, 13 Nov 2019, Sven Schreiber wrote: Am 13.11.2019 um 10:33 schrieb Riccardo (Jack) Lucchetti: On Wed, 13 Nov 2019, Stefano Fachin wrote: I think adding this to the GUI and extend it to operate on lists is a great idea. We should be careful about definitions, though - "standa

[Gretl-users] Re: Request for cdemean()

2019-11-13 Thread Riccardo (Jack) Lucchetti
; if I had to choose, I'd go by "rescale". ------- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it

[Gretl-users] Re: Request for cdemean() on lists (GUI appearance as well)

2019-11-12 Thread Riccardo (Jack) Lucchetti
). --- Riccardo (Jack) Lucchetti Dipartimento di Scienze Economiche e Sociali (DiSES) Università Politecnica delle Marche (formerly known as Università di Ancona) r.lucche...@univpm.it http://www2.econ.univpm.it/servizi/hpp/lucchetti

  1   2   3   4   >