SOCGRAM.SAS EDITS CHEATSHEET Global Edits  Replace ffe with filenames of kliquefinder data and outputs: o .list o .bicrd o .bcord  global replace on directory name  change *.eps file to new output file name (note: change every time to identify SAS file running from, and don’t forget to save new SAS file each time!)

Appearance Edits: VARIABLE VALUES NOTES CONTROL OVER LINE APPEARANCE TAG 13 wantline 1 = show lines Can also coordinate with boolean expressions based on 0 = no lines groupch1 (chooser’s group) and groupch2 (chosen’s group). Within group lines only: If groupch1 = groupch2 then wantline =1 Between group lines only: If grouch1 NE groupch2 then wantline =1 TAG11 wantarrw 1 = show arrows 0 = no arrows TAG10 ak controls distance between tip of line and actor ID number TAG12 wantwt =1 if you want thickness of line to represent weight of exchange TAG14 thickd 1=default Baseline thickness of lines

Extrad How much thicker for weighting lines kline 1 = solid controls line type 34 = dotted default = solid within subgroups, dotted between CONTROL OVER BASIC PLOT TAG 16 axis1 refer to #s printed on kf map axis to controls dimensions of horizontal, x, axis. inform adjustment * out automatics and adjust code underneath axis2 refer to #s printed on kf map axis to controls dimensions of vertical, y, axis. inform adjustment * out automatics and adjust code underneath For axis1 and axis2: The default is automatic. To change this, look for the commented out versions (with a “*”). Remove the * and edit. TAG 5 Changeig The larger the value, the more actors Perhaps the most critical feature. If the lines and actors in are pulled in towards their subgroup your first picture are all over the place, increase igratio. If they (Igratio) center. are too concentrated within subgroups, decrease igratio. Igratio default is 1. Changes distort the dimensionality within and between subgroups. To have KliqueFinder automatically guess the e.g. change to .4 (just play around best esthetic value of igratio, try running socgramx instead of with it) socgram. Then check the rescaling factor in readig. TAG 2 addx & addy Use scale to determine put semicolon after *TAG 2 so not starred out example of manipulating group positions: if group = 5 then addx = _____ if group = 5 then addy = _____ NEAR Bsize Default = 25 (just play around with it) SIZE OF SUBGROUP BOUNDARIES BOTTOM must look for the bsize value associated with the plot —search command near the bottom of socgram.sas. This controls the on “frame sizes of the subgroup boundaries. bsize” CONTROL OVER PLOTTED LOCATIONS OF SUBGROUPS AND SUBGROUP LABELS useadj = 1 if you want to modify things, 0 If you modify, modifications are pulled from the file otherwise. “inlist.xadjust.” See which variables are read in in which order to decide which modifications you would like to make. wantglab =1 if you want group labels, 0 otherwise. gdiam controls the size of the circle for a given subgroup. CONTROL OVER ACTOR CHARACTERISTICS Actor Characteristics Actor characteristics are contained in cperson2. You may perform a merge in socgram (look for “merge haveplc.” Remove the comment “*” and merge with a file that contains person characteristics that you can then assign to cperson2 in socgram.sas). Idsize Change line: = size of id to be printed in picture. idsize = 1.5*idinc (e.g., to .7 or .8 ) Idinc Wantnum 1 if you want id’s printed 0 otherwise. TO MERGE WITH BACKGROUND DATA in socgram.sas, replace set haveplc; * merge haveplc in2.backg (in=havemag); *by chooser;

with *set haveplc; merge haveplc in2.backg (in=havemag); by chooser; backg should be the regular sas file that contains actor attributes.

Then set ceperson2= to whatever variable contains the individual characteristics that you want shown in the output. TO MAP OTHER DATA ON SAME COORDS Change .list file only to reflect data you want to map