forum.alglib.net

ALGLIB forum
It is currently Wed Jul 06, 2022 11:15 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: basic question
PostPosted: Fri Apr 12, 2013 10:22 pm 
Offline

Joined: Fri Apr 12, 2013 10:11 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group