Hi Jeff,
Thanks for the reply. I am aware that the sign needs to be different at
the ends of the starting interval.
Another question:
Is there a way to set the right end point ( (the upper argument in the
uniroot function below) as the point where the function takes on its
minimun, for
Use optimize() to find the minimum and feed that value into uniroot().
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Apr 16, 2015 at 7:47 AM, li li hannah@gmail.com wrote:
Hi Jeff,
Thanks for the reply. I am aware that the sign needs to be different at
the ends of the starting
Thank you.
2015-04-16 12:33 GMT-04:00 William Dunlap wdun...@tibco.com:
Use optimize() to find the minimum and feed that value into uniroot().
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Apr 16, 2015 at 7:47 AM, li li hannah@gmail.com wrote:
Hi Jeff,
Thanks for the
Hi all,
In the following code, I am trying to use uniroot function to solve for
the root (a and b in code below) for function f1.
I am not sure why uniroot function does not give the answer since when we
look the graph, the function does cross 0 twice.
Any suggestion?
Thanks.
Hanna
You really need to read the help page for uniroot. The sign needs to be
different at the ends of the starting interval. This is a typical limitation of
numerical root finders.
---
Jeff NewmillerThe
As others will tell you: you need to provide a reproducible example.
What are p1, u1, u2 ?
quote
Dear all,
I have the following problem with the uniroot function. I want to
find roots for the fucntion Fp2 which is defined as below.
Fz -
Dear all,
I have the following problem with the uniroot function. I want to find
roots for the fucntion Fp2 which is defined as below.
Fz - function(z){0.8*pnorm(z)+p1*pnorm(z-u1)+(0.2-p1)*pnorm(z-u2)}
Fp - function(t){(1-Fz(abs(qnorm(1-(t/2)+(Fz(-abs(qnorm(1-(t/2)}
Fp2 -
Dear all,
I forgot to mention the values for the parameters in the first email.
u1 - -3
u2 - 4
alpha - 0.05
p1 - 0.15
Thank you very much.
2011/9/3 li li hannah@gmail.com
Dear all,
I have the following problem with the uniroot function. I want to find
roots for the fucntion
On 03.09.2011 18:31, li li wrote:
Dear all,
I forgot to mention the values for the parameters in the first email.
u1- -3
u2- 4
alpha- 0.05
p1- 0.15
Thank you very much.
2011/9/3 li lihannah@gmail.com
Dear all,
I have the following problem with the uniroot function. I want
9 matches
Mail list logo