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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.