+ Reply to Thread
Results 1 to 7 of 7

Thread: Calculating predicted probabilities from a logistic regression model SPSS

  1. #1
    Points: 450, Level: 8
    Level completed: 50%, Points required for next Level: 50

    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Calculating predicted probabilities from a logistic regression model SPSS




    Hello everyone,
    I am trying to calculate individual predicted probabilities from a logistic regression model with SPSS (to describe how a individual probability could be calculated from my model in an article). I was looking for a formula how the predicted probabilities in SPSS are calculated (automatically when you check "save predicted probabilities"). I've found this video https://www.youtube.com/watch?v=6jj4muvWDgs , which explains quite clearly how the probabilities are calculated in SPSS: 1st step - predicted_logit calculation; 2nd step - predicted probability calculation. This approach works for me as well if I go this way, but in other sources, i.e. here http://www.pmean.com/13/predicted.html the probabilities are calculated differently and yield different individual probabilities.

    Therefore my question: is the approach described in the first video correct, and if it is, is it possible to combine the two steps into one relatively simple equation to use in an article?

    Thanks in advance!

  2. #2
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS

    hi,
    without looking at the links, the equation you look for is:

    ln(p/(1-p))=a0+a1*x

    Expressing p is then just a bit of manipulation.

    regards

  3. #3
    Points: 450, Level: 8
    Level completed: 50%, Points required for next Level: 50

    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS

    Thanks! p stands for probability, a0 for the coefficient on the constant term, a1 for the coefficient(s) on the independent variable(s) and x for the independent variable(s)?

  4. #4
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS

    hi,
    Yes. You can see the full equation in the output, in case of more variables, interactions etc... it is the same idea

    regards

  5. #5
    TS Contributor
    Points: 40,621, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Downloads
    gianmarco's Avatar
    Location
    Italy
    Posts
    1,368
    Thanks
    232
    Thanked 301 Times in 225 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS

    Hello,
    I happened to write the formula to get the predicted probability from a logistic regression model in an article of mine.
    Feel free to give a look at this link:
    http://journals.plos.org/plosone/art...l.pone.0091510

    Hope this helps
    Gm
    http://cainarchaeology.weebly.com/

  6. #6
    Points: 450, Level: 8
    Level completed: 50%, Points required for next Level: 50

    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS

    Quote Originally Posted by gianmarco View Post
    Hello,
    I happened to write the formula to get the predicted probability from a logistic regression model in an article of mine.
    Feel free to give a look at this link:
    http://journals.plos.org/plosone/art...l.pone.0091510

    Hope this helps
    Gm
    Thank you! Could you pinpoint which formula in your article you have in mind?

  7. #7
    TS Contributor
    Points: 40,621, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Downloads
    gianmarco's Avatar
    Location
    Italy
    Posts
    1,368
    Thanks
    232
    Thanked 301 Times in 225 Posts

    Re: Calculating predicted probabilities from a logistic regression model SPSS


    Hello,
    the formula is right after the first paragraph in the "Materials and Methods" section.
    I have found this YT video that can also help you in calculating the predicted probability:




    cheers
    gm
    http://cainarchaeology.weebly.com/

  8. The Following User Says Thank You to gianmarco For This Useful Post:

    kranas (11-02-2016)

+ Reply to Thread

           




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats