I'm trying to learn how to use Kaufman's* 'icalc' suite of commands to probe interactions and I'm running into problems on basically the first step (the 'intspec' command).
I try this:
Code:
sysuse auto.dta, clear gen repxtrunk = rep78*trunk reg price rep78 trunk repxtrunk intspec, focal(trunk) main((rep78) (trunk)) int2(repxtrunk)
Even with the most basic specification of 'intspec', I get this error:
HTML Code:
invalid 'focal' r(198);
I've looked around for a solution but I haven't found anything. I've even copied the exact examples from pages 189-90 of that book with the same result.
If anyone has any idea, I would love to hear!
Owen Gallupe
p.s., using Stata/MP 14.2 for Mac.
To install 'icalc':
Code:
net from http://www.icalcrlk.com
* Kaufman, R. L. (2019). Interaction Effects in Linear and Generalized Linear Models. Thousand Oaks, CA: SAGE Publications Inc. http://us.sagepub.com/en-us/nam/inte...els/book253602.
0 Response to icalc, intspec - "invalid 'focal' " error
Post a Comment