Hi,
I'm trying to run a set of svy: logit commands, but for some reason, including certain variables in the model results in Stata not getting past "(running logit on estimation sample)". I left it running overnight, and the next morning it was still stuck on the same command line when it normally takes roughly 5-30 seconds for the "Jackknife replications" to appear.
Although there is not initially an error message, I noticed after breaking the command, the following two messages appear (but appear before the break in the output), which read "an error occurred when svy executed logit" and "an error occurred when jackknife executed logit". I saw a couple of threads on one of these messages where someone seemed to be making other errors like having a categorical outcome for logit, but I have a dichotomous outcome for model in question. One thread said Stata needs all inputted variables in a logit model to be numeric, which I verified is the case for mine.
I've even tried running a model with only the outcome and the covariate that seemed to be the issue, and it ran fine. Then, I continued to add my other covariates back into the model one-by-one, which all ran fine, until my final version of the model, in which adding a different covariate (than what the initial problem variable was) as my final variable, resulted in Stata getting stuck, again, on "(running logit on estimation sample)".
Any suggestions for troubleshooting this?
Related Posts with svy: logit command stuck on "(running logit on estimation sample)"
Dropping unmatched observationsHi, I'm doing a panel data estimation. I'm merging (m:m) CSV files. Till now the total number of ob…
Stata keep first same data by moleculeHey stata community, I'm very new in using stata and have a question concerning the use of keeping …
stratification matchingI am unable to get command for stratification matching for the case of psmatch2. Please help me in g…
Calculate risk ratio directly using two weighted prevalence estimatesHello all, I have two weighted prevalence estimates and their 95% confidence intervals [0.12 (95% C…
Loop function to order multiple variables togetherHello I urgently need help with the loop function in STATA to order multiple variables together. I…
Subscribe to:
Post Comments (Atom)
0 Response to svy: logit command stuck on "(running logit on estimation sample)"
Post a Comment