Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Inteff problem


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Inteff problem
Date   Tue, 08 Mar 2005 11:30:38 -0500

You need to read the help file for inteff. It explicitly shows you that the savedata() savegraph1() and savegraph2() are options for the command, so they must be on the same line, following a comma.

inteff gov acad woman wacad x y z, savedata(d:\data\inteff1, replace) savegraph1(d:\data\fig1,replace) savegraph2(d:\data\fig2, replace)

This command must be on one line.

Michael Blasnik
michael.blasnik@verizon.net


----- Original Message ----- From: "Anna-Leena Asikainen" <alasikainen@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, March 08, 2005 11:11 AM
Subject: st: Inteff problem



Dear all,

I apply inteff command just as it is recommended in Norton, Wang and
Ai (SJ 2004, 4(2):103-116). Otherwise it goes OK, but saving the
graphs is problematic. The aim in my analysis is to find out whether
the academic women (interaction variable wacad) approve of the
government (govt)  differently. Here is what I do (xyz other
explanatory variables):

probit gov acad woman wacad x y z
inteff gov acad woman wacad x y z
savedata(d:\data\inteff1, replace)
savegraph1(d:\data\fig1, replace)
savegraph2(d:\data\fig2, replace)

Stata 8.2 returns 'unrecognised command' after savedata and
savegraphs. I have replaced savedata with save and it worked. But when
I replace savegraph1/savegraph2 with graph save command, the saving
process occurs but only the latter of the figures (z-statistics) is
saved, and it is saved in both fig1 and fig2 files.

So, what goes wrong?

Thank you very much in advance.

Yours,
A-L Asikainen
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index