Results 1 to 2 of 2

Math Help - Binomial logistic regression

  1. #1
    Newbie
    Joined
    Aug 2008
    Posts
    19

    Binomial logistic regression

    I am using the Matlab 'glmfit' function, with a binomial distribution. My y variable is Bernoulli (0 or 1) and my X variables are for the most part continuous, with one categorical variable.

    I have a large potential range of explanatory variables. The output to the function gives various statistics including t-values, p values, beta coefficients for each variable and dispersion parameters.

    I would firstly like to know the best way of selecting which variables to keep and which variables to get rid of. Is there a test I can do before putting them into the regression to start with a smaller amount of variables, or should I take them out one by one after each regression analysis - maybe based on the beta coefficients closest to 0, or their t-test values?

    After the test has run, is it the 'deviance of fit' that I am comparing between models (I am used to R-squared type values, but here I am getting values of around 500, I'm not sure how to ascertain whether this is good or not) ... there is also a dispersion parameter which has values of around 0.44. What does this tell me and is this a comparative measure between models?

    Thanks for any help
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Aug 2008
    Posts
    19

    Binomial logistic regression

    So I'm experimenting with stepwise regression - this seems to work to identify which variables are useful in my model. I'm not sure if it works with having one categorical variable in the analysis however, I need to check this.

    However I am still unsure as to how to compare models from a binomial logistic regression analysis. Would anyone be able to clarify what the deviance of fit is and how this relates to overall model performance?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Making prediction using Logistic Regression
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: September 19th 2010, 02:06 AM
  2. Logistic Regression 2
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: March 21st 2010, 01:09 PM
  3. Simple Logistic Regression
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: March 11th 2010, 08:22 PM
  4. Logistic Regression versus Bayesian
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: June 5th 2009, 03:21 AM
  5. Bayesian Logistic Regression
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: October 14th 2008, 05:28 AM

Search Tags


/mathhelpforum @mathhelpforum