makes a new variable based on c categories of variable y from min to max gen y2=autocode(y, c, min, max)
example:
gen coef2=autocode(coef, 20, 0, 2)
Categories: Lab2