# Questions tagged [numerical-integration]

A class of algorithms to approximate definite integrals.

147 questions
Filter by
Sorted by
Tagged with
16 views

### How can I compute rectangular confidence regions for parameters using R?

Simultaneous confidence regions for multivariate parameters (say, a confidence region for multivariate mean, or for regression parameters) usually find an elliptical region when the parameters' ...
• 1,063
51 views

### Bayesian Quadrature to find expectation of unkown function w.r.t. known pdf

I am interested in estimating the integral $\int f(x) P(x) dx$, where $f(x)$ is an expensive function and $P(x)$ is has an analytic form. I would like to evaluate this with as few evaluations of $f(x)$...
56 views

### Approximate Posterior Predictive Quantiles with Numerical Methods

I have a posterior function which is easy to approximate using numerical methods (the posterior has only 2 parameters, and is approximately Gaussian because of the large sample). However, I need to ...
1 vote
58 views

1 vote
22 views

### What is the expectation of a random variable satisfying some conditions?

How to find the expectation E[X.I(Y<x,X<x)], where X and Y are independent random variables with respective cumulative distribution functions F(.) and G(.) respectively. x is a positive value. ...
330 views

### Plain English explanation of Ito's integral?

I'm looking for a plain English explanation of Ito's integral. I don't need an exhaustive proof, derivation, etc. Just a simple ~this is effectively what it does and why it's better than a Riemann sum ...
• 1,634
65 views

• 3,089
229 views

### Expressing a marginal probability using copulas

Please correct me if I am wrong and kindly provide me with the correct notations. I have two questions: We know that for the variables $(X,Y,Z)\in \mathbb{R}^3$, the marginal joint density $f(x,y)$ ...
• 1,030
1 vote
29 views

### How to calculate Integral error from MCMC

I've recently started using Markov Chain Monte Carlo to calculate integrals, but I can't seem to find how to calculate the error for such an integral. In the standard case of importance sampling, the ...
171 views

### Computational Complexity of Multivariate Normal CDF

I'm going to post this here also as per user suggestions since I feel like the root cause of the issue is more maths related than code related. I'm working on a multivariate cross-entropy minimization ...
1 vote
75 views

### Finding confidence interval for unimodal function equivalent to and comparable with standard deviation of normal

I'm trying to characterise an arbitrary, unimodal distribution in a way that is a) easily understandable (to a physics audience) and b) comparable with a normal distribution. My thinking goes like ...
122 views

47 views

### Why are my sampled values are non Gaussian?

I just have a quick question regarding Importance Sampling Monte Carlo integration. If I sample from some pdf, $p(x,y)$, to calculate an integral. I.e., $I = \int f(x,y) \ dx\ dy$ It can be ...
1 vote
322 views

### Integration with accept reject sampling Monte Carlo

I've got a quick question with regards to accept-reject Monte Carlo integration that I can't solve. Suppose I want to integrate some function, $f(x,y)$, with samples of $x, y$ from $p(x,y)$. Now, ...
83 views

### How to calculate individual moments of a 2-dimensional distribution via Monte Carlo Integration

I've recently been using Monte Carlo integration to calculate a particular integrals which I can do fine but I've hit a problem where I can't calculate the individual moments of my distribution for ...
1 vote
19 views

### how do you find the vector that minimizes [closed]

How do you find the vector that minimizes $\|A\mathbf{x}-\mathbf{b}\|_2^2$ ?
178 views

### Uncertainty propagation in ODEs

I want to see the effect of parameter uncertainty in the Euler method for ODEs. For a differential equation: $dx/dt=f$ with initial condition $x(0)=xo$ and a function $f$ (that has uncertain ...
87 views

• 637
120 views

265 views

### is it a good idea to take the derivative or integral of some features and add them as new features in machine learning?

I'm learning how to do feature Engineering and come across some ideas in my head that's why I want to ask if I had some dataset with some features let's say 2 features and I have a timestamp column ...
• 101
56 views

### Expectation of continuous rv X^2

I ran the following algorithm to find the expected value of X^2 for a random variable X with pdf: exp(-abs(x)^3/3) This is what I did and my results: ...
• 121
131 views

### What is better in Monte Carlo integration: product of means or mean of products?

Let $X$ and $Y$ be two independent continuous random variables with pdfs $f_X$ and $f_Y$, respectively. Let $\varphi_1$ and $\varphi_2$ be two continuous functions from ${\mathbb R}$ to ${\mathbb R}$. ...
• 73
23 views

### Double Integral involving Beta Functions (about Pareto Distribution)?

I have tried evaluate $(m_i,m_j)$th product moment of $X_{(i)}$ and $X_{(j)}$ order statistics of Pareto Distribution, that is $E[X_{(i)},X_{(j)}]$, where $i\le j$ , $X_1,X_2,...,X_n$ i.i.d. from ...
• 21
246 views

### Why is pseudo-random sampling applicable for Monte Carlo integration, even though it does not satisfy the CLT requirements?

Assume we have a function $f\left(x\right)$ defined on $\left[0, 1\right]$ that we want to integrate and estimate the error using Monte Carlo method. We generate realizations of uniformly distributed ...
• 131
878 views

### Expectation of $\ln(1 + e^x)$, where $x$ is normally distributed

I need to evaluate the following integral: $$\int_{-\infty}^\infty\mathrm d x \exp\left(-\frac{(x-\mu)^2}{2\nu}\right) \ln(1+e^x)$$ where $\mu$ is a finite real number and $\nu > 0$. This is just ...
• 3,358
134 views

### Understanding Gauss-Hermite Weights

I routinely use Gauss-Hermite as a tool for approximating complex integrals. While I am proficient in its applications, I am not proficient in its development. I am working to understand the weights ...
• 113
126 views

### quickly finding the moments of a numerically-defined PDF

I have a two-dimensional continuous PDF which is numerically defined. From this PDF I would like to extract the second central moment (variance) of a "slice" of this distribution. The "slice" is to ...
• 101