<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:16px"><h3 id="yui_3_16_0_1_1420542019603_8294" style="" class=""><font face="times new roman, new york, times, serif">Veja se é isso o que você precisa.</font><br></h3><h3 id="yui_3_16_0_1_1420542019603_8294" style="" class=""><font id="yui_3_16_0_1_1420542019603_8522" face="Courier New, courier, monaco, monospace, sans-serif">#Examples</font></h3><font face="Courier New, courier, monaco, monospace, sans-serif">
</font><pre id="yui_3_16_0_1_1420542019603_8293" style="" class=""><font id="yui_3_16_0_1_1420542019603_8519" face="Courier New, courier, monaco, monospace, sans-serif">## EXAMPLE 1:
## Kidney samples from 291 salmon were split with one half of the
## samples sent to each of two laboratories where an IFAT test
## was run on each sample. The following results were obtained:
## Lab 1 positive, lab 2 positive: 19
## Lab 1 positive, lab 2 negative: 10
## Lab 1 negative, lab 2 positive: 6
## Lab 1 negative, lab 2 negative: 256
dat <- as.table(matrix(c(19,10,6,256), nrow = 2, byrow = TRUE))
colnames(dat) <- c("L1-pos","L1-neg")
rownames(dat) <- c("L2-pos","L2-neg")
epi.kappa(dat, method = "fleiss", alternative = "greater", conf.level = 0.95)
## The z test statistic is 11.53 (P < 0.01). We accept the alternative
## hypothesis that the kappa statistic is greater than zero.
## The proportion of agreements after chance has been excluded is
## 0.67 (95% CI 0.56 to 0.79). We conclude that, on the basis of
## this sample, that there is substantial agreement between the two
## laboratories.
## EXAMPLE 2 (from Watson and Petrie 2010, page 1170):
## Silva et al. (2007) compared an early pregnancy enzyme-linked immunosorbent
## assay test for pregnancy associated glycoprotein on blood samples collected
## from lactating dairy cows at day 27 after artificial insemination with
## transrectal ultrasound (US) diagnosis of pregnancy at the same stage.
## The results were as follows:
## ELISA positive, US positive: 596
## ELISA positive, US negative: 61
## ELISA negative, US positive: 29
## ELISA negative, Ul negative: 987
dat <- as.table(matrix(c(596,61,29,987), nrow = 2, byrow = TRUE))
colnames(dat) <- c("US-pos","US-neg")
rownames(dat) <- c("ELISA-pos","ELISA-neg")
epi.kappa(dat, method = "watson", alternative = "greater", conf.level = 0.95)
## The proportion of agreements after chance has been excluded is
## 0.89 (95% CI 0.86 to 0.91). We conclude that that there is substantial
## agreement between the two pregnancy diagnostic methods.
</font>
</pre>
<hr id="yui_3_16_0_1_1420542019603_8292" style="" class=""><div dir="ltr" id="yui_3_16_0_1_1420542019603_8299"><span>[ ]'s<br></span></div><div id="yui_3_16_0_1_1420542019603_8297"><div id="yui_3_16_0_1_1420542019603_8296">Edson Lira<br>Estatístico<br>Manaus-Amazonas</div></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: lucida console, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> Em Terça-feira, 6 de Janeiro de 2015 6:20, Leonard Assis <assis.leonard@gmail.com> escreveu:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv0675363002"><div dir="ltr">Acredito que para seu problema, correlação ajude pouco. Ideal seria 'concordância'.<br>
Procure sobre agreement coefficient no r search</div>
<div class="yiv0675363002gmail_quote">Em 05/01/2015 16:57, "Gustavo Faria" <<a rel="nofollow" ymailto="mailto:gustavodfs@gmail.com" target="_blank" href="mailto:gustavodfs@gmail.com">gustavodfs@gmail.com</a>> escreveu:<br><blockquote class="yiv0675363002gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Boa tarde, estou com dificuldade (iniciantes ¬¬ hehe) em fazer uma correlação com dados qualitativos, meus dados são 3 metodologias de identificação de organismos, e eu gostaria de saber o quão parecido e/ou divergente eles foram nas identificações realizadas, como poderia montar essa matriz? ja que tenho somente as identificações realizadas pelas 3 metodologias....<br clear="all"><div><br></div>-- <br><div><font style="color:rgb(0,0,153);" color="#999999"><span style="color:rgb(0,0,0);">---</span><br><font><span style="color:rgb(153,153,153);font-family:times new roman, serif;">Gustavo de Faria Silva</span><br style="color:rgb(153,153,153);font-family:times new roman, serif;"></font></font><div style="color:rgb(153,153,153);font-family:times new roman, serif;"><font>Biólogo herpetólogo Crbio 87421/04-P<br></font></div><div><div style="color:rgb(153,153,153);font-family:times new roman, serif;"><font><span>Pós-Graduado em Consultoria e Licenciamento Ambiental<br><font>Mestra<font>ndo em Zoologia de Vertebrados</font></font></span> <br></font>
</div><div><font color="#999999"><font><span style="color:rgb(153,153,153);font-family:times new roman, serif;">Telefone: <a href="" rel="nofollow">(31) 9579-8473</a> (Vivo)</span></font><br></font></div></div><span style="font-size:11pt;color:rgb(0,0,153);"></span></div>
</div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a rel="nofollow" ymailto="mailto:R-br@listas.c3sl.ufpr.br" target="_blank" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a rel="nofollow" target="_blank" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a rel="nofollow" target="_blank" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div></div><br>_______________________________________________<br>R-br mailing list<br><a ymailto="mailto:R-br@listas.c3sl.ufpr.br" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br><a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br><br></div> </div> </div> </div> </div></body></html>