I am not sure exactly what your question means. Perhaps you are looking for information about how to add an extension to ENVI? If so, then you will probably want to take a look at the section in the ENVI Help called "Write and Deploy ENVI Toolbox Extensions". You can find that in the online Documentation Center at
http://www.harrisgeospatial.com/docs/....
If you are wondering which IDL routines you will want to use in your extension code to perform regression, then there are different routines for different types of regression. You will probably want to consider the REGRESS routine. The documentation for this routine in our Documentation Center is at
http://www.harrisgeospatial.com/docs/....
Of course, you can also find both of those sections of the ENVI and IDL documentation in the ENVI and IDL products themselves.
Regards,
Peg