Displaying 3 results from an estimated 3 matches for "timessim".
2020 Oct 10
3
Please need help to finalize my code
...va=(sum(u^2))/(sum(u))
148 pc=1-pchisq(tr1/va, df= dl)
149 pc1[i1]=pc
150 # Test of the value obtained
151 if (pc>m1) d1=0 else d1=1
152 if (pc>m2) d2=0 else d2=1
153 if (pc>m3) d3=0 else d3=1
154 l1=l1+d1
155 l2=l2+d2
156 l3=l3+d3
157 }
158 K=K+1
159 MV [K,1]=n
160 MV [K,2]=l1/number of timessim
161 MV [K,3]=l2/number of timessim
162 MV[K,4]=l3/number of timessim
163 }
l
[[alternative HTML version deleted]]
2020 Oct 13
1
Please need help to finalize my code
...pc1[i1]=pc
>
> 150 # Test of the value obtained
> 151 if (pc>m1) d1=0 else d1=1
> 152 if (pc>m2) d2=0 else d2=1
> 153 if (pc>m3) d3=0 else d3=1
> 154 l1=l1+d1
> 155 l2=l2+d2
> 156 l3=l3+d3
> 157 }
> 158 K=K+1
> 159 MV [K,1]=n
> 160 MV [K,2]=l1/number of timessim
> 161 MV [K,3]=l2/number of timessim
> 162 MV[K,4]=l3/number of timessim
> 163 }
>
>
>
>
>
>
> l
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org <mailto:R-help at r-pr...
2020 Oct 13
0
Please need help to finalize my code
...ined
> > 151 if (pc>m1) d1=0 else d1=1
> > 152 if (pc>m2) d2=0 else d2=1
> > 153 if (pc>m3) d3=0 else d3=1
> > 154 l1=l1+d1
> > 155 l2=l2+d2
> > 156 l3=l3+d3
> > 157 }
> > 158 K=K+1
> > 159 MV [K,1]=n
> > 160 MV [K,2]=l1/number of timessim
> > 161 MV [K,3]=l2/number of timessim
> > 162 MV[K,4]=l3/number of timessim
> > 163 }
> >
> >
> >
> >
> >
> >
> > l
> >
> > [[alternative HTML version deleted]]
> >
> > _______________________________________...