Hi Ekaterina,
Im no expert, but one possibility is that you are using the code from the clarify manual
to produce this graph(one giveaway is the 99% CI). That code is based on stata 6.0.
Since then, stata has dramatically upgraded its graphics capability but also changed the
syntax needed to produce graphs. I'm guessing you are using Stata 7.0 or later. If
this is your problem, you can email me off line and I will send you an example of some
code that works with stata 9.0 (I have it on my office machine). However you might try
the same graph command but adding "graph twoway" or any of the possibilities
described in the stata graphics manual.
Best,
Ben
bishin(a)miami.edu
errashko(a)artsci.wustl.edu wrote:
Hi,
I have two questions. I am trying to get a clarify graph showing how the
effective number of parties changes with magnitude depending on how old a
democracy is. I use the following code to generate the graph and get an error
message stated below. Does anyone have a suggestion what's wrong?
generate plo = .
generate phi = .
generate magnitudeaxis = _n + 1 in 1/150
setx age 10 avemag mean elf mean
local a = 1
while `a' <= 150 {
setx avemag `a'
simqi, ev genev(myvariable)
_pctile myvariable, p(.5,99.5)
replace plo = r(r1) if magnitudeaxis==`a'
replace phi = r(r2) if magnitudeaxis==`a'
drop myvariable
local a = `a' + 1
}
sort magnitudeaxis
graph plo phi magnitudeaxis, s(ii) c(||)
Error message: graph plo phi magnitudeaxis, s(ii) c(||)
plograph_g.new phi magnitudeaxis, s(ii) c(||): class member function not found
r(4023);
My second question is related. The model I have chosen to use is a pooled cross-
sectional time-series, which is not supported by clarify. I am not sure how to
set it up in order to simulate all the data separately and then generate the
graphs. Any help would be appreciated.
Thank you,
Ekaterina
--
Ekaterina R. Rashkova
Graduate Student
Department of Political Science
Washington University
Campus Box 1063
One Brookings Drive
St. Louis, MO 63130
(314) 935-5856 (Fax)
--
Clarify mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.hmdc.harvard.edu/?info=clarify
--
Clarify mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.hmdc.harvard.edu/?info=clarify