I have been trying all day to plot a simple theoretical exponential distribution, with beta value of 15.
Have tried the followning, with many, many variations:
data exponential;
do x = 0 to 100 by 5;
density = cdf('exponential',x< ,15>
output exponential;
end;
run;
I am following the recommendations found in the link below, and in various help documents
Somehow, however, SAS just won't have it:
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string,a numeric constant, a datetime constant, a
missing value, bitstring, INPUT, PUT.
ERROR 388-185: Expecting an arithmetic operator.
ERROR 76-322: Syntax error, statement will be ignored.
Would someone please tell me what I am doing wrong?