Dear Experts ,
I am creating a Statistics summary for the visits ,
eg:- Visit 1 - N SD Mean Median Q1 Q3 MIn Max
visit 2 -N SD Mean Median Q1 Q3 Min MAx
I can create taking each visits and find the statistics using Proc means , but the problem is I need a dynamic code that find if any other visits also occurs in future and then the respective statistics
@ambadi007 wrote:
Dear Experts ,
I am creating a Statistics summary for the visits ,
eg:- Visit 1 - N SD Mean Median Q1 Q3 MIn Max
visit 2 -N SD Mean Median Q1 Q3 Min MAx
I can create taking each visits and find the statistics using Proc means , but the problem is I need a dynamic code that find if any other visits also occurs in future and then the respective statistics
PROC MEANS will figure out how many visits are present in your data set, and then compute the statistics for each visit in the data set. You need to use the CLASS statement. https://documentation.sas.com/?docsetId=proc&docsetVersion=9.4&docsetTarget=p0gpxoqczfzcyln13ma53kpq...
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.