1. Consider the distribution that P(X = j) = (1/2)+1 + (1/2)2³¬1/3', j = 1,2, ·.. Generate 1000 samples and estimate E[X] and Var(X) according to your samples. (Hint: The algorithm is not unique for...


how would i approach this question in r programming


a rough pseudocode will do


1. Consider the distribution that<br>P(X = j) = (1/2)+1 + (1/2)2³¬1/3',<br>j = 1,2, ·..<br>Generate 1000 samples and estimate E[X] and Var(X) according to your samples.<br>(Hint: The algorithm is not unique for this question. In case you have to generate geomet-<br>ric random variables, please note that you can use the inversion by truncation algorithm.)<br>

Extracted text: 1. Consider the distribution that P(X = j) = (1/2)+1 + (1/2)2³¬1/3', j = 1,2, ·.. Generate 1000 samples and estimate E[X] and Var(X) according to your samples. (Hint: The algorithm is not unique for this question. In case you have to generate geomet- ric random variables, please note that you can use the inversion by truncation algorithm.)

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here