```Date: Tue, 14 Feb 2006 14:15:07 +0100 Reply-To: "adel F." Sender: "SAS(r) Discussion" From: "adel F." Subject: Re: Nominal to ordinal Comments: To: Gerhard Hellriegel In-Reply-To: <200602141301.k1EBk7Dc016525@mailgw.cc.uga.edu> Content-Type: text/plain; charset=iso-8859-1 I think that there is a misunderstood , I do not want to transform a nominal to an ordinal, but SAS gives me a text type, that I can not work with Cheers Adel Gerhard Hellriegel a écrit : Hi Jim, it's simpel: define a order! It's all the same with numerics: there are axioms, which define e.g. "natural numbers" (I hope that is the right term in english). That has nothing to do with "natural" or "god-given". That are simply rules which lead to some things, also the order of the numbers. Same u can do with all things. Simply define it. E.g. use the numeric order of 1, 2, 3, ... in the example below! That has nothing to do with "real life" or with your experience, it is simply something you define in your "model". You define, that house < garden < garage < ... - and you have it! If you say "but house is not less than garden", I can say "yes, it is! Because it is defined like that!". The only question is: is my model of any use? For numbers there are many nice things, you can use them for, e.g. you can count things. What is with the sequence house < garden < garage < ...? Don't know... Cheers, Gerhard On Tue, 14 Feb 2006 06:42:22 -0500, Jim Groeneveld wrote: >Hi Adel, > >Neither do I. That is because it is impossible to transform completely >meaningless category numbers to some kind of ordering. E.g., if you have >the categories 1=house, 2=garden, 3=garage, 4=street, 5=high in tree, >6=underground refuge, how would you order those categories? The only >ordering, if possible at all, would be semantic (well, maybe alphabetic as >well). But there is no magic numerical algorithm to perform some ordering. > >Regards - Jim. >-- >Jim Groeneveld, Netherlands >Statistician, SAS consultant >home.hccnet.nl/jim.groeneveld > >My computer can not help you either. > >[common disclaimer] > > >On Tue, 14 Feb 2006 12:30:07 +0100, adel F. wrote: > >>Hi, >> I do not remember how to transform a variable with values 0,1,2,3 coded >in a nominal scale, to an ordinal scale . >> Any help >> Thanks >> Adel >> >> >>--------------------------------- >> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les >tarifs exceptionnels pour appeler la France et l'international.Téléchargez >la version beta. --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. ```

Back to: Top of message | Previous page | Main SAS-L page