I have a Mathematica package that is optimised for Mathematica 4.0, but the version I'm using is 10.1. Whenever I load this package, I'm getting error messages like Get::noopen: Cannot open StatisticsLinearRegression, etc. Is there a way by which I could run this older package, without changing the code?

• "Is there a way by which I could run this older package, without changing the code?". No, the only way to run it in a more recent version is to update the code. I think StatisticsLinearRegression  may have moved to LinearRegression , but even that package is considered obsolete. Almost certainly, several other modifications will be necessary to run suh old code. Aug 3 '17 at 11:51

I think StatisticsLinearRegression may have moved to LinearRegression, but even that package is considered obsolete. Almost certainly, several other modifications will be necessary to run such old code. The nature of the required modifications will be specific to each application, so it is impossible to say more.