12-08-2021
Bluejags
Obsidian | Level 7
Member since
10-25-2021
- 21 Posts
- 2 Likes Given
- 0 Solutions
- 2 Likes Received
-
Latest posts by Bluejags
Subject Views Posted 2412 12-08-2021 05:32 PM 2438 12-08-2021 04:10 PM 2448 12-08-2021 03:55 PM 2456 12-08-2021 03:41 PM 2457 12-08-2021 03:04 PM 2457 12-08-2021 02:59 PM 2891 12-08-2021 02:12 PM 2912 12-08-2021 01:20 PM 2921 12-08-2021 01:06 PM 2501 12-08-2021 12:17 PM -
Activity Feed for Bluejags
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 05:32 PM
- Liked Re: Idnetifying patients with more than one procedure per day for Reeza. 12-08-2021 05:27 PM
- Got a Like for Re: Idnetifying patients with more than one procedure per day. 12-08-2021 04:56 PM
- Liked Re: Idnetifying patients with more than one procedure per day for Reeza. 12-08-2021 04:42 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 04:10 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 03:55 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 03:41 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 03:04 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 02:59 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 02:12 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 01:20 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 01:06 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-08-2021 12:17 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-07-2021 10:49 PM
- Posted Re: Idnetifying patients with more than one procedure per day on New SAS User. 12-07-2021 09:02 PM
- Posted Identifying patients with more than one procedure per day on New SAS User. 12-07-2021 07:20 PM
- Posted Re: How to post and edit a question in the SAS Support Communities on Getting Started. 12-07-2021 07:16 PM
- Posted Re: Need to fill in missing sex info and count age on New SAS User. 10-26-2021 04:11 PM
- Posted Re: Need to fill in missing sex info and count age on New SAS User. 10-26-2021 03:59 PM
- Posted Need to fill in missing sex info and count age on New SAS User. 10-26-2021 03:07 PM
-
Posts I Liked
-
My Liked Posts
Subject Likes Posted 2 12-08-2021 04:10 PM
03-06-2023
03:36 PM
@tblock I can see your question was posted and already has a few answers. In case you're not getting notifications, the question is: https://communities.sas.com/t5/SAS-Programming/How-do-I-create-variable-to-indicate-a-binary-variable-changes/m-p/862372
... View more
12-08-2021
05:35 PM
I think PROC SUMMARY is an option but I don't think arrays are good here. Depending on how far much you wanted to do with the arrays. You would need to know all the different combinations and dimensions ahead of time for the array method and I prefer more dynamic coding that's flexible to change as your data changes.
@Tom is the PROC SUMMARY expert so he can probably comment on that approach better than I can. It may still require the data transposition though.
@Bluejags wrote:
@Reeza . You showed the easy way. Can we achieve the same results by Array/Proc summary? I ask this as these has procedures have been alternative method for transposing data.
Thanks.
... View more
10-26-2021
11:50 AM
MY BAD. Thanks Reeza for pointing out that i was not looking into the WANT and only the HAVE. I am new to SAS and didn't realize the output screen has option to click to look into all files generated for the set of codes. Also thanks to @Ksharp too.
... View more