BookmarkSubscribeRSS Feed
Vani1493
Fluorite | Level 6

Hi

 

when i did OR for race (one race) got od as >999.999...can anyone help me why i got this value

4 REPLIES 4
Tom
Super User Tom
Super User

@Vani1493 wrote:

Hi

 

when i did OR for race (one race) got od as >999.999...can anyone help me why i got this value


You need to describe in much more detail what you did.  Note that the OR operator is a BOOLEAN operator. The only values it can return are 0 (FALSE) and 1 (TRUE).  So I assume you did some type of WHERE clause that might have had an OR operator in it and one of the values of one of the variables in the resulting dataset had a value that was 1000 or higher. 

 

Or perhaps your variable has a FORMAT attached to it so that some other value is displayed as the text ">999.999".  That is what format are for, to control how values are displayed as TEXT in reports.

Ksharp
Super User

If you are using PROC LOGISTIC ,Check UNIT statement.

proc logistic data=Data1 plots(only)=roc(id=id);
model disease/n= age  / scale=none
clparm=wald
clodds=pl
rsquare;

units age=10;

run;
Ksharp
Super User
And better post it at Statistical Forum since is about SAS/STAT .

https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures

@StatDave would give you a hand .
PaigeMiller
Diamond | Level 26

@Vani1493 wrote:

Hi

 

when i did OR for race (one race) got od as >999.999...can anyone help me why i got this value


What did you do? Show us the code. Show us (a portion of) the data.

 

"got od as >999.999" what is "OD"? Why is >999.999 "weird"?

--
Paige Miller

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 678 views
  • 0 likes
  • 4 in conversation