Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: adjust and margins

From   "Marnix Zoutenbier" <>
Subject   st: adjust and margins
Date   Thu, 3 Oct 2013 14:05:41 +0200

Dear all,

After an anova command, I want to predict with some of the factors at
specific levels overruling the level specified in the variable. I also need
the resulting predictions in a new variable. I was used to work with the

adjust ....., gen(newvar)


What I read in the help and FAQs is (summarized)
- margins is the successor of adjust
- margins can not be combined with the option "gen(newvar)"
- "adjust will often fail if you do not run your estimation command under
version control, with the version set to less than 11"

I am wondering if there exists a Stata 13 construct that I can use.

If not, is there some source that is more specific about the conditions
uder which adjust does/does not work?

Thank you in advance for your consideration,

Best regards



Drs. Marnix Zoutenbier MTD CIRM
Principal Consultant

T: +31 (0)40 750 23 25
F: +31 (0)40 750 16 99

PO Box 414, 5600 AK Eindhoven, The Netherlands
Vonderweg 16, 5616 RM Eindhoven, The Netherlands
KvK 17076484

I am out of office Monday afternoon

N.B. U bent van harte welkom bij CQM op stand 04C031 tijdens de ICT &
Logistiek op 30 & 31 oktober 2013 in Jaarbeurs Utrecht. Klik hier voor een
gratis toegangsbadge.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index