@joceratops คำตอบมุ่งเน้นไปที่ปัญหาการเพิ่มประสิทธิภาพของโอกาสสูงสุดสำหรับการประเมิน นี่เป็นวิธีการที่ยืดหยุ่นซึ่งสามารถแก้ไขปัญหาได้หลายประเภท สำหรับการประเมินแบบจำลองส่วนใหญ่รวมถึงแบบจำลองการถดถอยเชิงเส้นและแบบลอจิสติกมีวิธีการทั่วไปอีกวิธีหนึ่งซึ่งยึดตามวิธีการประมาณช่วงเวลา
ตัวประมาณถดถอยเชิงเส้นยังสามารถกำหนดเป็นรากของสมการการประมาณได้:
0=XT(Y−Xβ)
β
0=∑i=1nSi(α,β)=∂∂βlogL(β,α,X,Y)=XT(Y−g(Xβ))
Where Yi has expected value g(Xiβ). In GLM estimation, g is said to be the inverse of a link function. In normal likelihood equations, g−1 is the identity function, and in logistic regression g−1 is the logit function. A more general approach would be to require 0=∑ni=1Y−g(Xiβ) which allows for model misspecification.
Additionally, it is interesting to note that for regular exponential families, ∂g(Xβ)∂β=V(g(Xβ)) which is called a mean-variance relationship. Indeed for logistic regression, the mean variance relationship is such that the mean p=g(Xβ) is related to the variance by var(Yi)=pi(1−pi). This suggests an interpretation of a model misspecified GLM as being one which gives a 0 average Pearson residual. This further suggests a generalization to allow non-proportional functional mean derivatives and mean-variance relationships.
A generalized estimating equation approach would specify linear models in the following way:
0=∂g(Xβ)∂βV−1(Y−g(Xβ))
With V a matrix of variances based on the fitted value (mean) given by g(Xβ). This approach to estimation allows one to pick a link function and mean variance relationship as with GLMs.
In logistic regression g would be the inverse logit, and Vii would be given by g(Xiβ)(1−g(Xβ)). The solutions to this estimating equation, obtained by Newton-Raphson, will yield the β obtained from logistic regression. However a somewhat broader class of models is estimable under a similar framework. For instance, the link function can be taken to be the log of the linear predictor so that the regression coefficients are relative risks and not odds ratios. Which--given the well documented pitfalls of interpreting ORs as RRs--behooves me to ask why anyone fits logistic regression models at all anymore.