Re: [Gretl-users] Panel data holding cross-sections fixed
by Allin Cottrell
On Sat, 23 Apr 2011, Ashish Sharma wrote:
> I had a quick question about my regression of panel data. I am
> using the fixed effects model to analyse data for 15 regions
> over the span of 7 years. I do not want to hold time constant
> but I do want to account for any regional differences between
> regions by holding cross-sections fixed.
>
> I am new to gretl and am not sure how to do this. When prompted
> by gretl, before running my regression I did not tick the "time
> dummy" box, however I cannot find an option for holding
> cross-sections fixed.
Choose /Model/Panel/Fixed or random effects... and ensure that the
"fixed effects" button is selected (but it's the default so it
should be selected automatically).
Allin Cottrell
13 years, 8 months
Panel data holding cross-sections fixed
by Ashish Sharma
Hi,
I had a quick question about my regression of panel data. I am using the fixed effects model to analyse data for 15 regions over the span of 7 years. I do not want to hold time constant but I do want to account for any regional differences between regions by holding cross-sections fixed.
I am new to gretl and am not sure how to do this. When prompted by gretl, before running my regression I did not tick the "time dummy" box, however I cannot find an option for holding cross-sections fixed. When I enter dummies myself for regions they are omitted due to collinearity.
Thanks for your help
Ash
13 years, 8 months
Re: [Gretl-users] Building gretl from CVS on Linux
by Allin Cottrell
On Fri, 22 Apr 2011, Artur Tarassow wrote:
> This is the response from gdb, Allin:
>
> ------------------------------------------------
> (gdb) run
> Starting program: /usr/bin/gretl_x11
> [Thread debugging using libthread_db enabled]
> Couldn't read /home/artur/.gretl2rc
> [New Thread 0x7fffea582700 (LWP 2129)]
> [New Thread 0x7fffe9d81700 (LWP 2130)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000049b12e in check_var_labels_state (item=<value optimized out>,
> p=0x849e70) at menustate.c:325
> 325 if (datainfo->v > 2 || strcmp(datainfo->varname[1], "index")) {
Thanks, Artur. Either this was a very simple bug -- in which case
I'm suprised nobody has seen it before, and it should now be fixed
in CVS -- or it's something very strange!
Allin
13 years, 8 months
Panel Data Help
by Mina Shariq
Hi,
I was wondering if you could kindly help me out. I am using Gretl to regress
panel data for my dissertation. My panel data consists of data on 13
villages over the span of 8 years: 2001 - 2008 (a total of 104
observations). The problem is whenever I lag any of my variables (such as
government spending) Gretl drops my first year of observations and leaves me
with only 91 over a span of 7 years instead.
Is there any way to fix this problem or will this always happen regardless?
I tried readjusting my data set to include a year 2000 with only zero values
in it, but the same thing happened again.
Your help is much appreciated,
Mina
13 years, 8 months
Re: [Gretl-users] Building gretl from CVS on Linux
by Allin Cottrell
On Fri, 22 Apr 2011, Artur Tarassow wrote:
> The error remains with the ".gretl2rc" file:
>
> ----------
> Couldn't read /home/artur/.gretl2rc
> Speicherzugriffsfehler (segmentation fault)
The problem is not with .gretl2rc: it's normal that this doesn't
exist at first. The segmentation fault has some other cause,
unknown to me at present since I can't replicate the problem. If
you can run gretl_x11 in gdb and get a backtrace this may tell us
what's going on.
gdb /usr/bin/gretl_x11
(gdb) run
<response from gdb>
(gdb) bt
Allin Cottrell
13 years, 8 months
Re: [Gretl-users] Building gretl from CVS on Linux
by Allin Cottrell
I wrote:
> > If the problem with the "data" directory still occurs, could
> > you remove the file "/usr/share/gretl/data" and then send the
> > output from sudo make install> install.log 2>&1
and Artur replies:
> Sorry for the late reply. I was busy the last days.
No problem.
> The issue remains - even after deleting the data file. I attached the
> install.log file.
Thanks for the log file. This time it doesn't indicate any
problem: the installation proceeds without errors. What is the
issue that remains?
Allin
13 years, 8 months
Re: [Gretl-users] A little bug that prevents gretl to start if the working directory is missing
by Allin Cottrell
On Thu, 21 Apr 2011, Giuseppe Vittucci wrote:
> Ok, it was very difficult to reproduce the bug...
> This is what you must do:
> - create a directory in a place where gretl cannot recreate it (e.g. a
> pen drive);
> - open gretl and set that directory as the working directory;
> - close gretl;
> - remove the pen-drive
> - DELETE the default directory (~/gretl)
> - open gretl
>
> Gretl first tries to recreate the directory (and it fails), then tries
> to open ~/gretl. If the latter is missing, it does not recreate it but
> returns a segmentation fault...
In the experiments I tried, in order to provoke a crash it's not
enough to delete ~/gretl (after ensuring that the user-specified
working directory is inaccessible); in addition you have to make
it impossible to create a directory named ~/gretl.
Hmm, I wonder how many commonly used programs would stand up to
this sort of treatment?
I've added one more layer of bullet-proofing in CVS but I have to
say that I don't consider this a high priority.
Allin Cottrell
13 years, 8 months
Re: [Gretl-users] A little bug that prevents gretl to start if the working directory is missing
by Allin Cottrell
On Thu, 21 Apr 2011, Giuseppe Vittucci wrote:
> I have gretl 1.9.4 running on Ubuntu 10.04.
> I found a little bug.
> If the working directory is changed in gretl, the program closed and
> then the directory deleted, when launched gretl returns a segmentation
> fault error.
> For the program to start one needs first to recreate the missing
> directory.
Hmm, I can't replicate that. If the specified working directory is
missing, gretl tries to create it, and if that fails it drops back
to the "default working directory", which on Linux would be
~/gretl. I'll try on Ubuntu 10.04 and see what happens.
Allin Cottrell
13 years, 8 months
A little bug that prevents gretl to start if the working directory is missing
by Giuseppe Vittucci
Hi,
I have gretl 1.9.4 running on Ubuntu 10.04.
I found a little bug.
If the working directory is changed in gretl, the program closed and
then the directory deleted, when launched gretl returns a segmentation
fault error.
For the program to start one needs first to recreate the missing
directory.
Bye
Giuseppe
13 years, 8 months