forum.alglib.net
http://forum.alglib.net/

basic question
http://forum.alglib.net/viewtopic.php?f=2&t=817
Page 1 of 1

Author:  lw1 [ Fri Apr 12, 2013 10:22 pm ]
Post subject:  basic question

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/