Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Listing coefficient of one variable

From   "FUKUGAWA, N." <>
Subject   st: Listing coefficient of one variable
Date   Tue, 13 Sep 2005 22:02:14 +0900

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.
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index