Dear All,
Here my problem is i need percentiles of weight and age_months for 0-60 months. so here i need results like weight for Age. in graph X axies age_months and Y axies weight.
For this i tried
proc univariate data=child766;
class Age_months sex;
var weight_kg;
output out=perplts pctlpre=_Pwt P_Age p
pctlpts=6 12 24 36 48 60 ;run;
please suggest me how to go with this??/
Regards,
Anil
can you please provide the dataset which you are reffering to.
Try this:
proc univariate data=child766;
class Age_months sex;
var weight_kg;
output out=perplts pctlpre= Pwt_
pctlpts=6 12 24 36 48 60 ;
run;
I suspect that you were specifying too many prefixes.
What is up with the weird pctlpts values? This is going to give the sixth, twelfth, etc. percentile of all of the data within each month.
And if my hunch is correct, the 60 corresponds to 1he 100th percentile or the maximum. I would ask the original poster what percentiles of the data they are interested in at each month.
Steve Denham
Dear SteveDenham,
Here i am looking for child growth rate from the age and weight so i need percentiles of each year child's weight. because i cont calculate bmi for child so the from the percentiles i can separate the under weight and normal obese.
Thank you ..
regards,
Anil
pctlpts=1 to 100 by 1 ;
Xia Keshan
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.