Not signed in (Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  
    Hi,
    I wish to do a linear regression of a small matrix with one Y column and about 5 X columns. No more than 20 or 30 rows, so performance is not an issue.

    I have looked for any of the following without any luck:
    - a built-in regression method
    - a matrix inversion.

    If I could find a matrix inversion (not the invert method which appears to me to be a transpose), I could do it via :
    (((x transposed) * x) inverted) * (x transposed) * y

    Thanks,
    David
    • CommentAuthorhaymo
    • CommentTimeJun 24th 2010
     

    Matrix inversion is done via linsolve.

    See this page for documentation:

    http://ilnumerics.net/html/html/M_ILNumerics_BuiltInFunctions_ILMath_linsolve_4.htm

  2.  
    Hi Haymo,

    Thank you for that quick reply. That did fix it for us.

    Many thanks,
    David