Aparentemente o x criado é um data.frame. vc precisaria passar a primeira coluna para a função:<div><br></div><div>fitdistr(x[,1],"t")</div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2012/11/8 Matheus Monteiro <span dir="ltr"><<a href="mailto:matheusmont@gmail.com" target="_blank">matheusmont@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>> require(MASS)</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>> y=c(49,-67,8,16,6,23,28,41,14,29,56,24,75,60,-48)</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>> a <- fitdistr(y,"t")</i></div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>> a</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>       m           s          df    </i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>  26.847104   22.705444    2.502808 </i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<i> ( 7.253774) ( 9.024268) ( 2.189144)</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>> x <- read.table("/home/matheus/Downloads/abbey-shares.txt", header=TRUE, </i></div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>+   sep="", na.strings="NA", dec=".", strip.white=TRUE)</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

<i>> x</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>   X0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>1   0.0135</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>2   0.0067</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>3  -0.0066</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>4   0.0133</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>5  -0.0033</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>6  -0.0132</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>7  -0.0201</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>8  -0.0034</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>9   0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>10 -0.0034</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>11  0.0068</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>12 -0.0271</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>13  0.0035</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>14  0.0312</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>15  0.0269</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>16  0.0066</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>17  0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>18 -0.0098</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>19 -0.0033</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>20  0.0033</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>21  0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>22  0.0164</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>23  0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>24  0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>25 -0.0065</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>26 -0.0033</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>27 -0.0065</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>28 -0.0132</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>29 -0.0133</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>30  0.0169</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i><a href="tel:31%20-0.0100" value="+13100100" style="color:rgb(17,85,204)" target="_blank">31 -0.0100</a></i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>32 -0.0101</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>33  0.0000</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>34 -0.0068</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>35 -0.0034</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>36  0.0171</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>37 -0.0101</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>38 -0.0034</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>39  0.0424</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>40 -0.0098</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>41 -0.0066</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>42  0.0066</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>43  0.0165</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>44 -0.0097</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>45 -0.0098</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>46 -0.0033</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>47 -0.0133</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<i>48  0.0067</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>> b <- fitdistr(x,"t")</i></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">

<i><span style>> b</span><br><span style="background-color:rgb(255,0,0)">pressiono o enter e nada acontece, não me dá a estimação<br>ou seja, minha dúvida é:<br>como faço pra estimar usando a importação dos dados?</span></i></div>

<br><div class="gmail_quote">Em 8 de novembro de 2012 09:48, Leonard Mendonça de Assis <span dir="ltr"><<a href="mailto:assis.leonard@gmail.com" target="_blank">assis.leonard@gmail.com</a>></span> escreveu:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Matheus,<br>
      <br>
      sem um dump deste seu suposto X, nem um CMR, fica difícil saber o
      que está acontecendo<br>
      <pre cols="72">[]s
Leonard de Assis
<a href="http://about.me/ldeassis" target="_blank">http://about.me/ldeassis</a></pre>
      Em 08/11/2012 03:54, Matheus Monteiro escreveu:<br>
    </div>
    <blockquote type="cite"><div><div>é o seguinte:<br>
      estou trabalhando com a distribuição t<br>
      quero estimar um conjunto de dados<br>
      eu chamando esse conjunto de dados de x<br>
      fazendo y <- c(...........................) tá ok<br>
      por ex:<br>
      <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">y=c(49,-67,8,16,6,23,28,41,14,</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">29,56,24,75,60,-48)</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">


      <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">fitdistr
        (y, "t")</span><br>
      <br>
      mas se meus dados importados de um arquivo txt (vamos chamar de X)<br>
      eu leio os dados, aparece tudo certinho<br>
      porém a estimação não acontece<br>
       
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
R-br mailing list
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a>
<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>
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.</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">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></blockquote></div></div></div><br>
<br>_______________________________________________<br>
R-br mailing list<br>
<a 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></blockquote></div><br><br clear="all"><div><br></div>-- <br>
Roberto de Pinho<br><a href="mailto:robertodepinho@gmail.com" target="_blank">robertodepinho@gmail.com</a><br><a href="http://www.ascoisas.com" target="_blank">http://www.ascoisas.com</a><div><a href="http://lattes.cnpq.br/4816166073408660" target="_blank">http://lattes.cnpq.br/4816166073408660</a></div>
<br>
</div>