Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
rizzam
Calcite | Level 5

Is there a procedure in SAS that calculates the CV for categorical data?

I mean code for SAS calculating CV

 

3 REPLIES 3
SteveDenham
Jade | Level 19

Please explain what you are looking for with a short example.  Off the top of my head, I don't think a CV is meaningful for a categorical variable.  It is for various categories that comprise a continuous variable.

 

SteveDenham

Ksharp
Super User
CV for categorical variable ? I never heard that.
Maybe @Rick_SAS could have some clue .
Watts
SAS Employee

PROC SURVEYFREQ provides CVs of proportions (percentages) for categorical data. Some documentation is here: the CV option and Coefficient of Variation

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1552 views
  • 2 likes
  • 4 in conversation