Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
263 views

When Monte Carlo simulation can't be used to simulate a statistical system?

My question is simple. Which are the general conditions for which a Monte Carlo simulation can be used to represent a statistical system? Or conversely, which are the statistical system that cannot be ...
emanuele's user avatar
  • 2,098
4 votes
2 answers
6k views

Minimizing relative error (or mean square error) and maximizing likelihood

I'm not a statistician, so I would appreciate an answer in the simplest possible words. I've read that, in some sense, when we minimize the mean square error, we are maximizing the likelihood. This ...
Andres's user avatar
  • 83
7 votes
1 answer
768 views

Hamiltonian Monte Carlo: why is reparameterizing needed?

In the Stan user's manual (Version 2.0.1, page 157), it says A hierarchical model such as the above will suffer from the same kind of inefficiencies... [for a Hamiltonian Monte Carlo method] ...
David J. Harris's user avatar
5 votes
3 answers
309 views

Estimating the minimum of a finite probability mass function

Suppose we are given a discrete r.v. $X$, distributed according to some unknown, finite probability mass function $p(x)$. We can assume that $p(x)>0$ for every $x$ in its domain. We can sample $X$ ...
user35573's user avatar
1 vote
1 answer
2k views

Accept-reject algorithm for Beta(1,$\beta$)

Consider the pdf $$f(x)= \begin{cases} \beta x^{\beta -1 }\quad 0<x<1 \\ 0\quad \text{elsewhere} \end{cases} $$ for $\beta >1 $ Use the accept-reject algorithm to generate an observation ...
JohnK's user avatar
  • 21.1k
1 vote
0 answers
165 views

Find trendline for minimum (not mean) values in distribution

I would like to perform something like a linear regression on my distribution of data, but I'm interested in a trendline that estimates the minimum, not mean, value for each time bin. I'd like to do ...
Charcha's user avatar
  • 125
9 votes
1 answer
9k views

Expected value of minimum order statistic from a normal sample

UPDATE Jan 25th 2014: the mistake is now corrected. Please ignore the calculated values of the Expected Value in the image uploaded - they are wrong- I don't delete the image because it has generated ...
Alecos Papadopoulos's user avatar
3 votes
1 answer
870 views

$\mathbb{E}$ and Variance of the maximum of independent $\mathcal{N}(\mu_i, \sigma_i^2)$

I am interested in the expectation and the variance of the maximum of several independent, normal distributed variances. That is, given a set of $I$ different RVs with $X_i \sim \mathcal{N}(\mu_i, \...
bayerj's user avatar
  • 14k
2 votes
1 answer
219 views

Distribution of logically constrained parameters in Monte Carlo simulation

Papers like Briggs et al. 2002 say that logical constraints on inputs such as probability parameters exclude the the Normal distribution from consideration due to its unboundedness. In this example, ...
kirk's user avatar
  • 431
5 votes
1 answer
169 views

Distribution of Extreme Spread for n, sigma

Simple form provided by WHuber: What is the distribution of the diameter of n points in the plane drawn iid from a bivariate Normal distribution? (Diameter is the greatest distance among any pair of ...
feetwet's user avatar
  • 1,176
1 vote
0 answers
79 views

determining probability of spatial pattern metric greater than some instance

Let's say I have a grid of cells from a satellite image that take on the value of 0 or 1, with 1 being forest. There are many spatial pattern metrics that measure things about this pattern such as ...
wvguy8258's user avatar
  • 371
2 votes
0 answers
589 views

Convergence in Probability of the minimum

This is a homework question. I think I have the correct answer, but I am not sure. Also, the wording sounds very awkward. Is there a better way to show this (or better way to word this)? Let $X_1,\...
bdeonovic's user avatar
  • 10.2k
2 votes
1 answer
418 views

Rate of convergence for SLLN

I am interested in writing a non-asymptotic rate of convergence for SLLN as a function of number of samples. From the literature I've read so far, CLT provides an asymptotic convergence rate of $(1/...
David Alisha's user avatar
1 vote
2 answers
779 views

Joint cdf of extreme values

A die is rolled twice, $X_1$ : the minimum value to appear in the two rolls $X_2$ : the maximum I would like to derive $\ F_{X_1,X_2}(x_1,x_2)$. I know that that the CDF of $\ X_1 $ = $\ 1- [1-...
user2948524's user avatar
4 votes
1 answer
1k views

Convergence in probability of minimum

This is a homework problem. Suppose we have a random sample $X_1,\ldots,X_n \overset{iid}{\sim} F$ with density $f(x) = 2(x-\theta)$ for $x\in (\theta,\theta+1)$. Let $X_{(1)} = \min{\{X_1,\ldots,X_n\}...
bdeonovic's user avatar
  • 10.2k
8 votes
1 answer
227 views

What method is simulating pvalues from re sampling from the data

A while back I asked a question about correlating times between time stamps and received a response from Peter Ellis that said I could calculate mean distances between codes... This already will give ...
Tyler Rinker's user avatar
20 votes
1 answer
12k views

MCMC on a bounded parameter space?

I am trying to apply MCMC on a problem, but my priors(in my case they are $\alpha\in[0,1],\beta\in[0,1]$)) are restricted to an area? Can I use normal MCMC and ignore the samples that fall outside of ...
Cupitor's user avatar
  • 1,615
2 votes
3 answers
190 views

MCMC for an explicitly uncomputable prior?

I am trying to sample from a posterior distribution and I only have an explicit formula for likelihood but I can sample from the prior distribution. How can I sample from the posterior distribution ...
Cupitor's user avatar
  • 1,615
9 votes
3 answers
2k views

Extreme value theory for count data

I am aware of extreme value theory for continuous distributions. I need to fit an extreme value distribution to the maximum observation of number of events on a day, per month. This seems to be the ...
RonRich's user avatar
  • 205
1 vote
0 answers
55 views

Approximately sampling $(X, Y)$ when sampling $X$ is easy

Suppose I am interested in sampling many pairs $(\mathbf X, Y)$ from some distribution $f(\mathbf x, y)$ where $\mathbf x \in \mathbb R^p$, $p$ large ; I am interested in both exact and approximate ...
guy's user avatar
  • 9,102
5 votes
2 answers
2k views

Expected maximum given population size, mean, and variance

How would one estimate the maximum given population size, a few moments, and perhaps some additional assumption on the distribution? Something like "I'm going to do $N_s≫1$ measurements out of ...
Michael's user avatar
  • 205
8 votes
2 answers
309 views

Generating causally dependent random variables

I'm trying to generate sets of causally connected random variables and started off doing this with a monte carlo approach. The baseline is a 2-dimensional measured histogram from which I draw random ...
sebastian's user avatar
  • 131
5 votes
1 answer
14k views

Implementing a Metropolis Hastings Algorithm in R

Consider a univariate normal model with mean $µ$ and variance $τ$ . Suppose we use a Beta(2,2) prior for $µ$ (somehow we know µ is between zero and one) and a $log-normal(1,10)$ prior for $τ$ (recall ...
user163's user avatar
  • 103
0 votes
0 answers
169 views

Error Bars in a Monte Carlo Coin Experiment

An excel program runs a Monte Carlo coin experiment. 10,000 coins are tossed 1000 times, with the number of times ...
Bronzeclocksofbenin's user avatar
9 votes
1 answer
5k views

Monte Carlo estimation of probabilities

I would appreciate some advice on how to use Monte Carlo for estimating probabilities. Generally speaking the problem I have involves running an experiment and counting the frequency of output (which ...
user23774's user avatar
  • 359
3 votes
2 answers
3k views

Improved Monte-Carlo method vs. hit-and-miss method

I do not understand Which is more accurate, the hit-and-miss method or the improved Monte-Carlo method? Here it is written that that the hit-and-miss has a higher variance but they showed ...
Cynderella's user avatar
5 votes
1 answer
733 views

OLS robust to outliers

I am facing the following problem: I have a training sample and estimate a model on that training sample. My model is simply OLS: $y_t = a + \beta x_t + \varepsilon_t$. The model is estimated on ...
Alex's user avatar
  • 853
1 vote
1 answer
1k views

What is loc parameter in GPD distribution in POT package for R?

I fitted the Generalized Pareto distribution (GPD) using the POT package in R. The fitted object provides shape and scale ...
user25873's user avatar
  • 131
8 votes
2 answers
1k views

Are there any alternatives to simulation for determining the distribution of number of events from two dependent non-homogeneous Poisson processes?

A "state of the art" model for the distribution of goals scored in a soccer match is that of Dixon and Robinson (1998) "A Birth Process Model for Association Football Matches" which accounts for two ...
M. Berk's user avatar
  • 2,615
7 votes
1 answer
1k views

Simulating Monte Carlo with different standard deviations and interval confidence

I have a question regarding Monte Carlo simulation (direct simulation), applied to propagation of uncertainties. From what I understand Monte Carlo accepts random numbers of each input variable of ...
humberto's user avatar
0 votes
1 answer
609 views

random sampling in a polygon

I would like to sample a uniformly random point in a polygon... If sample a large number they'd be equally likely to fall into two regions if they have the same area. This would be quite simple if ...
john mangual's user avatar
7 votes
1 answer
2k views

Two player dice game probability

$A$ and $B$ play a dice game where a player wins if their score is higher. $B$ wins if their score is equal. What is the probability of $A$ winning if both the players roll their dice $n$ times and ...
rudrick ross's user avatar
7 votes
0 answers
764 views

Endogeneity in spatially lagged regression model

The standard convention in Spatial Statistic is that the spatial lag term in a regression model will be biased due to simultaneity. Looking at the following model, it would be difficult to argue with ...
user29145's user avatar
1 vote
0 answers
447 views

Are direct Monte Carlo and Markov Chain Monte Carlo equivalent?

I'm not quite sure where to start... I'm trying to wrap my head around two methods for drawing samples from a parameter distribution, given a forward model and some distribution of the observable. I'...
Warrick's user avatar
  • 215
2 votes
0 answers
310 views

How to include GAM response error in a Monte Carlo simulation

I am running a Monte Carlo simulation, using the results of a GAM (response) as the basis for my overall model. I would like to incorporate the error in the GAM into the final result. Since predict....
user2651131's user avatar
-1 votes
2 answers
252 views

A question on Monte Carlo

We simulate $E(\exp(z))$ by Monte Carlo method,where $z\sim{}N(0,1)$. For sample sizes $2^{16}$ and $2^{17}$, the variance errors are 0.00531 and 0.00364, respectively. The ratio of these two errors ...
Hebe's user avatar
  • 1
1 vote
0 answers
2k views

Estimating p-value of a very rare event using Monte Carlo

I am doing a Monte Carlo sampling from the null hypothesis in order to estimate a p-value of my data. Normally I would do, say, 1000 Monte Carlo runs, count the number of runs where I get values of my ...
amoeba's user avatar
  • 107k
12 votes
1 answer
1k views

HMC: How many dimensions is too many?

From what I have read Hamiltonian Monte Carlo is the "goto" MCMC method when your problem is high dimensional. Practically speaking, how many dimensions 10's, 100'...
ryguy's user avatar
  • 961
5 votes
1 answer
3k views

How can I sample from a correlated multivariate Bernoulli distribution with known covariances?

I have $N$ Bernoulli random variables $X_1, ..., X_{N}$ with known parameters $p_1, ..., p_{N}$. They are dependent with known covariances. How can I sample from the joint distribution of the $X_i$? ...
Paul Keating's user avatar
2 votes
1 answer
2k views

Convergence in distribution of the maximum of a sequence of random variables

How to find the following: Let $X_1$, $X_2$, $X_3$,..., $X_n$, be i.i.d with chi-square distribution with one-degree of freedom. Find $a_n$ and $b_n$ such that $ a_n(\max_i X_i - b_n)$ converges in ...
Salih Ucan's user avatar
2 votes
1 answer
2k views

Monte Carlo simulation of low probability events with impact

I wonder if I'm lacking the terminology to phrase this question: I would like to model, in Excel, the risk of a fairly rare event, E, happening over time, where time is divided into chunks called ...
Jon's user avatar
  • 23
13 votes
2 answers
14k views

What is the difference between the Monte Carlo (MC) and Monte Carlo Markov Chain (MCMC) method?

The goal of both methods seems to be to derive an estimate of a posterior/target distribution. If a process model exists which links some input parameters (which are themselves uncertain and can be ...
bdoering's user avatar
  • 133
2 votes
1 answer
539 views

Sampling from marginal using integrated conditional

I would like to sample from: $$ p(\theta_2|x)=\int p(\theta_2|\theta_1,x) . p(\theta_1|x) . d\theta_1 $$ knowing that I can easily sample from $p(\theta_1|x)$ and (less easily) from $p(\theta_2|\...
beuhbbb's user avatar
  • 5,093
6 votes
1 answer
4k views

What is the current 'standard' for modern statistical computing hardware?

I am in the market for a new system (probably a laptop) that would be be used primarily for Bayesian/MCMC analyses. If I had unlimited funds I would obviously buy very high end hardware and be done ...
user avatar
3 votes
1 answer
84 views

How can posterior be persisted and reconstituted as future prior?

Suppose I model a data generating process as a hierarchal model and have made some training observation from the process. To learn about the process, with the observations I run the bayesian ...
daryoush's user avatar
11 votes
1 answer
18k views

Rules to apply Monte Carlo simulation of p-values for chi-squared test

I'd like to understand the use of Monte Carlo simulation in the chisq.test() function in R. I have a qualitative variable which has 128 levels / classes. My sample ...
jtextori's user avatar
  • 351
10 votes
1 answer
667 views

Monte Carlo Integration for non-square integrable functions

I hope this is the right place to ask, if not feel free to move it to a more appropriate forum. I've been wondering for quite a while now how to treat non-square integrable functions with Monte Carlo ...
cschwan's user avatar
  • 203
2 votes
0 answers
235 views

left-censored dependent variables and prediction

I'm coding up a monte-carlo analysis; I've got a deterministic model that depends on parameters that are uncertain. One of those uncertain parameters is a partially-observed vector of prices by ...
generic_user's user avatar
  • 13.7k
5 votes
3 answers
1k views

Approximation of partition function (normalizer)

Say we have a nasty probability distribution like, $$ P(x) = \frac{P^*(x)}{Z} $$ where we can easily compute $P^*(x)$ for a given $x$ but not $P(x)$ because partition function $Z$ is expensive to ...
Rex Roy's user avatar
  • 111
1 vote
2 answers
76 views

Non-parametric tests to compare numeric profiles

I am trying to compare two different numerical profiles and determine whether they are the same or not, computing a p-value. These profiles are composed of 200 values each (each of which corresponds ...
Tito Candelli's user avatar

1
33 34
35
36 37
39