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)
Subsetting data using labelsHi, I have 15 big data sets where I want to keep only a few variables and I want to do the same to …
xtabond2 Hansen testHello I'm using system GMM to estimate TFP growth (gtfp_100) at regional level . I've a problem with…
Synth_runner: Interpret the statistical outcome and general questions [Stata]Hello together, I am started to work with stata and synth_runner package. I try to figure out differ…
Error installing markstatI am consistently receiving the following error when I attempt to install markstat. I already instal…
ring setting of legend option and scheme modifiedDear Stata users, I like placing the legend inside the plot, so I modify scheme s2color as follows:…
Subscribe to:
Post Comments (Atom)
0 Response to svy: logit goodness-of-fit tests (subpopulation)
Post a Comment