|
|
Re: Bad ways to code data #4
> From: Peter Flom
> Sent: Friday, November 20, 2009 4:00 PM
> Subject: Bad ways to code data
>
> Nat Wooding just wrote a post on the perils of using a
> numeric ID that had a decimal, pointing out that such data
> can be subject to rounding error ....
>
> That gave me an idea for a fun thread - bad ways to code data.
>
> The worst one I've seen recently is a guy who created an
> Excel file in which a blank could mean either 0 OR n/a,
> depending on which column it was in. Oy vey!
>
> Peter
Proc Format library = Library fmtlib;
value NoYes 1 = 'No'
2 = 'Yes';
*...;
value TrueFalse
0 = 'false'
1 = 'true';
value YesNo 1 = 'Yes'
2 = 'No';
value YesNoMissing
1 = 'Yes'
2 = 'No'
0,. = 'missing';
"Q: What's with the NoYes and YesNo?"
"A: That's the order in which the choices appeared on the data
collection form."
Ron Fehd the boolean maven CDC Atlanta GA USA RJF2 at cdc dot gov
|
|
0
|
|
|
|
Reply
|
rjf2 (3354)
|
11/24/2009 2:52:50 PM |
|
|
0 Replies
230 Views
(page loaded in 0.006 seconds)
Similiar Articles: Re: Question about read in Excel date data - comp.soft-sys.sas ...Sarah, I couldn't decide whether to post my response in your thread, or the one that Peter started regarding "Bad Ways to Code Data". But, since ... SAS and dates - comp.soft-sys.sasRe: Question about read in Excel date data - comp.soft-sys.sas ... Sarah, I couldn't decide ... thread, or the one that Peter started regarding "Bad Ways to Code Data ... Re: negative numbers - comp.soft-sys.sasCode which would do this is data mydata; set ... or > "missing" > data, so can run then that way. ... [Numeracy 1093] Re: Negative Numbers - Literacy Information and ... bad pointer exception - comp.lang.c++If you're not lucky, it might "just work" until you come to show it to a ... OK OR MB_APPLMODAL INVOKE HeapFree,hHeap,NULL,pBuffer ;Try to patch our way through the bad code ... Bad query - comp.databases.mysqlEfficient way to delete a large amount of records from a big table ... First thing ... QUERY: Logrank scores -- SAS vs PROC StatXact Follow ... Re: bad value #4 0 5 Harry ... Bad character data - comp.databases.postgresql.adminWhat's the best way to replace these characters? ... I have a feeling there's some sort of ASCII code or ... here could be of assistance? > > I have a database with some bad ... UnrecoverableKeyException and DerValue constructor - comp.lang ...... security.KeyStore.getKey(KeyStore.java:289) Then it directs to my own code, to ... RE: NTE_BAD_DATA... They are NOT used DIRECTLY to encrypt / decrypt data;... you should ... transparency in 3D plots - comp.soft-sys.matlab... ways here, si I am sorry if I misuse it. I am making a code that represents 3D curves of physical data (Gp and Gpp in the code ... re trying to solve, and your own code ... GLUT Timer Functions - comp.graphics.api.openglYou're not understanding that GLUT is a ... Could be, but timers are a still a bad way to ... discussion and get things working one way or another. Don't be surprised that code ... panel data regression analysis - comp.soft-sys.matlabCertainly there are ways to do it, but need to code it yourself I fancy... ... Re: Help with panel data analysis - comp.soft-sys.sas panel data regression ... How to solve System.Security.Cryptography.CryptographicException ...Re: How to solve System.Security.Cryptography ... Do you know how the data encrypted by java: code and the name of ... Cryptography.CryptographicException: Bad Data. ... How To Write Unmaintainable Code - #!/bin/the hacker's choice - THCAfter all, you're done with the project ... if we started storing source code as structured data. We could view the same source code in many alternate ways, e ... 7/24/2012 3:38:21 PM
|
|
|
|
|
|
|
|
|