data test; input y x1 x2 x3 ; cards; 9 4 5 9 2 8 3 2 3 2 1 8 3 4 5 9 3 9 4 5 8 3 2 9 5 4 9 3 3 4 9 4 ; run; title 'reg test standardized estimates'; proc reg data=test; model y = x1 x2 x3 / stb ; run; * standardize variables ; proc standard data=test out=test2 mean=0 std=1; var y x1 x2 x3 ; run; * glm on standardized variables to get standardized estimates; proc glm data=test2; model y = x1 x2 x3 / solution ; run;
The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.