\HeaderA{psim}{perform zelig simulations for perturbed models}{psim}
\aliasA{setx.sensitivity}{psim}{setx.sensitivity}
\keyword{misc}{psim}
\keyword{optimize}{psim}
\begin{Description}\relax
This performs \code{sim()} for perturbed models.
\end{Description}
\begin{Usage}
\begin{verbatim}
        psim(object,x=setx(object),...)
         setx.sensitivity(obj,...)

\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object of type perturb, as returned from \code{pzelig()}
\item[\code{obj}] an object of type perturb, as returned from \code{pzelig()}
\item[\code{x}] an object returned from \code{setx()} 
\item[\code{...}] arguments to pass to default functions
\end{ldescription}
\end{Arguments}
\begin{Value}
PSim returns an object containing predictive simulations for each perturbation. 
Setx returns a setx object. See \code{sim} and \code{setx} in the Zelig package.
\end{Value}
\begin{Author}\relax
Micah Altman
\email{Micah\_Altman@harvard.edu}
\url{http://www.hmdc.harvard.edu/micah_altman/}
\end{Author}
\begin{References}\relax
Altman, M., J. Gill and M. P. McDonald.  2003.  \emph{Numerical Issues in Statistical
Computing for the Social Scientist}.  John Wiley \& Sons.
\url{http://www.hmdc.harvard.edu/numerical_issues/}
\end{References}
\begin{SeeAlso}\relax
See Also as \code{\LinkA{perturb}{perturb}},  \code{\LinkA{PTBdefault}{PTBdefault}},  
\code{\LinkA{setx}{setx}},
\code{\LinkA{sim}{sim}},
\code{\LinkA{pzelig}{pzelig}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
        # see the example in pzelig()
\end{ExampleCode}
\end{Examples}

