Displaying 1 result from an estimated 1 matches for "excel250".
Did you mean:
excel2007
2012 Oct 04
2
Help with R Fitting an inverse Gamma
...mle = optim(c(5,2,2),ll)
params = mle$par
# Fit
hist(data,probability=T,ylim=c(0,2.5))
points(seq(2,4.5,0.001),dinvgamma(seq(2,4.5,0.001)-params[3],params[1],params[2]),type="l",col="red")
I have attached the file which I import directly from the menu, named:
excel250.csv. When I run the code it gives me the following error:
Error in optim(c(5, 2, 2), ll) :
function cannot be evaluated at initial parameters
I would appreciate your help.
Thank you.
Konstantinos
<nabble_a href="excel250.csv">excel250.csv
--
View this message...