Gary King Homepage Previous: DISTS Up: DISTS Next: Purpose:

Format:

DISTS [{DELTA:val1 VBAR:val2}] [EXPECTED] {LIST PLOT} var1
[var2] $ <$ dataset;
where DELTA:val1 specifies the amount that the actual or predicted average district is to be changed to simulate the consequences of a statewide swing to a party (valid possibilities range from $ -1$ to 1, but reasonable values are usually much smaller, such as $ -0.05$ to simulate a 5% statewide swing to the Republicans). The other way to simulate the consequences of a statewide partisan swing is using VBAR:val2, where val2 is the average district vote you wish to specify. The variable var1 contains each district's number (or code) in dataset dataset (these need not be unique). The optional variable var2 selects districts for listing or plotting (all districts are used for the analysis, unless you delete some with DELIF or missing values, but districts for which var2=1 are not LISTed or PLOTted on output). The standard errors printed are those based on the total variation; use the optional EXPECTED command to get standard errors based on estimation variability in the expected votes. See the discussion under SVCURVE for a discussion of the different types of standard errors. An example of a simple version of this command is: DISTS LIST distnum $ <$ c: data;



Gary King 2006-01-07