You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design: fixing scale or nuisance parameters in estimation, concentrated likelihood #1776
part 1
Some nested model comparison tests assume that we take some "nuisance parameter" as constant across models, usually it's recommended to use them from the unconstrained model.
examples: compare_lr_test should fix the scale, similar
GMM compare objective function value at two parameters/models, with fixed the weight matrix
other similar ones for general classes of estimators
part 2
nuisance parameters that don't affect the "estimating equations", that can be canceled ordropped from the derivative of the loglikelihood function or score.
example: scale in linear model and in GLM
problem 1 we don't need them in the optimization, but we need them in the loglike value at the estimate, llf. (Only relevant if we assume likelihood is correctly specified. We cannot use llf, if we assume only the estimating equations or moment conditions are correct. The latter are independent of the dropped parameters, like scale.)
problem 2 linear models use a concentrated likelihood where scale is implicitly calculated.
specific question mainly to part 2:
If we want to have both likelihood model (correctly specified) and quasi-likelihood (over-/underdispersed) model for GLM, how do we define loglike and score, and have MLE versus M-estimator in the same class.
Which score do we need for score test, with or without dispersion/scale factor?
If we want to get the loglike for arbitrary parameters, then the concentrated loglike always adjusts the scale. good or bad?
Comment: I guess in most cases. which way it is used, is irrelevant, as long as we use it consistently, with the same or matching definitions.
as reference Stata glm
Stata's glm has score (which is score_factor, not multiplied by x) which includes the scale in the case of the gaussian familty, resid_pearson in Stata glm does not contain the scale
dispersed binomial: the scale(x2) is used in the params table standard errors, but score is the same as with scale=1
related: we don't want to scale resid_pearson because it is used to calculate the (dispersed) scale
modifiers for residuals, relevant is studentized (internally studentized)
adjusted adjusts the deviance residual to speed up the convergence to the limiting normal
distribution. The adjustment deals with adding to the deviance residual a higher-order term that
depends on the variance function family. This option is allowed only when deviance is specified.
standardized requests that the residual be multiplied by the factor (1-h)^[-1/2], where h is the
diagonal of the hat matrix. This operation is done to account for the correlation between depvar
and its predicted value.
studentized requests that the residual be multiplied by one over the square root of the estimated
scale parameter.
modified requests that the denominator of the residual be modified to be a reasonable estimate of the
variance of depvar. The base residual is multiplied by the factor (k/w)^[-1/2], where k is either
one or the user-specified dispersion parameter and w is the specified weight (or one if left
unspecified).
Activity
josef-pkt commentedon Jun 20, 2014
as reference Stata
glmStata's glm has
score(which is score_factor, not multiplied by x) which includes the scale in the case of the gaussian familty,resid_pearsonin Stata glm does not contain the scaledispersed binomial: the
scale(x2)is used in the params table standard errors, butscoreis the same as withscale=1josef-pkt commentedon Jun 20, 2014
related: we don't want to scale
resid_pearsonbecause it is used to calculate the (dispersed) scalemodifiers for residuals, relevant is
studentized(internally studentized)