Just swap the first two lines
<hansl>
nulldata 100
setobs 4 1990:1 --time-series
series u = normal()
u[1] = 0
series rwalk1 = 0
rwalk1 = rwalk1(-1) + u
store random.gdt u rwalk1
open random.gdt
</hansl>
Best,
Artur
Am 27.03.2016 um 15:54 schrieb Raul Gimeno:
Hello
I have the following script
setobs 4 1990:1 --time-series
nulldata 100
series u = normal()
u[1] = 0
series rwalk1 = 0
rwalk1 = rwalk1(-1) + u
store random.gdt u rwalk1
When I open the file random.gdt I cannot display a time series plot
(View/Graph/ time series plot) or use the correlogram menu function. I a way
gretl doesn't recognise the generated data as a time series.
What should I do?
Thank you in advance
Raul Gimeno
-----Ursprüngliche Nachricht-----
Von: gretl-users-bounces(a)lists.wfu.edu
[mailto:gretl-users-bounces@lists.wfu.edu] Im Auftrag von
gretl-users-request(a)lists.wfu.edu
Gesendet: Freitag, 25. März 2016 17:01
An: gretl-users(a)lists.wfu.edu
Betreff: Gretl-users Digest, Vol 110, Issue 17
Send Gretl-users mailing list submissions to
gretl-users(a)lists.wfu.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.wfu.edu/mailman/listinfo/gretl-users
or, via email, send a message with subject or body 'help' to
gretl-users-request(a)lists.wfu.edu
You can reach the person managing the list at
gretl-users-owner(a)lists.wfu.edu
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Gretl-users digest..."
Today's Topics:
1. Holt's trend (Raul Gimeno)
----------------------------------------------------------------------
Message: 1
Date: Fri, 25 Mar 2016 16:08:51 +0100
From: "Raul Gimeno" <mrexito(a)vtxmail.ch>
To: <gretl-users(a)lists.wfu.edu>
Subject: [Gretl-users] Holt's trend
Message-ID: <003401d186a8$3dd741c0$b985c540$(a)vtxmail.ch>
Content-Type: text/plain; charset="us-ascii"
Hello
I've installed the package Holt 1.0 for trend estimation.
I have two problems:
1. With gretl 1.10.2 for Mac with the system OS 10.11.4 installed I cannot
use the function Holt's trend since gretl closes automatically. I select the
variable and go to the menu Variable / Filter /Holt's trend and the program
closes automatically.
2. The package works on Windows 10 but there is a difference between my
calculations and the output windows.
I choose for the starting data the OLS with first half of the sample I get
L0 = 202.625 for the start level and b0 = -0.3682 for the start trend level.
The first forecast is h^1 for the first period based on period 0: h^1 = L0 +
b0 = 202.2568
With the gretl function I get 203.0051. Obviously there is a problem.
Thank you for your feedback.
Raul Gimeno
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
End of Gretl-users Digest, Vol 110, Issue 16
********************************************
------------------------------
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
End of Gretl-users Digest, Vol 110, Issue 17
********************************************
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users