Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

proc iml regression

Status
Not open for further replies.

alunbrain

Programmer
Jun 17, 2008
11
GB
Hi
I am having trouble with proc iml.

basic equation id
- - --- --- -- -
|x | |a1 b1 c1 d1 e1 | | f |
|y | = |a2 b2 c2 d2 e2 | | g |
|z | |a3 b3 c3 d3 e3 | | h |
- - --- --- | i |
| j |

This would be my equation for one month, then this will be provide different figures for the month after and so on.

I can solve this as an equation, but the figures change by month. So I would like to generate a regression formula for x, y and z

- - -- ---
|x |= |a1f + b1g + c1h + d1i + e1j + intercept |
|y |= |a2f + b2g + c2h + d2i + e2j + intercept |
|z |= |a3f + b3g + c3h + d3i + e3j + intercept |
- - --- ---

hope I am making some sense
cheers

Alun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top