Pessoal, alguém poderia me ajudar <br><br><br>def.lcarandom <- randomLCA(definicao[,1:4], freq=definicao$x, initmodel=def.lca, random=TRUE, blocksize=1, quadpoints=190, probit=TRUE)<br><br><span class="Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Console';font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:-webkit-left;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="GDXA2EVBEAB" style="font-family:'Lucida Console';font-size:10pt!important;outline-style:none;outline-width:initial;outline-color:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;white-space:pre-wrap!important;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:1.2">
<span class="GDXA2EVBHAB ace_keyword" style="white-space:pre;color:blue">> </span><span class="GDXA2EVBL5 ace_keyword" style="color:blue">summary(def.lcarandom)
</span> Classes AIC BIC logLik penlogLik Link
2 3842.735 3896.336 -1911.368 -1911.373 Probit
Class probabilities
Class 1 Class 2
0.8213 0.1787
Conditional outcome probabilities
Group.1 Group.2 Group.3 Group.4
Class 1 0.0000 0.0065 0 0.0011
Class 2 0.9612 1.0000 1 1.0000
Marginal Outcome Probabilities
Group.1 Group.2 Group.3 Group.4
Class 1 0.0000 0.1987 0 0.1479
Class 2 0.7253 0.9545 1 1.0000
Loadings
2.76629
<span class="GDXA2EVBHAB ace_keyword" style="white-space:pre;color:blue">> </span><span class="GDXA2EVBL5 ace_keyword" style="color:blue">def.lcarandom$outcomep
</span> [,1] [,2] [,3] [,4]
[1,] 5.653499e-50 0.006483299 5.024727e-33 0.001059331
[2,] 9.612131e-01 0.999999659 1.000000e+00 1.000000000</pre></span><br><br>A primeira parte postada acima funciona normalmente, sendo que quando vou utilizar a função outcome.probs ela não funciona, ela fica "rodando" o tempo inteiro e não sai mais disso.<br>
<br><br><br>def.lcarandom.probs<-outcome.probs(def.lcarandom, boot=T, R=100)<br><br><br><br><br><br>Abraços!<br>