Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10405

Re: Can Mathematica do regression, or similar?

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Can Mathematica do regression, or similar?
Date 2012-06-08 07:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jqsae3$dhv$1@smc.vnet.net> (permalink)
References <201206070918.FAA02445@smc.vnet.net>

Show all headers | View raw


_No_ program can "figure out the relationship" between a response 
variable and given predictor variables. But Mathematica can certainly 
find a linear model fit with multiple predictor variables -- provided 
that's an appropriate model for you to use. The function LinearModelFit 
does this.

Perhaps your data are such that you really want some nonlinear model. 
You specify the form of the model (as a function of the predictor 
variables) and then use NonlinearModelFit to let Mathematica determine 
the parameters of the model.


On 6/7/12 5:18 AM, Nicholas Kormanik wrote:
> I have two columns of data containing predictor variables, and a third which is the response variable.
>
> All three columns are continuous data.  Number of rows is around 500.
>
> Can Mathematica figure out the relationship between the two predictor variables, and the response variable?
>
> What would be the code for doing so?
>
> Thanks.
>
> Nicholas Kormanik
>

-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Can Mathematica do regression, or similar? Murray Eisenberg <murray@math.umass.edu> - 2012-06-08 07:42 +0000

csiph-web