Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities


#Artificialintelligence
#Datascience
 View Only
  • 1.  Binary Logistic Regression-Complete Separation

    Posted 01/07/20 08:37 AM

    Hi,

    I used the binary logistic regression to do prediction. I got a complete separation result. However, I don't know which coefficients should I choose to interpret my model. In iteration 32, I got the information "Estimation terminated at iteration number 32 because maximum iterations has been reached. Final solution cannot be found." In iteration 33, I got the information "Estimation terminated at iteration number 33 because a perfect fit is detected. This solution is not unique." Can I take the results in iteration 32 and use them as the coefficients in my model?

    Thanks.

    Best,

    Amanda



    ------------------------------
    Chao Shi
    ------------------------------

    #GlobalAIandDataScience
    #GlobalDataScience


  • 2.  RE: Binary Logistic Regression-Complete Separation

    Posted 01/08/20 09:25 AM
    You can draw a graph between error and hyper parameter you are tuning, to check whether you are ending up with local optimal point or global. and your train,cross validation and test errors should be nearer to each other. this will confirm that your model is neither overfit nor underfit.

    ------------------------------
    Gopi Marisetty
    ------------------------------



  • 3.  RE: Binary Logistic Regression-Complete Separation

    Posted 01/08/20 09:27 AM
    Try penalized (Firth) logistic available as an extension command in Statistics.
    --


    ------Original Message------

    Hi,

    I used the binary logistic regression to do prediction. I got a complete separation result. However, I don't know which coefficients should I choose to interpret my model. In iteration 32, I got the information "Estimation terminated at iteration number 32 because maximum iterations has been reached. Final solution cannot be found." In iteration 33, I got the information "Estimation terminated at iteration number 33 because a perfect fit is detected. This solution is not unique." Can I take the results in iteration 32 and use them as the coefficients in my model?

    Thanks.

    Best,

    Amanda



    ------------------------------
    Chao Shi
    ------------------------------

    #GlobalAIandDataScience
    #GlobalDataScience


  • 4.  RE: Binary Logistic Regression-Complete Separation

    Posted 01/08/20 10:13 AM
    Please see my response to this question on the SPSS Statistics forum.

    Best,

    Dave

    ------------------------------
    David Nichols
    ------------------------------