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)
Lagged Dependent Variable (Panel)Is it appropriate to include the dependent variable as a control in an FE panel regression. Previous…
A few questions about my analysis in StataDear all, I am new on this forum, so I hope I'm posting these questions on the right place. I am n…
Selecting a subset from a balanced panel data under certain conditionsDear all, I need some help. Well, I have a database in the structure of a balanced panel. I have to…
Loop command to generate 100 variables with mean 0 and standard deviations which increase from 1 to 100 How i can use the loop command to generate 100 variables var_1 to var_100, which are normally dist…
Question about spregdpdDear all, After we use xtabond or xtabond2, we can use "estat serial" to get AR(1) and AR(2) .But if…
Subscribe to:
Post Comments (Atom)
0 Response to svy: logit goodness-of-fit tests (subpopulation)
Post a Comment