Help using Base SAS procedures

Trying to calculate various statistic for columns in a table

Reply
Contributor
Posts: 25

Trying to calculate various statistic for columns in a table

I have a table with 11 columns and 31 rows the first column is a description and the rest of the columns represent various counts for each description.

What I want to do in SAS is create a table that provides the following for columns 2 - 11:

Sum

Median

Mean

Max

This is really easy to do in excel but I can't seem to figure how to do it in SAS EG.

Thanks, Dick Shryock

Example Data:

DateAdmitObsAMAD/CLWBSTransLBECLDExpiredDayTotal
01/01/2013

44

0113001100177
01/02/2013440012403000171
01/03/2013410015623000202
Total1290141027100550
Median44.00.00.0130.00.03.00.00.00.0177.0
Mean43.00.00.3136.70.72.30.30.00.0183.3
Max440115623100202
Super User
Posts: 17,907

Re: Trying to calculate various statistic for columns in a table

Post in Enterprise Guide Forum and clarify your example data. Is that the data you have, your input data or your expected output? Also what version of EG do you have?

Ask a Question
Discussion stats
  • 1 reply
  • 146 views
  • 0 likes
  • 2 in conversation