Displaying 2 results from an estimated 2 matches for "value9".
Did you mean:
value
2009 Aug 10
1
manipulating text to generate different formulas to use in nls()
...cos(2*pi*f1*x - P1) + A2 * cos(2*pi*f2*x - P2) + A3 * cos(2*pi*f3*x - P3),
data = some.xy.data, start = list( mu=some.value0, A1=some.value1,
P1=some.value2, A2=some.value3, P2=some.value4, A3=some.value5,
P3=some.value6, f1=some.value7, f2=some.value8, f3=some.value9 )
So far, I managed to create the "building blocks" I need but when it comes to defining their
number I still haven't found a solution (see the following code).
## some fake starting values
par.ini <- data.frame(period=1:5, invR=1:5, a0=1:5, Amplitude=1:5, Phase=1:5)
n <...
2010 Jul 05
3
selection of optim parameters
Hi all,
I am trying to rebuild the results of a study using a different data
set. I'm using about 450 observations. The code I've written seems to
work well, but I have some troubles minimizing the negative of the
LogLikelyhood function using 5 free parameters.
As starting values I am using the result of the paper I am rebuiling.
The system.time of the calculation of the function is