Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: Coefficient Constraints as Counterfactuals

 From Nick Cox To statalist@hsphsun2.harvard.edu Subject Re: st: Coefficient Constraints as Counterfactuals Date Thu, 10 Jan 2013 19:23:17 +0000

```No; just take any term considered known and subtract it from the
response (outcome, dependent variable). That's not assumption-free at
the best of times, as you are (e.g.) throwing away any choice of
assessing covariance between the predictor whose coefficient is
considered known and the others.

Nick

On Thu, Jan 10, 2013 at 7:18 PM, Matthew C Mahutga
<matthew.mahutga@ucr.edu> wrote:
> Hi Nick.
>
> Thanks for this and for asking me to clarify.
>
> I'm using xtpcse with a first order autocorrelation correction.
>
> Do I understand you correctly that if my original model (with other covariates omitted) is
>
> Y = b0 + b1x1+b2x2+b3x1*x2
>
> And I want to estimate the predicted values of a model in which b1 = b1+b3, then I would regress Y^(=y-b1+b3x1) on x2 and the rest of the covariates and then estimated the prediction?
>
> Thanks again,
>
> Matthew
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
> Sent: Thursday, January 10, 2013 10:41 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: Coefficient Constraints as Counterfactuals
>
> If you want say to -regress- such that
>
> y = b_0 + b_1 x_1 + 42 x_2
>
> then calculate
>
> y - 42 x_2
>
> and -regress- on x_1. Naturally, this isn't universal, but what could be universal across all possible estimation commands? Moral: You should tell us more about the command you are using.
>
> Nick
>
> On Thu, Jan 10, 2013 at 6:25 PM, Matthew C Mahutga <matthew.mahutga@ucr.edu> wrote:
>
>> I have a question that I hope has an easy answer that escapes me.
>>
>> I am using  estimation command that does not support the constraints option, but I would like to constrain a select group of coefficients. For example, one model includes an interaction term between a given socioeconomic process and a dummy variable for institutional regime. I would like to ask questions like "what would the trend in my outcome look like if the socioeconomic process had the larger of the two conditional (i.e. by regime type) effects".
>>
>> Is there a universal means by which to set a given coefficient to a fixed value prior to model estimation. Or, can I estimate predicted values using stored results but change the coefficient on one covariate beforehand?
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/
```