Displaying 2 results from an estimated 2 matches for "formua".
Did you mean:
formula
2008 Mar 24
0
What is the correct model formula for the results of piecewise linear function?
...0.000200 ***
bs(y, degree = 1, knots = c(-0.4357, -0.3202))2 -4.426 1.614 -
2.742 0.006105 **
bs(y, degree = 1, knots = c(-0.4357, -0.3202))3 -11.216 2.861 -
3.920 8.86e-05 ***
I think bs(degree=1) has fitted the piecewise linear functions. Now i hope
to write the model formua for the above results, but not very sure about how
to write the correct results for *distance* and *y,* because they have three
parts .
Logitp=12.104 + 5.815*x + 6.654*elevation - 6.755*elevation^2
-1.291*distance1 - 10.348*distance2 - 3.53*distance3
-6.828*y1 - 4.426*y2 - 11....
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
I was working with the rmetrics portfolioBacktesting function and dug into
the code to try to find why my formula with 113 items, i.e. A1 thru A113,
was being truncated and I only get 85 items, not 113.
Is it due to a string length limitation in R or is it a bug in the strsplit
or gsub functions, or in my string?
I'd very much appreciate any suggestions
============Input script: