Perhaps you should consider an interaction term with 100 levels if you
truly believe the data is telling you this story.
Otherwise try a forvalues loop
cheers
Ade
At 14:02 13/09/2005, you wrote:
Dear all,
Suppose we run a regression model as follows
reg y a b c
and want to know how coefficient of "c" varies according to "d",
how can I write a program?
Note: "d" is integer between 1 and 100 and does not appear in the model and we
do not want to write 100 programs such as
reg y a b c if d==1.
Thanks in advance.
--
FUKUGAWA Nobuya, Ph.D.
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/