BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi All,

I'm a brand new user of SAS, and this is giving me a hard time (I can't even find anything about it in search it seems).

I am trying to create a new variable in my dataset that is simply a Standard Deviation of a string of other variables.

Any guidance would be much appreciated.
1 REPLY 1
DerekAdams
Calcite | Level 5
Hi

I'm not a statistical person and have no idea what standard deviation is or could possibly achieve but if you create a comptuted column and look at the functions tab there are STD functions listed.

as an example

columns
A b c d e f g h
2 4 4 4 5 5 7 9

using the STD unction

STD(a,b,c,d,e,f,g,h) = 2.1380899353

Hopefully this is right and if not I'm sure I'll hear about it

derek
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1054 views
  • 0 likes
  • 2 in conversation