$sample accessor in a WLS context
by Artur Bala
Dear,
In a WLS model observations with weight=0 are excluded from the estimation
and gretl acknowledges this by reporting on "missing or incomplete
observations dropped".
However, the "$sample" accessor doesnt' account for these "missing"
observations
and still assigns them a 1 value. Technically these observations are not
part of the estimation sample and logically they should correspond to a 0
value in the "$sample", shouldn't they?
Best,
Artur
3 years, 11 months
if condition: evaluating NA values
by Artur Bala
Dear developers,
I thought that the following "if" conditions are supposed to give the same
results but they actually don't. And the 2nd "if" block ignores "NA" values
and treats them as numeric!!! Is that normal?
Best,
Artur
<hansl>
nulldata 10
series x = normal(0,1)
x[2]=NA
x[5]=NA
test1 = abs(x)>=0.5
series test2=NA
series test3=NA
loop for i=1..$nobs
test2[i] = abs(x[i])>= 0.5 ? 1: 0
endloop
loop for i=1..$nobs
if abs(x[i])>= 0.5
test3[i] = 1
else
test3[i] = 0
endif
endloop
print x test1 test2 test3 --byobs
</hansl>
3 years, 11 months
Speed and memory issues
by Filipe Costa
Hi all,
I have a script which deals with a large data sample of stock prices. In general it takes some time to run (30m - 60m). I'm on a linux machine. When using Gretl 2020d it crashes because it eats my 8GB RAM plus swap space. But, when using Gretl 2019d it completes the work relatively fast and doesn't crash as it doesn't eat all memory. Any thoughts or ideas on what may be behind this? I tried with different linux flavours and I'm pretty sure it has to do with Gretl version and nothing else.
Cheers,
Filipe
3 years, 11 months
Retrieving DBnomics Data
by Klaus Bartsch
Hello to the Community,
since turn of the year, I have got a problem with retrieving Dbnomics
data via gretl.
Actually, I´m mainly using Gretl for processing data concerning the
corona crisis, especially JHU-data. The download via gretl dbnomics,
clicking the appropriate buttons, worked perfectly well till the end of
last year.
Now, regularly the following error message appears:
German language, translation:
"series": no such thing
´íf´- evaluation error
Is there any Idea how to fix that problem ?
Many thanks in advance,
Klaus Bartsch
3 years, 11 months
GRETL on Macbook M1
by Edoardo Castaldini
Hi, I’m a new user of gretl and I have just subscribed myself to the mailing list.
Hoping I’m writing in the right side I want you to ask if GRETL is compatible on new MacBooks that have the chip M1 inside. Thank you
3 years, 11 months
A query re the equation version of quantile regression.
by Brian Revell
It is possible to save an equation version in the quantile regression
option of Robust methods modelling. However, there is nothing in the User
guide to indicate which quantile it relates to.
Any advice welcome
thanks
Brian
Brian J Revell
Professor Emeritus
Agricultural and Food Economics
Harper Adams University
Newport
Shropshire TF10 8NB
Tel 01952 815237
Tel: +44 1952 728153
Mbl +44 7976 538712
University: +44 1952 815235
alt: email: bjrevell(a)harper-adams.ac.uk
3 years, 11 months