Na verdade foi erro meu, copiei o mesmo valor.

Mathematica:

Gamma[1.5, 0, 0.10] = 0.019861

R:

> pgamma(1.5, .10, lower=FALSE)*gamma(.10)
[1] 0.1079214

Vendo a formula achei que o certo seria: pgamma(1.5, .10, lower=FALSE)*gamma(1.5) mesmo assim não é a mesma resposta do mathematica.


[   ],
Pedro Rafael Diniz Marinho.


---------- Forwarded message ----------
From: beniltoncarvalho [via R-br] <ml-node+s2285057n4656817h4@n4.nabble.com>
Date: 2012/11/1
Subject: Re: [R-br] [Dúvida] Função Gama Incompleta.
To: Pedro Rafael Diniz Marinho <pedro.rafael.marinho@gmail.com>


Acho q nao deu resultado diferente nao... ou eu estou enxergando coisas estranhas... vc postou no seu email original:

No Mathematica: N[Gamma[.10, 1.5], 10] = 0.107921

e eu postei:
pgamma(1.5, .10, lower=FALSE)*gamma(.10)

que vc confirmou como:

pgamma(1.5, .10, lower=FALSE)*gamma(.10) = 0.1079214

acho q nao consigo ver a diferenca?


_______________________________________________
R-br mailing list
[hidden email]
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.


If you reply to this email, your message will be added to the discussion below:
http://r-br.2285057.n4.nabble.com/R-br-Duvida-Funcao-Gama-Incompleta-tp4656799p4656817.html
To unsubscribe from R-br, click here.
NAML