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)
Interpretation of Competing Risk with stcrregI'm new to using competing risk analysis and want to make sure I'm interpreting and using it correct…
Making a dummy for threshold Hi, I am going to make a dummy Ii ( Em (i)<= Em) that selects firms whose employment (Em(i)) is…
Zero event meta analysis with ipdmetanHey everyone, I'm trying to run a two-stage meta-analysis to generate a forest plot with individual …
Multiplying observations in a variable listIn a dataset of multiple variable lists, I would like to multiply the value of only selected variabl…
Traj command (dropout model)Hello everyone, I am using the traj command to examined gait speed trajectories and I have a questi…
Subscribe to:
Post Comments (Atom)
0 Response to svy: logit goodness-of-fit tests (subpopulation)
Post a Comment