# Tagged Questions

1answer
57 views

### How to add standard deviation regarding MATLAB function normrnd(mu,sigma)?

My question depend on this scenario which is as follows, I used a MATLAB function "normrnd(mu,sigma)" with mean 'mu = 0' and S.D 'sigma = 5', to generate a normal random number "R1". I added this ...
2answers
36 views

### Numerical precision of product of probabilities (normal CDF)

I'm trying to calculate $\prod_k{p_k}$ where $p_k$ are (potentially) very high probabilities of independent, zero-mean, standard normal random variables and $k>100$. However, I'm running into ...
1answer
103 views

### Obtaining useful information from graph obtained via Monte-Carlo Simulations

I've been running Monte Carlo Simulations on some Matlab code and then plot the graph shown below. I was just wondering what useful information I could collect from this graph? Edit: fit ...
1answer
129 views

### Gaussian distribution and its parameters

I need to learn more about Gaussian distribution and given a set of data, plot a Gaussian distribution of it. Using the following code sample, could you please tell me how I can plot a Gaussian ...
0answers
25 views

### Chi2 value for normally distributed data

I have a large set (around 5000 data points) of normally distributed data. I need to calculate a chi2 value for the data to see how well it is modeled by a gaussian curve. I have seen and tried using ...
3answers
3k views

### Normalizing a Gaussian Distribution

Assuming a Gaussian distribution with mean of zero and standard deviation of one, I would like to normalize this for an arbitrary mean and standard deviation. I know you're supposed to add the mean ...
2answers
207 views

### Shift interval of log-normally distributed latin hypercube samples

first of all I'm not sure if this part of StackExchange is the right one because my question is mainly on a way to implement something in MATLAB. Ok, now let me try to pack my whole question in one ...
0answers
34 views

### Covariance calculation for mixture Gauss

This equation what I found on the wikipedia is a bit strange for me. How I can compute in matlab? If example the size(x) = [1000, 2](2 dimension gauss) then $size(\mu) = [1, 2]$ for each cluster. ...
0answers
441 views

### Numerical integration of 2-d Gaussian Distribution in MATLAB

I am looking for a really fast way to integrate numerically the 2-dimensional gaussian density with identity covariance matrix ...
1answer
945 views

### Approximate probability mass function into normal distribution

I have an array of values (mass function) Px and I want to approximate a normal distribution function (in Matlab) from them. I can plot the mass function using bar(Px) and I would like to plot normal ...
0answers
218 views

### Generating spatially correlated samples from a multivariate normal distribution

I am trying to generate some spatially correlated samples from a multivariate normal distribution following this algorithm Compute Cholesky factorization Q=LL' Sample z~N(0,I) Solve L'v=z Computer ...