Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Marnix Zoutenbier" <Marnix.Zoutenbier@cqm.nl> |
To | statalist@hsphsun2.harvard.edu |
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) conctruction. 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 Marnix ______________________ Drs. Marnix Zoutenbier MTD CIRM Principal Consultant T: +31 (0)40 750 23 25 F: +31 (0)40 750 16 99 E: zoutenbier@cqm.nl CQM B.V. PO Box 414, 5600 AK Eindhoven, The Netherlands Vonderweg 16, 5616 RM Eindhoven, The Netherlands KvK 17076484 I: www.cqm.nl 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: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/