+ Reply to Thread
Results 1 to 4 of 4

Thread: Placing Constraints on Constant Terms

  1. #1
    Points: 1,619, Level: 23
    Level completed: 19%, Points required for next Level: 81

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Placing Constraints on Constant Terms



    I am running several iterations of a system of related equations. The first is four separate OLS equations estimating:

    reg E_share lnp_cap lnp_lab lnp_energy lnp_mat
    reg K_share lnp_cap lnp_lab lnp_energy lnp_mat
    reg L_share lnp_cap lnp_lab lnp_energy lnp_mat
    reg M_share lnp_cap lnp_lab lnp_energy lnp_mat

    The second is a SUR regression of three of the four equations (the fourth is implicit):

    sureg (eq1: E_share lnp_cap lnp_lab lnp_energy lnp_mat) (eq2: K_share lnp_cap lnp_lab lnp_energy lnp_mat) (eq3: L_share lnp_cap lnp_lab lnp_energy lnp_mat)

    Finally, I would like to run a SUR regression as above, but with a constraint that the constants terms for all four equations sum to 1. I'm not sure what the syntax for this constraint is, as the variables I am imposing the constraint on are parameters and not actual variables in my data, and was wondering if someone has an idea of how to proceed. Thanks!

  2. #2
    Points: 2,352, Level: 29
    Level completed: 35%, Points required for next Level: 98

    Location
    Paris
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why don't you use the "constaint" command ? for instance :

    constraint 1 : [eq1]_cons + [eq2]_cons + ... = 1
    sureg ..., constaints(1)

    This probably works...

  3. #3
    Points: 1,619, Level: 23
    Level completed: 19%, Points required for next Level: 81

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your help Etienne, that is very informative. One further question:
    since the SUR only has 3 of our 4 equations (the fourth is redundant), how do I impose a constraint that the constants for all 4 equations sum to zero?

  4. #4
    Points: 2,352, Level: 29
    Level completed: 35%, Points required for next Level: 98

    Location
    Paris
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hi there,

    Since your different equations contain exactly the same set of regressors on the right-hand-side, what you are doing is in fact equivalent to four separate OLS. However, I understand that you want to constrain the constants terms for all four equations to sum to 1. So my suggestion is :

    constraint 1 : [eq1]_cons + ... + [eq4]_cons = 1
    reg3 (eq1: y = ...) ... (eq4: y = ...) , constraints(1)

    Hope this helps !

+ Reply to Thread

Similar Threads

  1. Spanning test with short sales constraints - how does it works?
    By sebneedhelp in forum Regression Analysis
    Replies: 0
    Last Post: 03-21-2011, 01:55 PM
  2. Replies: 0
    Last Post: 02-18-2011, 07:05 PM
  3. Very basic questions on some terms.
    By smarge117 in forum Regression Analysis
    Replies: 6
    Last Post: 07-13-2008, 07:25 PM
  4. Correct way of placing data?
    By mystvearn in forum R
    Replies: 7
    Last Post: 07-09-2008, 07:03 PM
  5. Explain Terms...
    By mackerbuddy in forum Probability
    Replies: 1
    Last Post: 11-14-2005, 08:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats