This is another useful not-a-trick.
No longer to be found in the documentation is the “do over” syntax, which can simplify code and keep datasets narrower. The syntax works like this:
data …;array arrayname x y z var1 – var3; do over arra…
This is another useful not-a-trick.
No longer to be found in the documentation is the “do over” syntax, which can simplify code and keep datasets narrower. The syntax works like this:
data …;array arrayname x y z var1 – var3; do over arra…
A student in my multivariate class last month asked a question about prior probability specifications in discriminant function analysis:
What if I don’t know what the probabilities are in my population? Is it best to just use the default in PROC D…
LAG Function (SAS 9.2 Doc)*** Use a third variable to assign the value from the previous record;array one a b c d;array two e f g h;      do over one;            temp = lag(one);            if…
The following blog is reprinted by permission of the author Jiangtang Hu. Hu is a SAS programmer living in Beijing who writes blogs in both English and Chinese. (Full disclosure: Hu quoted The Little SAS Book, but I had never met him before he wrote this blog.) SAS Data Step’s Built-in Loop: An Illustrated Example […]
%macro vol(type,desc);proc report data=fmxx center headline headskip split=’/’;      column site_id havevis &type.2 &type.3 &type.p1 &type.p2;      define site_id / group id order=internal width=16 left ‘Clinical Center’style(h…
I ran into some problems with the interpretation of the parameter estimate of the logistic model recently. When I contacted SAS, here’s their response. Please make sure you specify PARAM=GLM option in the CLASS statement when you want the parameterizat…