Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

Monte Carlo Integration

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13808] Monte Carlo Integration
  • From: Hannah Valentine <h_valentine at yahoo.com>
  • Date: Fri, 28 Aug 1998 04:18:29 -0400
  • Organization: University of Illinois
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I'm trying to compute the expected value of an expression. In other
words,
I have an expression E[f(x, sigma)] where sigma is a normal random 
variable. This is of course, the evaluation of an integral. What I'd
like
to do is this : Evaluate the integral (expectation) by using monte carlo
methods.
My questions to all you mathematica gurus out there are as follows :

(1) Is Mathematica a good way to do this kind of stuff ? I'm totally new
to Mathematica.

(2) I saw a command called NIntegrate in the documentation. Would I  use
NIntegrate to do something like this ?

(3) Is there any archive of examples, where I can learn to prepare the
code for such evaluation ?

Please, please, please, your answers will be very much appreciated ! 

Thanks in advance,

Hannah Valentine
h_valentine at yahoo.com


  • Prev by Date: Re: Help: Labels in Greek letter in Mathematica Plot
  • Next by Date: Mathematica
  • Previous by thread: Difficulties with Front End and with mysterious messages
  • Next by thread: Mathematica