<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="padding-left: 5px; margin: 5px 0px 5px 5px; border-left: 2px solid rgb(16, 16, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma">----- Mensagem encaminhada ----<br><b><span style="font-weight: bold;">De:</span></b> walmes zeviani <walmeszeviani@yahoo.com.br><br><b><span style="font-weight: bold;">Para:</span></b> R_STAT@yahoogrupos.com.br<br><b><span style="font-weight: bold;">Enviadas:</span></b> Segunda-feira, 20 de Outubro de 2008 19:08:34<br><b><span style="font-weight: bold;">Assunto:</span></b> Res: [R_STAT] Elipsóides de Confiança<br></font><br>
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="width: 655px;">
<div id="ygrp-msg" style="width: 470px; margin: 0pt; padding: 0pt 25px 0pt 0pt; float: left;">
<!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text">
<p></p><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><div><span style="font-family: arial,helvetica,sans-serif;">Saudações Willian,</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Sobre o que você relatou eu consegui a abordagem que está apresentada na seguência de comandos a seguir.</span><br><br>#====== Contruir contornos de confiança ======#<br>#======= para dois modelos de regressão ======#<br><br>library(ellipse) #para lidar com contornos<br>data(mtcars) #conjunto de dados<br><br>fit <- lm(mpg ~ am + vs , mtcars) #modelo 1<br>fit2 <- lm(mpg ~ drat + vs , mtcars) #modelo 2<br><br># Plotando os contornos para o 'modelo 1'<br> plot(ellipse( fit, which = c('am',
'vs'),<br> level = 0.90), type = 'l',<br> xlim=c(2,9), ylim=c(2,11) ,<br> xlab="drat e am", ylab="vs",<br> col=2, lwd=2,<br> main="Contornos de confiança")<br> par(new=T) #permite a sobreposição de gráficos<br># Sobrepondo os contornos do 'modelo 2'<br> plot(ellipse( fit2, which = c('drat', 'vs'),<br> level = 0.90), type = 'l',<br> xlim=c(2,9), ylim=c(2,11) ,<br> xlab="", ylab="", col=3,<br> lwd=2, main="")<br># Adicionando informações úteis (acessórios)<br> points(fit$coeffici ents['am' ],<br> fit$coefficients[ 'vs'])<br> points(fit2$ coefficients[ 'drat'],<br>
fit2$coefficients[ 'vs'])<br> text(7,10,"mpg~ am+vs")<br> text(3.5,3," mpg~drat+ vs")<br><br>#=========== ========= ========= ========= =======#<br><br style="font-family: arial,helvetica,sans-serif;"></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><span style="font-family: arial,helvetica,sans-serif;">Tomando o cuidado de delarar o mesmo </span><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">xlim </span><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">ylim </span><span style="font-family: arial,helvetica,sans-serif;">para os dois gráficos é o que importa. Procure delarar </span><span style="font-family: arial,helvetica,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">xlab ylab</span> </span><span style="font-family: arial,helvetica,sans-serif;">apenas no primeiro gráfico. Espero ter ajudado
você.</span><br><br><span style="font-family: arial,helvetica,sans-serif;">Uma ótima semana.<br>Walmes.</span><br><br><br><div style="border-left: 2px solid rgb(16, 16, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensagem original ----<br>De: William Marciano <fwpm2004@yahoo. com.br><br>Para: R_STAT@yahoogrupos. com.br<br>Enviadas: Segunda-feira, 20 de Outubro de 2008 16:54:34<br>Assunto: [R_STAT] Elipsóides de Confiança<br><br>
<div id="ygrp-text">
<p><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">Por favor, gostaria de saber se alguém já construiu em um mesmo gráfico elipsóides de confiança para modelos de regressão padrão diferentes, já tentei com a função confidence.ellipse( ), mas não consegui colocar em um mesmo gráfico dois modelos que eu ajustei para compará-los. <br>Desde já agradeço a atenção de todos!<br></td></tr></tbody></table><br>____________ _________ _________ _________ _________ __<br>Fale com seus amigos de graça com o novo Yahoo! Messenger <br><span><a target="_blank" href="http://br.messenger">http://br.messenger</a> .yahoo.com/ </span></p>
</div>
</div></div></div><br>____________ _________ _________ _________ _________ __<br>Fale com seus amigos de graça com o novo Yahoo! Messenger <br><span><a target="_blank" href="http://br.messenger">http://br.messenger</a> .yahoo.com/
</span></div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<span style="color: white;">__._,_.___</span>
<div id="ygrp-actbar">
<span class="left">
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/message/4427;_ylc=X3oDMTM1c2F1YjFkBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRtc2dJZAM0NDI3BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTIyNDUzNjkxOQR0cGNJZAM0NDI3">
Mensagens neste tópico </a> (<span class="bld">1</span>)
</span>
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/post;_ylc=X3oDMTJxZjQxcHByBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRtc2dJZAM0NDI3BHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTIyNDUzNjkxOQ--?act=reply&messageNum=4427">
<span class="bld">
Responder </span> (através da web)
</a> |
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/post;_ylc=X3oDMTJmYXJrbWw3BF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyMjQ1MzY5MTk-" class="bld">
Adicionar um novo tópico </a>
</div>
<div id="ygrp-vitnav">
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/messages;_ylc=X3oDMTJmYzk1YTBlBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzEyMjQ1MzY5MTk-">Mensagens</a>
| <a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/files;_ylc=X3oDMTJnMHNnamczBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNmaWxlcwRzdGltZQMxMjI0NTM2OTE5">Arquivos</a>
| <a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/photos;_ylc=X3oDMTJmczBrbTRjBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNwaG90BHN0aW1lAzEyMjQ1MzY5MTk-">Fotos</a>
| <a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/links;_ylc=X3oDMTJnNjR1anFlBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNsaW5rcwRzdGltZQMxMjI0NTM2OTE5">Links</a>
| <a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/database;_ylc=X3oDMTJkbXAxbDBxBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNkYgRzdGltZQMxMjI0NTM2OTE5">Banco de dados</a>
| <a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/polls;_ylc=X3oDMTJnZHM0OGVjBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNwb2xscwRzdGltZQMxMjI0NTM2OTE5">Enquetes</a>
</div>
<div id="ygrp-grft">
</div>
<div id="ygrp-ft">
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/;_ylc=X3oDMTJlY29vdjduBF9TAzk3NDkwNDM1BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTIyNDUzNjkxOQ--">
<img src="http://us.i1.yimg.com/us.yimg.com/i/br/groups/groups-brazil_1.gif" alt="Yahoo! Grupos" height="19" width="108" border="0"></a> <br>
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/join;_ylc=X3oDMTJnZjB2aGpoBF9TAzk3NDkwNDM1BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjI0NTM2OTE5">Alterar configurações via web</a> (Requer Yahoo! ID) <br>
Alterar configurações via e-mail: <a rel="nofollow" ymailto="mailto:R_STAT-digest@yahoogrupos.com.br?subject= Recebimento de e-mail: Lista de mensagens" target="_blank" href="mailto:R_STAT-digest@yahoogrupos.com.br?subject=%20Recebimento%20de%20e-mail:%20Lista%20de%20mensagens">Alterar recebimento para lista diária de mensagens</a> | <a rel="nofollow" ymailto="mailto:R_STAT-traditional@yahoogrupos.com.br?subject=Alterar formato de distribuição: Tradicional" target="_blank" href="mailto:R_STAT-traditional@yahoogrupos.com.br?subject=Alterar%20formato%20de%20distribui%C3%A7%C3%A3o:%20Tradicional">Alterar formato para o tradicional</a> <br>
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT;_ylc=X3oDMTJlZTdpNjI5BF9TAzk3NDkwNDM1BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTIyNDUzNjkxOQ--">
Visite seu Grupo
</a> |
<a rel="nofollow" target="_blank" href="http://br.yahoo.com/info/utos.html">
Termos de uso do Yahoo! Grupos </a> |
<a rel="nofollow" ymailto="mailto:R_STAT-unsubscribe@yahoogrupos.com.br?subject=" target="_blank" href="mailto:R_STAT-unsubscribe@yahoogrupos.com.br?subject=">
Sair do grupo </a>
</div>
</div>
<div id="ygrp-sponsor" style="width: 160px; float: right; clear: none; margin: 0pt 0pt 25px; background: none repeat scroll 0% 0% white;">
<div id="ygrp-reco">
</div>
<div id="ygrp-vital">
<div id="vithd">Atividade nos últimos dias</div>
<ul style="list-style-type: none; padding: 0pt; margin: 2px 0pt;">
<li style="clear: both;">
<div class="ct" style="float: right;"><span style="display: none;"> </span>8</div>
<div class="cat"><a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT/members;_ylc=X3oDMTJnamM3MnZyBF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMjI0NTM2OTE5">Novos usuários</a></div>
</li>
</ul>
<a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/group/R_STAT;_ylc=X3oDMTJmZG81MWc1BF9TAzk3NDkwNDM3BGdycElkAzExOTIzMjc1BGdycHNwSWQDMjEzNzExMTYwNQRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzEyMjQ1MzY5MTk-">
Visite seu Grupo </a>
</div>
<div id="nc">
<div class="ad">
<div id="hd1">Yahoo! Mail</div>
<p><a rel="nofollow" target="_blank" href="http://us.lrd.yahoo.com/_ylc=X3oDMTJtcDEwcG9xBF9TAzk3NDkwNDM3BF9wAzEEZ3JwSWQDMTE5MjMyNzUEZ3Jwc3BJZAMyMTM3MTExNjA1BHNlYwNuY21vZARzbGsDbWFpbARzdGltZQMxMjI0NTM2OTE5;_ylg=1/SIG=10ujd6ds6/**http%3A//mail.yahoo.com.br/">Conecte-se ao mundo</a></p>
<p>Proteção anti-spam</p>
<p>Muito mais espaço</p>
</div>
<div class="ad">
<div id="hd1">Yahoo! Barra</div>
<p><a rel="nofollow" target="_blank" href="http://us.lrd.yahoo.com/_ylc=X3oDMTJwdjdhcWhsBF9TAzk3NDkwNDM3BF9wAzIEZ3JwSWQDMTE5MjMyNzUEZ3Jwc3BJZAMyMTM3MTExNjA1BHNlYwNuY21vZARzbGsDdG9vbGJhcgRzdGltZQMxMjI0NTM2OTE5;_ylg=1/SIG=111ngvtas/**http%3A//br.toolbar.yahoo.com/">Instale grátis</a></p>
<p>Buscar sites na web</p>
<p>Checar seus e-mails .</p>
</div>
<div class="ad">
<div id="hd1">Yahoo! Grupos</div>
<p><a rel="nofollow" target="_blank" href="http://br.groups.yahoo.com/;_ylc=X3oDMTJwZTZwZHVoBF9TAzk3NDkwNDM3BF9wAzMEZ3JwSWQDMTE5MjMyNzUEZ3Jwc3BJZAMyMTM3MTExNjA1BHNlYwNuY21vZARzbGsDZ3JvdXBzMgRzdGltZQMxMjI0NTM2OTE5">Crie seu próprio grupo</a></p>
<p>A melhor forma de comunicação</p>
<p></p>
</div>
</div>
</div>
<div style="clear: both; color: rgb(255, 255, 255); font-size: 1px;">.</div>
</div> <img src="http://geo.yahoo.com/serv?s=97490437/grpId=11923275/grpspId=2137111605/msgId=4427/stime=1224536919/nc1=1/nc2=2/nc3=3" height="1" width="1"> <br>
<span style="color: white;">__,_._,___</span>
<!--~-|**|PrettyHtmlEnd|**|-~-->
<!--~-|**|PrettyHtmlStart|**|-~-->
<style type="text/css">
<!--
#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#0000ff;text-decoration:none;}
-->
</style>
<style type="text/css">
<!--
#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
-->
</style>
<style type="text/css">
<!--
#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}
#ygrp-reco {
margin-bottom:20px;padding:0px;}
#ygrp-reco #reco-head {
font-weight:bold;color:#ff7900;}
#reco-grpname{
font-weight:bold;margin-top:10px;}
#reco-category{
font-size:77%;}
#reco-desc{
font-size:77%;}
#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}
#ygrp-vital a:hover{
text-decoration:underline;}
#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
.MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq{margin:4;}
-->
</style>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</div></div></div>
</div><br>
</body></html>