BookmarkSubscribeRSS Feed
duttarakhi89
Calcite | Level 5

I need some urgent help in sas . stuck with SAS CASE with this structure .. CASE WHEN variable<= case when condition then when condition then ......... when condition then else end + (numeric value) then .. again starting from outer WHEN CASE variable= case when condition then when condition then ......... when condition then else end + (numeric value) then .. its a big nested kind of ..

what does it mean by end + 3 / end + 6 after inner case ending ... can anyone please help to explain the concept behind end + value

1 REPLY 1
Reeza
Super User

It depends. They could be nesting calculations so adding the output of the CASE statement to 3 or 6 or something else entirely. 
I think you'd have to show the full code, it's hard to tell from what you've posted. Please use the 8th icon in the editor to insert your code which will format it appropriately for the forum.

 


@duttarakhi89 wrote:

I need some urgent help in sas . stuck with SAS CASE with this structure .. CASE WHEN variable<= case when condition then when condition then ......... when condition then else end + (numeric value) then .. again starting from outer WHEN CASE variable= case when condition then when condition then ......... when condition then else end + (numeric value) then .. its a big nested kind of ..

what does it mean by end + 3 / end + 6 after inner case ending ... can anyone please help to explain the concept behind end + value


 

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!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 545 views
  • 0 likes
  • 2 in conversation