02-25-2025
rogerward
Obsidian | Level 7
Member since
04-03-2014
- 14 Posts
- 11 Likes Given
- 0 Solutions
- 1 Likes Received
-
Latest posts by rogerward
Subject Views Posted 1148 07-23-2024 03:15 PM 1294 07-15-2024 11:15 AM 1193 04-04-2024 10:08 AM 1196 04-04-2024 10:06 AM 1262 04-02-2024 08:15 PM 4840 02-06-2024 09:00 AM 862 09-27-2023 08:57 AM 7020 08-03-2023 01:27 PM 4928 12-27-2021 10:32 AM 4979 12-27-2021 08:25 AM -
Activity Feed for rogerward
- Posted Re: Resilience: A Key to Developing Future Skills on SAS Communities Library. 07-23-2024 03:15 PM
- Posted Re: Resilience: A Key to Developing Future Skills on SAS Communities Library. 07-15-2024 11:15 AM
- Liked Resilience: A Key to Developing Future Skills for alluch. 07-15-2024 11:09 AM
- Posted Re: Retaining values when some subsequent values are missing (SAS Base 9.4) on SAS Programming. 04-04-2024 10:08 AM
- Liked Re: Retaining values when some subsequent values are missing (SAS Base 9.4) for sbxkoenk. 04-04-2024 10:07 AM
- Posted Re: Retaining values when some subsequent values are missing (SAS Base 9.4) on SAS Programming. 04-04-2024 10:06 AM
- Posted Retaining values when some subsequent values are missing (SAS Base 9.4) on SAS Programming. 04-02-2024 08:15 PM
- Posted Re: Parental Influence: Shaping Our Children's Learning and Career Paths on SAS Communities Library. 02-06-2024 09:00 AM
- Liked Parental Influence: Shaping Our Children's Learning and Career Paths for MurrayDVilliers. 02-06-2024 08:59 AM
- Liked SAS Base Programming Reference Sheet: Your Essential Guide to Foundational SAS Base Programming for Rachel_McLawhon. 01-31-2024 09:08 AM
- Posted Re: A Practical Application of Clustering methods in detecting emerging patterns in sequential data on SAS Communities Library. 09-27-2023 08:57 AM
- Posted Re: Check out SAS’ Data Literacy Toolbox! on SAS Communities Library. 08-03-2023 01:27 PM
- Liked Why implementation methodology matters in data science for DavidHD. 04-17-2023 08:24 AM
- Liked Meet your community managers for BeverlyBrown. 02-09-2023 07:46 AM
- Posted Re: How to: use MAX and CASE in one PROC SQL on SAS Programming. 12-27-2021 10:32 AM
- Liked Re: How to: use MAX and CASE in one PROC SQL for PaigeMiller. 12-27-2021 10:32 AM
- Posted How to: use MAX and CASE in one PROC SQL on SAS Programming. 12-27-2021 08:25 AM
- Liked Re: Bad SAS base prep book for Reeza. 10-25-2019 05:39 PM
- Posted Re: Unable to load a SAS file into SAS VA 7.4 on SAS Visual Analytics. 01-03-2018 10:14 AM
- Liked Re: SAS Visual Analytics Autoload for Kiwi_Colin. 01-02-2018 04:17 PM
-
Posts I Liked
Subject Likes Author Latest Post 5 1 12 5 4 -
My Liked Posts
Subject Likes Posted 1 01-21-2015 12:19 PM
07-23-2024
03:15 PM
Alina,
I am hoping the Yuval Harari will speak at a SAS conference. He is captivating and insightful. He has a book coming out in mid-September titled "Nexus". It will be a best seller.
... View more
07-15-2024
11:15 AM
Excellent points! Yuval Harari's book, "21 Lessons for the 21st Century" makes a very similar argument and he predicts there will be a "useless class" of people who do not have the skills to adapt. What will happen to those people? Will we be members of the "useless class" because of the choices we are making now?
... View more
04-04-2024
10:08 AM
Thanks, Koen. I have never used PROC EXPAND. I need to expand my life.
... View more
04-04-2024
10:06 AM
Thanks a lot, data_null__ ! It is very clever.
... View more
04-02-2024
08:15 PM
Hi groupies,
I am struggling with this seemingly simple retain statement.
In the first data step (called HAVE), the variable COUNTER is sometimes missing.
When it is missing, per ID, I want (as shown in the second data step) NEWCOUNTER to be equal to the retained value of COUNTER. In other words, if COUNTER is missing, I want NEWCOUNTER to be equal to the previous value previous non-missing value of COUNTER.
The following two data steps represent what I HAVE and what I WANT.
Thanks a lot for your help!
data have; input id counter; datalines; 1 1 1 2 2 1 3 1 3 . 3 2 3 . 3 . 3 3 ; run;
data want; input id counter newcounter; datalines; 1 1 1 1 2 2 2 1 1 3 1 1 3 . 1 3 2 2 3 . 2 3 . 2 3 3 3 ; run;
... View more
02-06-2024
09:00 AM
Beautiful.
... View more
09-27-2023
08:57 AM
This is very clever, and has a lot applied uses. How do you calculate the Upward Trend Pattern Observation?
... View more
08-03-2023
01:27 PM
Thanks for making this available!
... View more
12-27-2021
10:32 AM
Thanks for your creativity. I had been using PROC SUMMARY and PROC MEANS without issue. In my search for tricks to do the same task using multiple methods, I was pondering how to accomplish the same using PROC SQL, and was mystified. I thought I was missing something. PROC SQL is appealing since many times it executes faster.
... View more
12-27-2021
08:25 AM
Good People -
A sample program is shown below with two PROC SQLs. I would like to know how I can combine the second PROC SQL, which uses MAX and GROUP BY, with the first PROC SQL, which establishes a series of new variables.
Thanks a lot!
data got; input id question response; datalines; 1 1 0 1 2 2 1 3 1 1 4 0 2 1 1 2 2 2 2 3 3 2 4 3 3 1 0 3 2 0 3 3 0 3 4 1 ; run; proc print data=got; run;
proc sql; create table one as select id ,case when question=1 then response else 0 end as question_1 ,case when question=2 then response else 0 end as question_2 ,case when question=3 then response else 0 end as question_3 ,case when question=4 then response else 0 end as question_4 from got order by id; quit; proc print data=one; run;
proc sql; create table two as select id ,max(question_1) as m1 ,max(question_2) as m2 ,max(question_3) as m3 ,max(question_4) as m4 from one group by id; quit; proc print data=two; run;
... View more
01-03-2018
10:14 AM
Hi Axexal,
Thank you for responding. I am struggling with your nomenclature: "SAS Partner Demo Center" sounds like it would be for resellars of SAS software. I am not one of those fine people! I work for a government (state), and I am facilitating the purchase of VA and VS. The Senior Manager of the Customer Engagement and Pre-Sales Support Team at SAS gave me the link. There is a two week trial, and then an extension of the trail, if needed. This instance, as far as I know, is the free version of the software available to anyone. Thus, perhaps I am in what you would call the "SAS Virtual Learning Environment".
My task is to test VA and VS, and if successful, recommend purchase. To test it, I wanted to load a small SAS data set and create a simple dashboard to justify the purchase.
I hope this is clear.
Thank you for your assistance.
Roger
... View more
01-02-2018
03:50 PM
Hi,
I am evaluating SAS Visual Analytics and Visual Statistics for purchase. I want to load a non-PHI demo file into VA from here: https://rpclab03068.sas.com/SASHome/
I select "Prepare Data", and "New Plan".
At the "Choose Data" window, I select "Import", and then "Local File". For the Target Table name, I select the name of my file. All is well.
The next task is to select the Target Destination. I click on the folders icon, and select the only one available, which is cas-shared-default, and then click the ">". Error message: "List CAS Libraries. The application count not connect to the specified CAS server."
What I am doing that is incorrect? How shall I proceed to get my file loaded. Thanks for your time. Roger
... View more
01-21-2015
12:19 PM
1 Like
Hi Milenko, UCLA operates a great site for individuals wanting to learn SAS. Here is the URL: http://www.ats.ucla.edu/stat/sas/default.htm They have nice tutorials and movies to watch. SAS also has free training. Check this link: SAS Training Starting Points Look for the "Free Training at Your Fingertips". Enjoy learning! Roger
... View more