Hi everyone, Below is the code I use to generate estimates with the probit procedure (and some sample data). This gives me a curve where x=chemical concentration and y=percent mortality. I would like to calculate the slope of this curve. Can anyone give me the line of code to add the slope calculation into this? I use SAS 9.3 for Windows 64-bit. Many thanks! * data sulfate; input form $ dead total conc @@; prop = dead/total; datalines; A 3 140 0 A 6 127 1000 A 6 69 2000 A 3 22 2500 A 5 68 3000 A 2 69 4000 A 10 94 5000 A 11 66 6000 A 19 74 7000 A 8 22 7500 A 11 21 9000 A 11 21 10000 A 20 31 15000 A 10 31 18000 A 33 51 20000 A 45 56 25000 A 19 20 30000 ; ods rtf; proc sort; by form; run; proc probit log10 inversecl lackfit; model dead/total = conc/d = normal itprint; output out=p p=prob std=std xbeta=xbeta; by form; run; ods rtf close;
... View more