Analysis macros