[Date Index] [Thread Index] [Author Index]
Re: Can Mathematica do regression, or similar?
_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 at 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