Dilek,
Does your variable have non-positive values? If so, taking the log will give you NA or nan for those entries.
If you have a variable X1, then something like “D1 = (X1>0)” will generate a dummy variable equal to 1 for positive values of X1. You can do this from the console,
or from the GUI. Click Add, define new variable, then enter the corresponding formula in the dialog box.
I hope this helps.
PS
From: gretl-users-bounces@lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu]
On Behalf Of dilek guler
Sent: Thursday, February 06, 2014 4:27 PM
To: Gretl list
Subject: [Gretl-users] (no subject)
Hello,
I want to make log variable and i see a message
it is:
"Generated missing values"
How can i correct it?
And the second question is How can i make separate dummy variables for another one?
Best!