Re: Logistic regression and linear regression



On Jun 5, 5:22 am, Greg Heath <he...@xxxxxxxxxxxxxxxx> wrote:
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.

i.e., a linear fit of the original variables, not
the log ratios.

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)
  • 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)
  • Re: Regression analysis -- how-to?
    ... > were it not for the fact that, the last time I asked an algorithm ... Do you want to learn about regression? ... > (linear, quadratic, logarithmic, exponential, power and inverse) and at ... > least two types of linear correlation coefficient (rank and product ...
    (comp.lang.pascal.delphi.misc)
  • Re: independent variables - ln
    ... of the meaning of "independent variables" in a regression (the lr ... part-timers stop here is because they're *uncomfortable* with statistics ... "independent variables" in a lr (linear regression), ... transformations, and lnis just any one of infinitely many ...
    (sci.stat.math)
  • Re: Ordinal logistic regression vs. multiple regression with ordinal outcome?
    ... preference to ordinary multiple regression for a dichotomous DV? ... One might try to use OLS regression with categorical DVs. ... predications, as much as that the DV is upper- and lower-censored, ... Could happen if you were modeling counts on a linear scale. ...
    (sci.stat.consult)

Loading