Hello,
it seems as if the commands preserve and restore don't function properly when they're executed via do file. If to be more precise, they do work well when they are run together on the same execution. Yet, if I already have a full script over which I want to go through by executing it line by line, then the problem occurs: The "preserve" is being executed normally, but then when I hit "restore", Stata replies an error that "there is nothing to restore".
Is it a known issue? Any way to overcome it?
Thank you in advance,
Ben
Related Posts with preserve / restore through a do file
showing mean of a variable over several variable and categoryIn short: I want to plot the mean of variable Y over variable X_1 to X_9. Each variable is a dummy …
Coefficients above 1I am running a two regression analysis. One between DA and both PROT and AUFEE (DA is the dependent …
How to fit GLM models with two independent variables and two moderators?Dear Stata experts, I'm trying to test several GLM models. I have two independent variables (X and …
Using GSEM to predict multinomial logit with different choice setsI am trying to build a multinomial logit model using GSEM as I want to incorporate random effects. M…
Loop Error When Mathematical Functions Performed on LocalI am trying to do the following: Code: local i 10 local j 20 quietly summ n local t r…
Subscribe to:
Post Comments (Atom)
0 Response to preserve / restore through a do file
Post a Comment