Grad Fellow Notes: STATA’s Command -coefplot-

The coefplot command allows you to plot results from estimation commands. It is a user package, so you will have to find and install it by inputting into the Stata command line: findit coefplot

By |2017-08-07T11:03:02-04:00August 30th, 2017|Analysis, Data Viz, Graduate Fellow, Research, STATA, Statistics|Comments Off on Grad Fellow Notes: STATA’s Command -coefplot-

Grad Fellow Notes: Interaction Terms in STATA

While using hashtags is simpler than generating the interaction term as a new variable, there is a necessary rule to remember: use the variable prefixes. In Stata, -i.[variable]- indicates that the variable is categorical, and -c.[variable]- indicates a continuous variable. Because the hashtag code assumes the variables in the interaction term are categorical, it is necessary to define numerical variables as numerical with the -c.- prefix. Wage = β0 + β1Education + β2Minority + β3Education*Minority + ε

By |2017-08-07T10:39:51-04:00August 8th, 2017|Analysis, Research, Statistics|Comments Off on Grad Fellow Notes: Interaction Terms in STATA