by sebastienlizin » Mon Oct 28, 2013 1:37 am
Hello Ngeners,
When I use:
;fisher(Fish) = des1(N1[0.01], N2[0.01], N3[0.01], N4[0.01], N5[0.01], N6[0.01], N7[0.01], N8[0.01], N9[0.01], N10[0.01],N11[0.01], N12[0.01], N13[0.01], N14[0.01], N15[0.01], N16[0.01], N17[0.01], N18[0.01], N19[0.01], N20[0.01],N21[0.01], N22[0.01], N23[0.01], N24[0.01], N25[0.01], N26[0.01], N27[0.01], N28[0.01], N29[0.01], N30[0.01],N31[0.01], N32[0.01], N33[0.01], N34[0.01], N35[0.01], N36[0.01], N37[0.01], N38[0.01], N39[0.01], N40[0.01],N41[0.01], N42[0.01], N43[0.01], N44[0.01], N45[0.01], N46[0.01], N47[0.01], N48[0.01], N49[0.01], N50[0.01], N51[0.01], N52[0.01], N53[0.01], N54[0.01], N55[0.01], N56[0.01], N57[0.01], N58[0.01], N59[0.01], N60[0.01], N61[0.01], N62[0.01], N63[0.01], N64[0.01], N65[0.01], N66[0.01], N67[0.01], N68[0.01], N69[0.01], N70[0.01], N71[0.01], N72[0.01], N73[0.01], N74[0.01], N75[0.01], N76[0.01], N77[0.01], N78[0.23]);
It works perfectly. I get a homogeneous pivot design for all my respondents (n=78). But these weights are wrong as I am favoring the last respondent.
Similarly, when I use:
;fisher(Fish) = des1(N1[0.01282], N2[0.01282], N3[0.01282], N4[0.01282], N5[0.01282], N6[0.01282], N7[0.01282], N8[0.01282], N9[0.01282], N10[0.01282],N11[0.01282], N12[0.01282], N13[0.01282], N14[0.01282], N15[0.01282], N16[0.01282], N17[0.01282], N18[0.01282], N19[0.01282], N20[0.01282],N21[0.01282], N22[0.01282], N23[0.01282], N24[0.01282], N25[0.01282], N26[0.01282], N27[0.01282], N28[0.01282], N29[0.01282], N30[0.01282],N31[0.01282], N32[0.01282], N33[0.01282], N34[0.01282], N35[0.01282], N36[0.01282], N37[0.01282], N38[0.01282], N39[0.01282], N40[0.01282],N41[0.01282], N42[0.01282], N43[0.01282], N44[0.01282], N45[0.01282], N46[0.01282], N47[0.01282], N48[0.01282], N49[0.01282], N50[0.01282], N51[0.01282], N52[0.01282], N53[0.01282], N54[0.01282], N55[0.01282], N56[0.01282], N57[0.01282], N58[0.01282], N59[0.01282], N60[0.01282], N61[0.01282], N62[0.01282], N63[0.01282], N64[0.01282], N65[0.01282], N66[0.01282], N67[0.01282], N68[0.01282], N69[0.01282], N70[0.01282], N71[0.01282], N72[0.01282], N73[0.01282], N74[0.01282], N75[0.01282], N76[0.01282], N77[0.01282], N78[0.01286]);
I get:
"Error: A ';fisher' property contains fixed weights that do not sum to 1." (while it (77*0.01282 + 0.01286) does sum to 1).
Hence, my question: does Ngene has trouble dealing with decimal numbers?
I have had a similar problem with Stata before, and there it could be solved by using the function float(#).
Kind regards,
and thanks for the quick response!
Sebastien