dear craigWW.
i need the same for vasoconstriction study. if u have the sas code can u share me or guide me in this.
Hi All,
I want to calculate the ED50 and EMax using population model in SAS? Is there any built in procedure available in SAS to do this? I have read on some paper about SAS MIXLIN Macro, anyone have idea about this Macro?
Hi!
Have you found any code in SAS to calculate Emax with vasoconstriction data? I'm currently with the same issue. Thank you in advance
Hey, thank you for answering me. I'll try to find it right now!
Hey! Since you told me you got to calculate it, can I ask you something? I've found a NLIN code, probably I'll be able to reproduce it in SAS.
But there some parameters to put on the code where I'm stuck. We use DOSE DURATION X AUEC, right? In the formula we have to type the inicial values, right? How do I find them? What about the slope, how to obtain this data?
that is the code:
proc nlin data = dr; parms top = 68.875 bottom = 20.575 EC50 = 1 hill = 1; model response = top + (bottom - top) / (1 + (concentration / EC50)**hill); run;
First off, you may want to check the parameterization of the model that you are using. The example at the link below uses a more "interpretable" parameterization that you might find also has better properties for your goal.
If you don't have a good idea from prior knowledge as to what the best starting value(s) might be, you might try a grid search over a range of reasonable values. You don't need the exact starting values this way, and if several combinations of starting values lead to the same optimum solution, you get what you are looking for without knowing a precise set of values. This also can help you avoid converging to a saddle point rather than an extremum. See the documentation for the PARAMETER statement in NLIN https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_nlin_syntax12.htm and this example which goes into various parameterizations for an ED50 model https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_nlin_examples04.htm
Good luck.
SteveDenham
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.