BookmarkSubscribeRSS Feed
Mirisage
Obsidian | Level 7

Hi EG Forum,

I am very new to EG.

I created a small table using EG with the purpose of getting the "Proc tabulate code" for further manipulation.

Q:

Under "Summary Tables", there is a box like thing called "Available Statistics".

I wanted to drag the "mean" statistic from that "Available Statistics" box to the table "Preview" place but it doesn't allow.

(I was able to drag and drop only "N" statistic which I do not want).

Could any one help me.

Thanks

Miris

3 REPLIES 3
BrianDoesSas
Obsidian | Level 7

Is your data definitely all numeric? Presumably if it was character, but looking numeric ("1" instead of 1) then you could count the distinct values, but not average them.

On checking mine: if I drag a numeric variable into the preview I can count and average it.

If I drag a character variable in I can only count.

Is your "classification variable" in the data tab, character?

Fugue
Quartz | Level 8

If you've only defined a class variable(s), then I believe the only available statistic will be N.

Have you defined any analysis variables?

Mirisage
Obsidian | Level 7

Hi Brian and Fugue,

Thanks to both of you.

I got the problem overcome by first dragging the mumeric analysing variable.

Thanks to both of you anyway.

Regards

Mirisage


Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1259 views
  • 1 like
  • 3 in conversation