08-06-2013 02:26 PM
I am using following codes for getting row wise sum. My concern is that why I am getting different values for variable 'Tot_Price' in both the codes.
Since, I am beginner in SAS, please help me.
Thanks in Advance!
08-06-2013 02:30 PM
Becase code 2 include variable price, while code 1 does not include variable price.
By the way, in code 1, you'd be better off with price1-price17 instead of price1--price17, which could include other variables you don't want (not the case here, but maybe in some other cases)