I have the following data set which has INCL, slope, and CLnr/CLr values. I found code to compare slopes or CLnr/CLr between the different INCL classes. My question is can one compare both slope and CLnr/CLr values simultaneously between the INCL classes?
The post was altered due to invalid HTLM but all of the slopes and CLnr/CLr values should be in the same columns.
INCL | Drug | Slope | Slope | CLnr/CLr | CLnr/CLr |
CIDof | Aztreonam | 1.43 | 0.724 | ||
CIDof | Carumonam | 1.14 | 0.265 | ||
CIDof | Cefepime | 1.04 | 0.176 | ||
CIDof | Cefetamet | 1.22 | 0.25 | ||
CIDof | Ceftazidime | 1.17 | 0.351 | ||
CIDof | Cidofovir | 1.1 | 0.176 | ||
CIDof | Ciprofloxacin | 1.06 | 0.639 | ||
CIDof | Meropenem | 1.06 | 0.316 | ||
CIDof | Metoclopramide | 3.43 | 3.76 | ||
CIDof | Tiotropium | 1.7 | 0.932 | ||
NOCIDof | Aztreonam | 1.43 | 0.724 | ||
NOCIDof | Carumonam | 1.14 | 0.265 | ||
NOCIDof | Cefepime | 1.04 | 0.176 | ||
NOCIDof | Cefetamet | 1.22 | 0.25 | ||
NOCIDof | Ceftazidime | 1.17 | 0.351 | ||
NOCIDof | Ciprofloxacin | 1.06 | 0.639 | ||
NOCIDof | Meropenem | 1.06 | 0.316 | ||
NOCIDof | Metoclopramide | 3.43 | 3.76 | ||
NOCIDof | Tiotropium | 1.7 | 0.932 | ||
NOCIDCIPR | Aztreonam | 1.43 | 0.724 | ||
NOCIDCIPR | Carumonam | 1.14 | 0.265 | ||
NOCIDCIPR | Cefepime | 1.04 | 0.176 | ||
NOCIDCIPR | Cefetamet | 1.22 | 0.25 | ||
NOCIDCIPR | Ceftazidime | 1.17 | 0.351 | ||
NOCIDCIPR | Meropenem | 1.06 | 0.316 | ||
NOCIDCIPR | Metoclopramide | 3.43 | 3.76 | ||
NOCIDCIPR | Tiotropium | 1.7 | 0.932 | ||
NOCIPRO | Aztreonam | 1.43 | 0.724 |
Try posting example data using these instructions: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...
That creates data step code that you can post here or attach as a text file. Then you need not worry about malformed copy/paste operations and then users here can easily create a SAS data set to test code against. As it is, if I wan'ted to do attempt some code I would have to 1) fix your layout issues 2) write a data step (with the possibility of variable types not matching in more complex cases)
What type of comparisons do you want to do?
The reply was helpful.
Is this the kind of comparison you want?
proc sgpanel data=drugtest;
panelby incl / onepanel novarname;
series x=drug y=slope;
series x=drug y=CLnr;
run;
Yes this would work quite well.
Thanks
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.