Re: Logistic regression and linear regression



On May 26, 9:44 am, maria.hartb...@xxxxxxxxx wrote:
Hello,
Would I get the same results if I turned my binary data into logratios
and then run a linear regression rather than running a logistic
regression?

The reason for this is that I need to run stepwiste forward logistic
regression in matlab but matlab has no function for that so I thought
that maybe I could turn my binary variables to log ratios and then do
a linear.

PS. Maybe the question seems simple but I am not a statistics person.

MATLAB now has a function that will do that. See
the documentation in the MATHWORKS website for
details.

If the new version is not accessible, it would be
beneficial to know what variables are chosen via a
linear fit.

However, beware of the blind use of STEPWISE or STEPWISEFIT.
Although you can use plain vanilla forward and backward
search, it is better to use your a priori knowledge of the
problem to specify both a starting set of variables and
a subset of those that must be kept.

Hope this helps.

Greg
.



Relevant Pages

  • Re: Logistic regression and linear regression
    ... Would I get the same results if I turned my binary data into logratios ... and then run a linear regression rather than running a logistic ... regression in matlab but matlab has no function for that so I thought ...
    (sci.stat.math)
  • matlab code for L1 regression
    ... I need to use linear least absolute deviation regression (L1 ... I need a fast algorithm for linear L1 ... regression to implement in matlab. ... fortrain or c. So Can anyone recommend a fast algorithm for linear L1 ...
    (comp.soft-sys.matlab)
  • Re: Logistic regression and linear regression
    ... Would I get the same results if I turned my binary data into logratios ... and then run a linear regression rather than running a logistic ... regression in matlab but matlab has no function for that so I thought ...
    (sci.stat.math)
  • Logistic regression and linear regression
    ... Would I get the same results if I turned my binary data into logratios ... and then run a linear regression rather than running a logistic ... regression in matlab but matlab has no function for that so I thought ...
    (sci.stat.math)
  • Re: interaction terms in regression model
    ... approach to regression than that in some other disciplines. ... centering constants you use (I'm assuming a two-variable model here... ... two linear and one interaction between those) the "significance" of the ... The "failure to center" ...
    (sci.stat.edu)

Loading