[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New function

From: Jason Stover
Subject: Re: New function
Date: Fri, 27 Mar 2009 10:39:06 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Mar 26, 2009 at 03:03:16PM -0300, Michel Boaventura wrote:
> > It was until I made a bunch of changes to incorporate categorical
> > variables and interactions. I'm fixing that now.
> I was thinking about it on my work. How do you treat categorical
> variables on singular value decomposition?

They must be written as binary vectors, or vectors containing cell
counts. So, for example, a variable with values 'a', 'b' and 'c' must
be encoded as:

   a --> (0,0)
   b --> (1,0)
   c --> (0,1)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]