That's strange since mi() function is
working as in demo(mi). I would first
check your multiply-imputed data sets and then check whether the model can
be run on one of the data sets.
Hope this helps,
Kosuke
On Sun, 4 Mar 2007, Anders Schwartz Corr wrote:
Hi Kosuke,
Same problem. Please see below. Help! Sorry!
Anders
R version 2.4.1 (2006-12-18)
Copyright (C) 2006 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
install.packages("Zelig",repos="http://gking.harvard.edu")
trying URL
'http://gking.harvard.edu/bin/windows/contrib/2.4/Zelig_2.8-2.zip'
Content type 'application/zip' length 2142431 bytes
opened URL
downloaded 2092Kb
The downloaded packages are in
C:\Documents and Settings\Anders Corr\Local
Settings\Temp\Rtmpz4eyrb\downloaded_packages
updating HTML package descriptions
library(Zelig)
Loading required package:
MASS
Loading required package: boot
##
## Zelig (Version 2.8-2, built: 2007-03-03)
## Please refer to
http://gking.harvard.edu/zelig for full documentation
## or help.zelig() for help with commands and models supported by Zelig.
##
load("C:\\Documents and Settings\\Anders
Corr\\My
Documents\\data\\tcworkingtwo\\ameliaoutput4.rData")
ls()
[1] "ameliaoutput4"
mi4<-mi(ameliaoutput4)
z.out<-zelig(formula = log(ncc+1) ~ p_norm_total + cinc +
log(ter+110.77) +
demo + polarity + log(year) + fed + elf85 +
dems6/num_stat + (war_new^3 + mid_new)/num_stat , model = "normal",
+ data = mi4)
summary(z.out)
Length Class Mode
0 list list
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options: