Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FindRoot with CDF inside

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71737] Re: FindRoot with CDF inside
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Tue, 28 Nov 2006 06:03:45 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <ekecem$j7$1@smc.vnet.net>

Lixin Huang wrote:
> Can somebody help me have a look at the program below? Why
> can't I solve the equaitons? Thanks a lot.

[snip]

> FindRoot::nlnum: The function value {-0.01`-0.42` CDF[NormalDistribution[-1
> .`,
> 1.],-3.6946]-=861=87+0.42 (1. -1. CDF[=8618=87[0.,1.],=8619=87])+0.12 (1. - 1. CDF[
> NormalDistribution[0.,1.],2.]),=861=87} is not a list of numbers with dimensions {2} at {zxl,z0l} == {2.,-2.}. More...

Looking at this error message, I believe that you have forgotten to load 
the add-on that defines CDF and NormalDistribution. Add the following 
line before your function definition and be sure to evaluate it before 
using CDF or NormalDistribution.

<<Statistics`NormalDistribution`

Regards,
Jean-Marc


  • Prev by Date: Re: Descending order
  • Next by Date: Re: Mathematica "Interpolation" function
  • Previous by thread: FindRoot with CDF inside
  • Next by thread: Re: Re: Limit of Infinitely Nested Expression (4.0