Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. {25] Top-level function Write a function, gsrnma.es1;.se, to calculate the standard error of your estimates of the gamma parameters, on simulated data drawn from
3. {25] Top-level function Write a function, gsrnma.es1;.se, to calculate the standard error of your estimates of the gamma parameters, on simulated data drawn from the gamma distribution. It should take the following arguments: true shape parameter shape {or a], true scale parameter scale {or 3}, size of each sample n, and number of repetitions at that sample size B. It should return two standard errors, one for the shape parameter a and one for the scale parameter s. (These can he either in a vector or in a list, but should he named clearly.) It should call a function gamma.est.sim which takes the same arguments as gammasst .se, and returns an array with two rows and B columns, one row holding shape estimates and the other row scale estimates. Your gsnnna.est .se function should not, itself, estimate any parameters or generate any random values
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started