<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div><font face="Arial,sans-serif" color="#000000">Olá retorno aqui com a minha duvida anterior:</font></div><div><br><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);"><font face="Arial,sans-serif" color="#000000">Estou rodando um script com a função lme do pacote nlme e esta dando um erro.</font></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);"><font face="Arial,sans-serif" color="#000000">Após eu rodar o modelo usando lme aparece:</font></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);"><font face="Arial,sans-serif" color="#000000"><br></font></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);"><font face="Arial,sans-serif" color="#000000">Erro em MEEM(object, conLin, control$niterEM) : Singularity in backsolve at level 0, block 1<br id="FontBreak"></font><br>Revisei os dados e o script e esta tudo ok.</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);">O que pode estar acontecendo?</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px; background-color: rgb(255, 255, 255);">Att,<br></div></div><br>pois não sei responder no fórum....<div><br></div><div>O arquivoa ser carregado esta no anexo</div><div><br></div><div>Segue o meu comando para que alguém possa tentar</div><div><div style="background-color: rgb(255, 255, 255);"><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">> cruza <- read.table("C:/Users/Victor/Dropbox/projeto bezerras/Dados/cernelha.txt", header=T,)</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">> cruza</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"> Bezerro Tratamento ACd Data DN DJN Sexo ACD Idade</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">1 423 1 81.33 41937 41930 41948 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">2 423 1 81.59 41944 41930 41948 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">3 423 1 82.07 41951 41930 41948 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">4 423 1 83.62 41958 41930 41948 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">5 423 1 83.72 41965 41930 41948 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">6 425 1 81.38 41937 41930 41962 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">7 425 1 81.95 41944 41930 41962 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">8 425 1 82.40 41951 41930 41962 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">9 425 1 83.00 41958 41930 41962 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">10 425 1 83.07 41965 41930 41962 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">11 426 1 81.09 41937 41930 41968 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">12 426 1 81.69 41944 41930 41968 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">13 426 1 82.29 41951 41930 41968 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">14 426 1 83.20 41958 41930 41968 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">15 426 1 83.28 41965 41930 41968 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">16 428 1 81.69 41937 41930 41980 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">17 428 1 82.32 41944 41930 41980 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">18 428 1 83.34 41951 41930 41980 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">19 428 1 83.65 41958 41930 41980 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">20 428 1 83.74 41965 41930 41980 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">21 421 2 82.72 41937 41930 41931 FALSE 79.5 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">22 421 2 84.07 41944 41930 41931 FALSE 79.5 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">23 421 2 84.98 41951 41930 41931 FALSE 79.5 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">24 421 2 85.77 41958 41930 41931 FALSE 79.5 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">25 421 2 85.99 41965 41930 41931 FALSE 79.5 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">26 429 2 81.29 41937 41930 41989 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">27 429 2 83.21 41944 41930 41989 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">28 429 2 84.47 41951 41930 41989 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">29 429 2 85.75 41958 41930 41989 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">30 429 2 85.91 41965 41930 41989 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">31 430 2 85.61 41937 41930 42007 FALSE 83.5 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">32 430 2 87.20 41944 41930 42007 FALSE 83.5 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">33 430 2 87.53 41951 41930 42007 FALSE 83.5 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">34 430 2 87.87 41958 41930 42007 FALSE 83.5 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">35 430 2 88.02 41965 41930 42007 FALSE 83.5 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">36 438 2 90.66 41937 41930 42063 FALSE 89.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">37 438 2 91.99 41944 41930 42063 FALSE 89.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">38 438 2 92.80 41951 41930 42063 FALSE 89.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">39 438 2 94.07 41958 41930 42063 FALSE 89.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">40 438 2 94.25 41965 41930 42063 FALSE 89.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">41 422 3 83.43 41937 41930 41933 FALSE 83.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">42 422 3 84.17 41944 41930 41933 FALSE 83.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">43 422 3 84.65 41951 41930 41933 FALSE 83.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">44 422 3 84.91 41958 41930 41933 FALSE 83.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">45 422 3 84.97 41965 41930 41933 FALSE 83.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">46 427 3 79.06 41937 41930 41978 FALSE 78.4 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">47 427 3 79.86 41944 41930 41978 FALSE 78.4 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">48 427 3 80.65 41951 41930 41978 FALSE 78.4 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">49 427 3 81.66 41958 41930 41978 FALSE 78.4 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">50 427 3 81.78 41965 41930 41978 FALSE 78.4 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">51 432 3 82.79 41937 41930 42018 FALSE 80.2 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">52 432 3 83.80 41944 41930 42018 FALSE 80.2 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">53 432 3 84.64 41951 41930 42018 FALSE 80.2 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">54 432 3 85.60 41958 41930 42018 FALSE 80.2 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">55 432 3 85.79 41965 41930 42018 FALSE 80.2 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">56 435 3 89.95 41937 41930 42025 FALSE 88.5 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">57 435 3 90.69 41944 41930 42025 FALSE 88.5 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">58 435 3 91.34 41951 41930 42025 FALSE 88.5 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">59 435 3 92.30 41958 41930 42025 FALSE 88.5 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">60 435 3 92.43 41965 41930 42025 FALSE 88.5 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">61 424 4 82.57 41937 41930 41954 FALSE 82.5 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">62 424 4 83.02 41944 41930 41954 FALSE 82.5 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">63 424 4 83.17 41951 41930 41954 FALSE 82.5 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">64 424 4 83.33 41958 41930 41954 FALSE 82.5 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">65 424 4 83.35 41965 41930 41954 FALSE 82.5 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">66 431 4 82.99 41937 41930 42013 FALSE 81.0 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">67 431 4 85.85 41944 41930 42013 FALSE 81.0 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">68 431 4 87.54 41951 41930 42013 FALSE 81.0 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">69 431 4 89.33 41958 41930 42013 FALSE 81.0 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">70 431 4 89.62 41965 41930 42013 FALSE 81.0 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">71 433 4 84.94 41937 41930 42020 FALSE 81.4 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">72 433 4 86.87 41944 41930 42020 FALSE 81.4 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">73 433 4 88.33 41951 41930 42020 FALSE 81.4 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">74 433 4 88.99 41958 41930 42020 FALSE 81.4 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">75 433 4 89.25 41965 41930 42020 FALSE 81.4 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">76 436 4 87.64 41937 41930 42036 FALSE 87.3 67</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">77 436 4 88.81 41944 41930 42036 FALSE 87.3 74</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">78 436 4 89.17 41951 41930 42036 FALSE 87.3 81</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">79 436 4 90.48 41958 41930 42036 FALSE 87.3 88</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;">80 436 4 90.58 41965 41930 42036 FALSE 87.3 90</div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"><br></div><div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;">str(cruza)</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;">'data.frame': 80 obs. of 9 variables:</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ Bezerro : int 423 423 423 423 423 425 425 425 425 425 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ Tratamento: int 1 1 1 1 1 1 1 1 1 1 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ ACd : num 81.3 81.6 82.1 83.6 83.7 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ Data : int 41937 41944 41951 41958 41965 41937 41944 41951 41958 41965 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ DN : int 41930 41930 41930 41930 41930 41930 41930 41930 41930 41930 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ DJN : int 41948 41948 41948 41948 41948 41962 41962 41962 41962 41962 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ Sexo : logi FALSE FALSE FALSE FALSE FALSE FALSE ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ ACD : num 81 81 81 81 81 81 81 81 81 81 ...</span></font></div><div><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="font-size: 13.44px;"> $ Idade : int 67 74 81 88 90 67 74 81 88 90 ...</span></font></div></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"><br></div><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.44px;"><div style="font-size: 13.44px;">library(nlme)</div><div style="font-size: 13.44px;">> attach(cruza)</div><div style="font-size: 13.44px;">> fTrat<-as.factor(Tratamento)</div><div style="font-size: 13.44px;">> class(fTrat)</div><div style="font-size: 13.44px;">[1] "factor"</div><div style="font-size: 13.44px;">> class(ACd)</div><div style="font-size: 13.44px;">[1] "numeric"</div><div style="font-size: 13.44px;">> class(ACD)</div><div style="font-size: 13.44px;">[1] "numeric"</div><div style="font-size: 13.44px;">> class(Data)</div><div style="font-size: 13.44px;">[1] "integer"</div><div style="font-size: 13.44px;">> Data<-as.factor(Data)</div><div style="font-size: 13.44px;">> simcomp.ran <- lme(ACd ~ DJN + ACD + fTrat + Data + fTrat:Data + ACD*fTrat + fTrat*DJN,</div><div style="font-size: 13.44px;">+ random= ~1 | Bezerro/fTrat)</div><div style="font-size: 13.44px;">Erro em MEEM(object, conLin, control$niterEM) : </div><div style="font-size: 13.44px;"> Singularity in backsolve at level 0, block 1</div><div><br></div><div><br></div><div>Muito obrigado pela ajuda e desculpe não saber responder no fórum.</div><div><br></div><div>Abraço a todos!</div></div></div><br><div><font style="" class="ecxApple-style-span" color="#00b050" face="Arial" size="3"><div style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:16px;"><font class="ecxApple-style-span" face="Arial" size="3"><font color="#00b050">Victor Ionatan Fioreze</font></font></div><div style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:16px;"><font class="ecxApple-style-span" face="Arial" size="3"><span style="color:rgb(0, 176, 80);">Médico Veterinário e Zootecnista</span></font></div><div style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:16px;"><font class="ecxApple-style-span" face="Arial" size="3"><font color="#00b050">Mestrando em Nutrição de Ruminantes, PPGZ-UFPel</font></font></div><div style="color:rgb(0, 0, 0);font-family:Calibri, sans-serif;font-size:16px;"><font class="ecxApple-style-span" face="Arial" size="3"><font color="#00b050">Bolsista Capes<br></font></font><div><font class="ecxApple-style-span" color="#00b050" face="Arial" size="3">Integrante GERUMEN<br></font></div><div><font face="Arial" size="3"><img src="http://gfx2.hotmail.com/mail/w4/pr01/ltr/emoticons/mobile.gif" alt="" height="19" width="19"><font color="#00b050">(53) 81032887</font></font></div><div><font color="#00b050" face="Arial" size="3">lattes:</font><font color="#00b050" face="Times New Roman" size="2"> </font><a href="http://lattes.cnpq.br/5026587958713372" target="_blank" style="font-size:12pt;">http://lattes.cnpq.br/5026587958713372</a></div></div></font></div><div><br></div></div> </div></body>
</html>