Can I do effect coding in Stata?
Yes, but you will need to download the xi3 program. This is the latest edition of the xi program and it supports effect coding. To see all the capabilities of xi3, visit http://www.ats.ucla.edu/stat/stata/faq/xi3.htm To install the program, type the following in the command widow: ssc install xi3 Once the xi3 program is installed, the syntax for effect coding is: xi3: regress dependant_variable e.categorical_IV For example: xi3: regress math e.ses Notice how this is very similar to the syntax for dummy coding, except we use “e.” to tell Stata that we want to use effect coding on the categorical variable (instead of the i. used for dummy coding) Note: Effect coding is NOT required for any of the 230B assignments.