Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
NonparaHWarning(s): 137797476/source.cpp: In function ‘int main()’: 137797476/source.cpp:62:16: warning: narrowing conversion of ‘tie(((float (*)[5])(& a)), 5, 5, ((float)2.5e+0))’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] float T[5]={tie(a,5,5,2.5),tie(a,5,5,6.5),tie(a,5,5,14),tie(a,5,5,17.5),tie(a,5,5,21)}; ~~~^~~~~~~~~~~ 137797476/source.cpp:62:31: warning: narrowing conversion of ‘tie(((float (*)[5])(& a)), 5, 5, ((float)6.5e+0))’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] float T[5]={tie(a,5,5,2.5),tie(a,5,5,6.5),tie(a,5,5,14),tie(a,5,5,17.5),tie(a,5,5,21)}; ~~~^~~~~~~~~~~ 137797476/source.cpp:62:46: warning: narrowing conversion of ‘tie(((float (*)[5])(& a)), 5, 5, (float)14)’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] float T[5]={tie(a,5,5,2.5),tie(a,5,5,6.5),tie(a,5,5,14),tie(a,5,5,17.5),tie(a,5,5,21)}; ~~~^~~~~~~~~~ 137797476/source.cpp:62:60: warning: narrowing conversion of ‘tie(((float (*)[5])(& a)), 5, 5, ((float)1.75e+1))’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] float T[5]={tie(a,5,5,2.5),tie(a,5,5,6.5),tie(a,5,5,14),tie(a,5,5,17.5),tie(a,5,5,21)}; ~~~^~~~~~~~~~~~ 137797476/source.cpp:62:76: warning: narrowing conversion of ‘tie(((float (*)[5])(& a)), 5, 5, (float)21)’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] float T[5]={tie(a,5,5,2.5),tie(a,5,5,6.5),tie(a,5,5,14),tie(a,5,5,17.5),tie(a,5,5,21)}; ~~~^~~~~~~~~~ H = -78 There are 2 ties for 2.5. There are 4 ties for 6.5. There are 3 ties for 14. There are 2 ties for 17.5. There are 3 ties for 21. Corrected H = -78.6047 For (5-1)=4 degrees of freedom at 0.05 level of significance Chi-square = 9.49. Accept the null hypothesis. |
λ
.NET NoSQL database for rapid development
|