I did now Thanks again
On Thu, Feb 6, 2014 at 4:41 PM, dilek guler <dilekguleraydin(a)gmail.com>wrote: > Thank you Dr Summers. > Also I can not figure out creating dummy variables.I have a variable it is > nbhd. I need to have separate dummy variables for every nbhd. > What are the steps? > > Best, > > > > On Thu, Feb 6, 2014 at 4:01 PM, Summers, Peter > <psummers(a)highpoint.edu>wrote: > >> 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(a)lists.wfu.edu [mailto: >> gretl-users-bounces(a)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! >> >> _______________________________________________ >> Gretl-users mailing list >> Gretl-users(a)lists.wfu.edu >> http://lists.wfu.edu/mailman/listinfo/gretl-users >> > >
Thank you Dr Summers.Also I can not figure out creating dummy variables.I have a variable it is nbhd. I need to have separate dummy variables for every nbhd.What are the steps?
Best,On Thu, Feb 6, 2014 at 4:01 PM, Summers, Peter <psumm...@highpoint.edu> wrote:
_______________________________________________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-boun...@lists.wfu.edu [mailto:gretl-users-boun...@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!
Gretl-users mailing list
gretl-us...@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users