I want to create the new group/type variable. I have variables ID and PRICE and want to create the variable COLL. So for each ID i want the type variable COLL, to check whether the price is still the same. So my final table will be: How can I do it in proc data or proc sql?
... View more