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...
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.