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

st: Re: Inteff problem

From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
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
[email protected]

----- Original Message ----- From: "Anna-Leena Asikainen" <[email protected]>
To: <[email protected]>
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.

A-L Asikainen
*   For searches and help try:

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