{"id":9140,"date":"2021-12-30T09:19:38","date_gmt":"2021-12-30T09:19:38","guid":{"rendered":"https:\/\/support.divominer.com\/en\/docs\/divominer-user-manual\/%e9%ab%98%e7%b4%9a%e7%b5%b1%e8%a8%88\/%e9%80%bb%e8%be%91%e5%9b%9e%e5%bd%92\/"},"modified":"2023-11-08T03:30:57","modified_gmt":"2023-11-08T03:30:57","slug":"%e9%80%bb%e8%be%91%e5%9b%9e%e5%bd%92","status":"publish","type":"docs","link":"https:\/\/support.divominer.com\/en\/docs\/divominer-user-manual\/advanced-statistics\/%e9%80%bb%e8%be%91%e5%9b%9e%e5%bd%92\/","title":{"rendered":"Binary logistic regression"},"content":{"rendered":"\n<p><strong>\u4e00\u3001<\/strong>Summary<\/p>\n\n\n\n<p>Binary logistic regression is a linear model for binary classification predictive modeling. As a powerful data analysis technique wherein we seek to understand how different random quantities relate to one another, it is widely used in Sociology, Biostatistics, Clinics, Quantitative psychology, and Econometrics.<\/p>\n\n\n\n<p><strong>\u4e8c\u3001Detailed introduction<\/strong><\/p>\n\n\n\n<p>\uff08\u4e00\uff09Model introduction<\/p>\n\n\n\n<ol><li>Logistic regression method  <\/li><\/ol>\n\n\n\n<p>(1) Logistic regression is a statistical model that in its basic form uses a logistic function to model a binary dependent variable, although many more complex extensions exist. As a kind of generalized linear regression, it has many similarities with multiple linear regression analysis. The model form is basically the same, the difference is that the dependent variable is different, multiple linear regression directly uses wx+b as the dependent variable, while logistic regression uses the function L to correspond wx+b to a hidden state p, that is, p=L(wx+b ), and then determine the value of the dependent variable according to the size of p and 1-p. If L is a logistic function, it is logistic regression, and if L is a polynomial function, it is polynomial regression.<\/p>\n\n\n\n<p>(2) The dependent variable of logistic regression can be binary or multi-category, but binary is more commonly used and easier to interpret. Multi-category can be processed using the softmax method. The most commonly used in practice is the binary logistic regression.<\/p>\n\n\n\n<p>2. Formula<\/p>\n\n\n\n<p>A regression equation established between the dependent variable (Y) and one or more variables (X).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"597\" height=\"141\" src=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2022\/01\/Screenshot_2.png\" alt=\"\" class=\"wp-image-9146\" srcset=\"https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2022\/01\/Screenshot_2.png 597w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2022\/01\/Screenshot_2-300x71.png 300w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2022\/01\/Screenshot_2-50x12.png 50w, https:\/\/support.divominer.com\/en\/wp-content\/uploads\/2022\/01\/Screenshot_2-320x76.png 320w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/figure>\n\n\n\n<p>3. Index description<\/p>\n\n\n\n<p>-2log likelihood: The -2 times of the natural logarithm of the value of the likelihood function reflects the model&#8217;s fitness. The smaller the value, the more fit of the model.<\/p>\n\n\n\n<p>Pseudo R-squared\uff1aMcFadden\u2019s pseudo-R squared, a measure used to measure how the regression model fits the observed value \u200b\u200bof the sample. The value range is 0-1. The closer the value is to 1, the more fit of the model.<\/p>\n\n\n\n<p>AIC\uff1aThe Akaike information criterion (AIC) is a mathematical method for evaluating how well a model fits the data it was generated from. The best-fit model according to AIC is the one that explains the greatest amount of variation using the fewest possible independent variables.<\/p>\n\n\n\n<p>BIC\uff1aBayesian Information Criterion is similar to AIC for model selection.<\/p>\n\n\n\n<p>B\uff1aThe regression model is significant when the coefficient (including intercept and slope significance) is less than the usual significance level of 0.05. The slope indicates the steepness of a line and the intercept indicates the location where it intersects an axis.<\/p>\n\n\n\n<p>Standard error\uff1aThe greater the standard error of the regression coefficient, the less reliable the estimated value of the regression coefficient.<\/p>\n\n\n\n<p>z: Conduct a significance test on the independent variables to determine whether the variables will be retained in the model.<\/p>\n\n\n\n<p>Sig\uff1aSignificance, if 0.01&lt;sig&lt;0.05, the difference is significant, and if sig&lt;0.01, the difference is extremely significant.<\/p>\n\n\n\n<p>Exp(B): Odds ratio<\/p>\n\n\n\n<p>\uff08\u4e8c\uff09References<\/p>\n\n\n\n<p>[1] Edge, M. (2021). <strong>Statistical Thinking from Scratch: A Primer for Scientists.<\/strong><\/p>\n\n\n\n<p>[2] Kotz, S.; et al., eds. (2006), <strong>Encyclopedia of Statistical Sciences<\/strong>, Wiley.<\/p>\n","protected":false},"featured_media":0,"parent":9138,"menu_order":10,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"_links":{"self":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9140"}],"collection":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/comments?post=9140"}],"version-history":[{"count":7,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9140\/revisions"}],"predecessor-version":[{"id":9856,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9140\/revisions\/9856"}],"up":[{"embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9138"}],"next":[{"title":"Create a new binary logarithmic regression analysis task","link":"https:\/\/support.divominer.com\/en\/docs\/divominer-user-manual\/advanced-statistics\/create-a-new-logarithmic-regression-analysis-task\/","href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9163"}],"prev":[{"title":"Create a new linear regression analysis task","link":"https:\/\/support.divominer.com\/en\/docs\/divominer-user-manual\/advanced-statistics\/create-a-new-linear-regression-analysis-task\/","href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/docs\/9162"}],"wp:attachment":[{"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/media?parent=9140"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.divominer.com\/en\/wp-json\/wp\/v2\/doc_tag?post=9140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}