CLUSTSENS: Stata module to perform sensitivity analysis for cluster commands
clustsens is a routine to do a sensitivity analysis of the cluster command. The cluster command groups cases based on the values of a variable, or the mean/median of a group of variables. The results vary depending on the case the process starts at, which is set by the random number seed. The amount of variation is related to the number of variables being averaged together. The more variables averaged, the less variation (shades of the central limit theorem). At any rate, there will, very likely, be variation - sometimes large variation - in the results. That's what this routine investigates. It simply runs the cluster command multiple times and records the result. The seed is saved (and displayed if the detail option is specified) so that a specific result can be replicated.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.