# Tagged Questions

0answers
35 views

### simulation of simple linear model with replication [on hold]

Suppose, we take X 1 , X 2 ,. . . ,X 50 as Xi=i/5, i = 1, . . . , 50, and store these values in a vector x. Use this x vector for the rest of the problem. Now, generate a data set for a response ...
0answers
10 views

### Adjusted-size in a Monte Carlo bootstrap simulation

For my thesis I computed various rejection frequencies based on p-values using various statistics based on the Wild Restricted Efficient bootstrap scheme of Davidson & Mackinnon (2010) by ...
1answer
48 views

1answer
293 views

### How to use rejection sampling to generate draws from Unit Exponential

I'm working on some practice test problems, and one of them says to design a rejection sampling algorithm to produce draws from a unit exponential using draws from a Gamma(2,1). I don't understand ...
2answers
1k views

### Monte Carlo experiment to estimate coverage probability

I'm working on a problem as follows for a course that I'm auditing: Suppose a 95% symmetric t-interval is applied to estimate a mean, but the sample data are non-normal. Then the probability ...
2answers
1k views

### Expected number of runs of length n in coin toss

I'm writing a program for an assignment for my Probability and Statistics course. This program performs several millions of simulated coin tosses, and then analyses various properties of the generated ...