I have the following code
proc univariate data=work.dataset noprint;
histogram value / barwidth=.05 midpoints=(-2.45 to 2.45 by .05) outhist=data_bin nochart;
run; I get this warning message in the log WARNING: The MIDPOINTS= list was extended to accommodate the data.
I basically want to prevent the midpoints from extending I want them to start from -2.5 and end at 2.5.
SOLVED
Just need to bin the data before the proc step