On 28-08-2012, at 03:12, Christopher Kelvin wrote:
> Hello,
> I want to estimate the exponential parameter by using optim with the
> following input, where t contains 40% of the data and q contains 60% of the
> data within an interval. In implementing the code command for optim i want it
> to
Hello,
I want to estimate the exponential parameter by using optim with the following
input, where t contains 40% of the data and q contains 60% of the data within
an interval. In implementing the code command for optim i want it to contain
both the t and q data so i can obtain the correct estim
On 03/10/2009 5:26 PM, Jim Silverton wrote:
I have having the following error message when trying to optimize a function
using optim:
optim(c(10,100),fn,method="BFGS")
Error in optim(c(10, 100), fn, method = "BFGS") :
cannot coerce type 'S4' to vector of type 'double'
Can someone tell me
I have having the following error message when trying to optimize a function
using optim:
> optim(c(10,100),fn,method="BFGS")
Error in optim(c(10, 100), fn, method = "BFGS") :
cannot coerce type 'S4' to vector of type 'double'
>
Can someone tell me what this means?
Jim
[[alternative
> I am trying to fit a exponential power distribution
>
> y = b/(2*pi*a^2*gamma(2/b))*exp(-(x/a)^b)
>
> to a bunch of data for x and y I have in a table.
>> data
>x y
> 1 2527
> 2 7559
> 3125 219
> ...
> 25912925 1
> 260
5 matches
Mail list logo