


这个公式是根据哪个知识点得出的
星星_品职助教 · 2023年05月29日
同学你好,
题干要求“using the significant variable”,所以根据p-value小于significance level 0.05,在logistic regression 2中只能代入significant的price_sale(和intercept)。
把这两个系数和对应的price sales=4.0代入logistic regression,可得:
log odds=Ln p/(1-p)=-1.9585+0.3453×4.0
即Ln p/(1-p)=-0.5773,
提问中黑色圈出来的公式,就是在上述基础上,两边取“e”,得到 p/(1-p)=e的-0.5773次方。进而解出P=0.3595