Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I do effect coding in Stata?

coding stata
0
10 Posted

Can I do effect coding in Stata?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123