iccvar is a post-estimation command for xtmixed. After fitting a 2, 3, or 4 level model with a random intercept (random slopes are not supported), iccvar will calculate the intraclass correlation (ICC) values and the associated standard errors based on the variance components and standard errors of the variance components estimated from xtmixed.