+ Reply to Thread
Results 1 to 2 of 2

Thread: Regression (Cubic and Quadratic)

  1. #1
    Points: 1,191, Level: 18
    Level completed: 91%, Points required for next Level: 9

    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Regression (Cubic and Quadratic)



    Hi there,

    I am trying to run some regression analysis on a dataset I have but have very limited knowledge of Proc Reg. (i.e)

    y = x

    I have done the straight forward regaression, and have converted the variables of interest to the log(variable) and re ran the analysis.

    (i.e)
    log(y) = log(x)

    I know want to do cubic and quadratic regression.

    For cubic am I write in using the formula:
    y = x x*x or should it just be y=x*x?

    Additionally can anyone help me with how I shoud attempt the quadratic regression?

    Sorry I am very much a novice at regression, so if I've made mistakes with my formulas above apologies.

  2. #2
    TS Contributor
    Points: 6,808, Level: 54
    Level completed: 29%, Points required for next Level: 142

    Posts
    775
    Thanks
    0
    Thanked 70 Times in 69 Posts

    Re: Regression (Cubic and Quadratic)


    A quadratic regression would have 2nd-degree terms, and you should (at least initially) include all lower degree terms.
    So the quadratic regression would be: y = x x*x
    (ie what you called cubic in your post)

    The cubic regression would be: y = x x*x x*x*x

+ Reply to Thread

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