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?
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?
Comment