00:01
Hello students, today we will discuss about this question.
00:04
In this question we are given that suppose we have given x1, x2, up to x n, that are a random sample from a form log normal distribution with unknown parameters.
00:21
So here we need to construct 95 percentage of confidence interval that is equal to question mark for the parameter mu and here we need to use the mont carlo method to obtain the empirical estimate of the confidence level so here first of all we will get here that the r code for the given we have given the r code that is r m list is equals to l s now sct .swd 1001, nn capital mc, less than one, one double zero, triple zero, number of montcarlo parts.
01:17
Now, n is less than one double zero, number of sample.
01:27
Result less than numeric nmc double hashtag if x follows log norma normal of mu one distribution then log x follows a normal distribution with mean mu and sigma 1 so therefore mew less than 1 for i in 1 nmc x less than rl norm nmu result i mean of log x alpha less than 0 .05, quantile result, alpha divided by 2, 1 minus alpha divide by 2...