they have to be in the (0,1) range, not the [0,1] range (i.e., the values
must not include 0 or 1). i'd check the data, fix those values, and try
again.
Gary
On Thu, 1 Feb 2007, Anders Schwartz Corr wrote:
Hi, I set the lgstc to two proportional variables in the range 0-1 (columns
59 and 60 in the data), yet it gave me an error code. Please see below. Any
explanation would be useful. Thanks, Anders
ameliaoutput<-amelia(merge6, p2s=2,
idvars=c(3,24,29,37,39,42,54),
noms=c(23, 41), lgstc=c(59,60), ts=1, cs=2)
amelia starting
Amelia Error Code: 11
The logistic transformation cannot be used on
variables with values out of the 0-1 range.
summary(merge6[,59:60])
a_norm_total2
p_norm_total
Min. : 0.0000 Min. : 0.0000
1st Qu.: 0.0000 1st Qu.: 0.0000
Median : 0.2000 Median : 0.0000
Mean : 0.2480 Mean : 0.2392
3rd Qu.: 0.4000 3rd Qu.: 0.4000
Max. : 1.0000 Max. : 0.8300
NA's :3431.0000 NA's :3431.0000
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.gking.harvard.edu/?info=amelia
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: