I am a beginner in C++ (using the DMC compiler) looking to do a multiple regression of 1 dependent variable against 7 indep variables with n data points
is it correct and sufficient to do the following in my program
1) add the following header #include <alglib.h> 2) have this declaration void alglib::lrbuildzs( real_2d_array xy, real_1d_array s, ae_int_t npoints, ae_int_t nvars, ae_int_t& info, linearmodel& lm, lrreport& ar);
and then 3) in the body of the program I can call lrbuildzs followed by 7 arguments in parenthesis?
4) xy needs to be an array of 15 x n? 15 columns includes the dep variable, 7 ind var inputs, and 7 coefficient outputs?
I downloaded the code, does it need to be in a particular location for the compiler to recognize it
|