How to divide all the observations based on a sum of a column
I’m trying to do simple calculations but I’m new and SAS is not intuitive to me. Suppose I have this table. data money; infile datalines delimiter=","; input name $ return $ invested; datalines; Joe,10,100 Bob,7,50 Mary,80,1000 ; Which creates this /* name | return | invested */ /* _________________________ */ /* Joe | 10 |… Read More How to divide all the observations based on a sum of a column