BookmarkSubscribeRSS Feed
mantubiradar19
Quartz | Level 8

I have a phenotype data (contineous) from a group of patinets who treated a with a drug A. I would like to see what is the percentage inceremnet or decreamnet in the values of phenotype in those patinets. How can I do this? 

 

I would like to plot the percentage changes in these variables! 

7 REPLIES 7
Reeza
Super User

Post sample data and expected output. A sample of the graph your after is helpful, that article is behind a paywall. 

 

A data step and proc SGPLOT are possibly all you require. 

mantubiradar19
Quartz | Level 8

Here is the table of values and the plot which I want to make! 


Capture.JPGCapture2.JPG
Reeza
Super User

Please post sample data in a useable format. 

Ie I'm not typing out your data from a picture. Someone else may ...

mantubiradar19
Quartz | Level 8

Hi Thanks again! I have two columns here - one is the initial measurements and another is final measurement or after the treatment! Thats A_first and A_Last 

Ksharp
Super User
Give you an example:





data have;
input cat $ group $ res low high star;
cards;
F 1 12 10 14 16
F 2 14 12 15 .
M 1 20 18 22 23
M 2 18 17 20 .
;
run;
proc sgplot data=have;
vbarparm category=cat response=res
 /group=group groupdisplay=cluster limitlower=low limitupper=high;
scatter x=cat y=star/discreteoffset=-0.22 markerattrs=(symbol=starfilled);
run;


proc sgplot data=have;
vbarparm category=cat response=res
 /group=group groupdisplay=cluster limitlower=low limitupper=high datalabel;
scatter x=cat y=star/datalabel discreteoffset=-0.22 markerattrs=(symbol=starfilled);
run;


mantubiradar19
Quartz | Level 8
Thank you very much and let try this!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 1513 views
  • 1 like
  • 3 in conversation