BookmarkSubscribeRSS Feed
sas1990
Calcite | Level 5

Hi SAS community, I'm looking to find resources on how SAS takes into account survey weights within proc severity and also how weights can be accommodated with other methods. For instance, I refer to Dr Wicklin's blog post to estimate pareto distributions with nlmixed (see below), but it is unclear to me how this could be adjusted to factor in survey weights in the correct way. Thanks in advance for any help

 

 

 

proc sql;
select Min(x) into :minX from Pareto; /* store x_m in macro */
run;
proc nlmixed data=Pareto;
parms x_m 1 a 2; * initial values of parameters;
bounds 0 < x_m < &minX, a > 0; * bounds on parameters;
LL = log(a) + a*log(x_m) - (a+1)*log(x); * or use logpdf("Pareto", x, a, x_m);
model x ~ general(LL);
run;

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 277 views
  • 0 likes
  • 1 in conversation