Hi, Here's another error from the first imputation using the command. I
left the lgstc specification out:
> ameliaoutput<-amelia(merge6, p2s=2, idvars=c(3,24,29,37,39,42,54), noms=c(23, 41), ts=1, cs=2) #lgstc=c(59,60),
amelia starting
beginning prep functions
running bootstrap
-- Imputation 1 --
setting up EM chain indicies
1(2189) 2(2222) 3(2222) 4(2196) 5(2148) 6(2088) 7(2025) 8(1969)
9(1950)10(1953)
11(1945)12(1942)13(1934)14(1928)15(1912)16(1902)17(1905)18(1905)19(1896)20(1889)
21(1882)22(1885)23(1872)24(1865)25(1865)26(1858)27(1841)28(1825)29(1808)30(1805)
31(1793)32(1791)33(1783)34(1778)35(1771)36(1763)37(1753)38(1750)39(1736)40(1740)
41(1737)42(1733)43(1722)44(1711)45(1711)46(1709)47(1706)48(1700)49(1696)50(1695)
51(1684)52(1683)53(1683)
...
2741(3)2742(3)2743(3)2744(3)2745(3)2746(3)2747(3)2748(3)2749(3)2750(2)
2751(2)2752(2)2753(2)2754(2)2755(2)2756(2)2757(2)2758(2)2759(2)2760(2)
2761(2)2762(2)2763(2)2764(2)2765(2)2766(2)2767(2)2768(2)2769(2)2770(2)
2771(2)2772(2)2773(2)2774(1)2775(1)2776(0)
Error in yy %*% unique(na.omit(x.orig)[, i]) :
non-conformable arguments
Thanks,
Anders
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
Hi, Amelia is reporting a missing value where TRUE/FALSE needed. Any
suggestion welcome. The only two proportional variables in my data are 59
and 60. Thanks, Anders
>
> summary(merge6[,59:60]
+ )
a_norm_total2 p_norm_total
Min. : 0.0010 Min. : 0.0010
1st Qu.: 0.0010 1st Qu.: 0.0010
Median : 0.2000 Median : 0.0010
Mean : 0.2483 Mean : 0.2398
3rd Qu.: 0.4000 3rd Qu.: 0.4000
Max. : 0.9990 Max. : 0.8300
NA's :3431.0000 NA's :3431.0000
> 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
Error in if (any(data[, lgstc] <= 0, data[, lgstc] >= 1)) { :
missing value where TRUE/FALSE needed
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
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