Hi, how can I use stat gof if I need to keep subpop to keep the correct estimation of variances and covariances? Is there any other way to estimate the model's goodness of fit in these cases other than svylogitgof?
My model:
svy, subpop(if NEDU1!=. & hostility!=.): logit s_b_mb i.confi sex1 Age i.NEDU non_hostile i.confi#i.NEDU, or
Survey: Logistic Regression
Number of strata = 30 Number of obs = 6,233
Number of PSUs = 1,077 Population size = 14,518,969 Subpop
. no. obs = 6,076
Subpopulation. size = 14,276,008
Design df = 1.047
F(11, 1037) = 22.15
Odds > F = 0.0000
The error:
stat gof
gof stat is not allowed after subpopulation estimates
r(198);
Stata 14.
Greetings,
Related Posts with svy: logit goodness-of-fit tests (subpopulation)
Reshaping matched panel dataHi I am working with a panel data of firms (BvDIDnumber/BvDIDnumber_U being the unique firm ID for …
Unable to obtain marginal effects after cmclogitDear all, I am trying to run the postestimation command for marginal effects after an alternative s…
Propensity score matching - time variant treatmentDear all, I have a question about propensity score matching for a panel data file. The aim of my stu…
Why GEE is marginal model and GLMM is conditional model?Hi, I‘m a beginner of GEE and GLMM. In recent day, I read some books and materials about GEE. In thi…
Define subroutine in a .do fileHi, I have a large do file that I would like to break down in several smaller pieces of code that I…
Subscribe to:
Post Comments (Atom)
0 Response to svy: logit goodness-of-fit tests (subpopulation)
Post a Comment