Re: [Gretl-users] Panel plot in a loop

2016-09-03 Thread Allin Cottrell
On Wed, 31 Aug 2016, cociuba mihai wrote: > I'm interested to know if there are any possibilities to generate panel > plots from a script, or to retrieve the mean of the selected series. > Also the panel plot command doesn't appear in the command log. Right now the "panel plot" (the special set o

Re: [Gretl-users] MLE Advanced

2016-09-03 Thread Allin Cottrell
On Fri, 2 Sep 2016, Sven Schreiber wrote: > Am 02.09.2016 um 18:15 schrieb Mario Flórez Porras: >> Beforehand, thank you very much for answer. >> >> I know how to set the tolerance parameter. What I want to know if >> possible is how gretl calculate whether my model mets the tolerance? > > I don'

Re: [Gretl-users] Gretl 2016c: modtest --white

2016-09-03 Thread Allin Cottrell
On Fri, 2 Sep 2016, Pedro Bação wrote: > Hello, > > To replicate Greene's example 9.3 (heteroskedasticity tests), in Gretl I > run the script: > > open TableF9-1.txt > square Income > smpl Avgexp>0 --restrict > ols Avgexp const Age Income sq_Income Ownrent > modtest --white > modtest --white-nocro

Re: [Gretl-users] deleting variables

2016-09-03 Thread Allin Cottrell
On Fri, 2 Sep 2016, Summers, Peter wrote: > Hi all, > > I've got a script that generates a bunch of auxiliary series that > I don't want to keep in the dataset, so I put "delete thislist > thatlist (etc.)" as the last line in the script. When I run it, I > get a message (in the output) saying n

Re: [Gretl-users] GNUPlot Question

2016-09-03 Thread Allin Cottrell
On Thu, 1 Sep 2016, Sven Schreiber wrote: > Am 01.09.2016 um 16:47 schrieb Logan Kelly: >> The command used to work, but since an update to GNUPlot (not gretl's >> fault) it doesn't. I am asking if anyone knows of a quick command to >> add various dashed line options (again this is a bit off topic

Re: [Gretl-users] deleting variables

2016-09-03 Thread Summers , Peter
Gretl is somewhat conservative about letting you delete series in a given session because that can break existing lists, saved models and so on, but reloading the dataset starts a new session so those worries do not apply. That's what I thought might be going on, but I don't have any saved model

Re: [Gretl-users] GNUPlot Question

2016-09-03 Thread Logan Kelly
Hi Alan, Thanks. But won't that remove color from the plot? My goal is to produce a plot that is ready for online or print publications. So it would be nice to have both colors and dashed lines. Logan Get Outlook for Android From: Allin Cottrell Sent: Saturday, Septemb

Re: [Gretl-users] deleting variables

2016-09-03 Thread Allin Cottrell
On Sat, 3 Sep 2016, Summers, Peter wrote: > This is for a JAE replication package, and I just wanted to have > the script clean up the dataset when finished so it's back to the > original state. That's not crucial, and I could just remove the > delete command and leave the "cleanup" to the next

Re: [Gretl-users] GNUPlot Question

2016-09-03 Thread Allin Cottrell
On Sat, 3 Sep 2016, Logan Kelly wrote: > Thanks. But won't that remove color from the plot? (where "that" was my suggestion, "set term pdfcairo mono dashed") Yes, it will. > My goal is to produce a plot that is ready for online or print > publications. So it would be nice to have both colors

Re: [Gretl-users] deleting variables

2016-09-03 Thread Allin Cottrell
One more thought on this: if you're running a replication script in the GUI and want to make sure you don't inadvertently save a modified version of the dataset, overwriting the original, you could add a "clear" command at the end. Allin

Re: [Gretl-users] MLE Advanced

2016-09-03 Thread Ether
Here is Octave code which produces the same covariance values as gretl: degrees_of_freedom = cases-predictors; coefficients = pinv(IV)*DV; estimates = IV*coefficients; residuals = DV-estimates; SSres = residuals'*residuals; residual_variance = SSres/degrees_of_freedom; N=IV'*IV; Ni=inv