Bookmark and Share

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: statalist-digest V4 #4171


From   Zhi Su <[email protected]>
To   [email protected]
Subject   st: Re: statalist-digest V4 #4171
Date   Thu, 2 Jun 2011 11:15:07 -0400

Hi,
  I need to put the coefficients values of these four variables into
the regression because I need to see what changes in coefficients of
other variables in the regression when I change the coefficients of
these four variables.
  Can anybody help?
  Thanks!
  Su

> Date: Thu, 02 Jun 2011 07:46:03 +0200
> From: John Antonakis <[email protected]>
> Subject: Re: st: set constraints for coefficients of independents in regression
>
> Hi:
>
> You can simply do a Walt test for that, e.g.,
>
> reg y x1 x2 x3 x4
>
> test (x1=4) (x2=19) (x3=2) (x4=8)
>
> HTH,
> J.
>
> __________________________________________
>
> Prof. John Antonakis
> Faculty of Business and Economics
> Department of Organizational Behavior
> University of Lausanne
> Internef #618
> CH-1015 Lausanne-Dorigny
> Switzerland
> Tel ++41 (0)21 692-3438
> Fax ++41 (0)21 692-3305
> http://www.hec.unil.ch/people/jantonakis
>
> Associate Editor
> The Leadership Quarterly
> __________________________________________
>
>
> On 02.06.2011 05:40, Zhi Su wrote:
>> When I run a regression, I need to constrain the coefficients of four
>> independents to be four different values I calculate from previous
>> regressions.
>> The constrained coefficient for each independent variable is a
>> constant value. When I calculate each of these values from previous
>> regression should I save them as a new variable with a single value
>> for all the observations or as a vector?
>> How to use "constraint define" to set the constraints for the
>> coefficient of each independent?
>> Thank you!
>>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
> ------------------------------
>
> End of statalist-digest V4 #4171
> ********************************
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Zhi Su
348 Holmes Hall
Northeastern University
360 Huntington Avenue
Boston, MA 02115
Office:1-617-373-2316
email:[email protected]

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index