search for: procmean

Displaying 2 results from an estimated 2 matches for "procmean".

Did you mean: procman
2010 Jul 13
2
SAS Proc summary/means as a R function
...=c("team", "year")) # normalize data transpose <- cast(normalize, team + year ~ variable ,mean) # team year h ab (means) Here is the problem In SAS we have the option parmbuff which puts all the 'macro arguments' text into one string ie %macro procmeans(text)/parmbuff; %put &text; %mend procmeans; %procmeans(This is a sentence); result This is a sentence Here is my R code # This works proc.means <- function(....) { sapply(match.call()[-1],deparse) } proc.means(thisisasentence) Result .... "thisisasentence&quot...
2009 Feb 26
9
Inefficiency of SAS Programming
If anyone wants to see a prime example of how inefficient it is to program in SAS, take a look at the SAS programs provided by the US Agency for Healthcare Research and Quality for risk adjusting and reporting for hospital outcomes at http://www.qualityindicators.ahrq.gov/software.htm . The PSSASP3.SAS program is a prime example. Look at how you do a vector product in the SAS macro