I'm was thinking about 1.d where we calculate first differences as we raise
education from 1 to 7. Is the only way to do this to calculate 6 first
differences separately?
On 2 April 2010 17:52, Ariel Dora Stern <ariel.d.stern at gmail.com> wrote:
Hi Viral & everyone else,
Borrowing the code from the top of page 32 of the Zelig manual seems to
work well for this:
p1b.nocon <- setx(p1a, contact = 0)
p1b.con <- setx(p1a, contact = 1)
s.out <-sim(p1a, x=p1b.nocon, x1 = p1b.con)
summary(s.out)
#optionally, the graphs are also really cool, although 1b doesn't ask
for them:
plot(s.out)
Have a great weekend,
Ariel
Ariel Dora Stern
ariel.d.stern at
gmail.com
____________________________________
c/o PhD Mailboxes | Harvard Kennedy School
79 JFK Street | Cambridge, MA | 02138 | USA
+1 (646) 400 4845 | +49 (0) 178 153 8289
On Fri, Apr 2, 2010 at 3:47 PM, Viral Gandhi <
viral_gandhi at hksphd.harvard.edu> wrote:
Hi,
Is there a quick way using Zelig to simulate first differences as a
variable is increased multiple times in increments of 1 unit?
Viral
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l