5. In a study of 1000 randomly selected participants, the randomized response technique described above was applied and the outcome is tabulated in Table 1. [These are fictitious data gen- erated using the R code set.seed (3); x1=rpois (500,0.5); x2=rpois (500, 3) x=c(x1, x2); table (x). This can be helpful in entering the data.] Table 1: Frequency distribution of number of drinks (alcohol or coffee) for 1000 study participants 0 1 2 3 4 5 6 7 8 9 10 11 332 226 137 125 77 52 26 16 6 1 1 1 (i) Develop code in R which finds the maximum likelihood estimator of using the Gauss- Newton and the EM algorithm. Use 100 iterations at most. (ii) Compare the convergence behavior of both algorithms in terms of dependence of initial value and number of iterations needed to reach convergence (consider convergence reached when the first 4 digits after the colon do not change any more). (iii) Provide an estimate of the Fisher information using the plug-in estimate of the iterate of at convergence and, hence, give an estimate of the standard error of 0.
5. In a study of 1000 randomly selected participants, the randomized response technique described above was applied and the outcome is tabulated in Table 1. [These are fictitious data gen- erated using the R code set.seed (3); x1=rpois (500,0.5); x2=rpois (500, 3) x=c(x1, x2); table (x). This can be helpful in entering the data.] Table 1: Frequency distribution of number of drinks (alcohol or coffee) for 1000 study participants 0 1 2 3 4 5 6 7 8 9 10 11 332 226 137 125 77 52 26 16 6 1 1 1 (i) Develop code in R which finds the maximum likelihood estimator of using the Gauss- Newton and the EM algorithm. Use 100 iterations at most. (ii) Compare the convergence behavior of both algorithms in terms of dependence of initial value and number of iterations needed to reach convergence (consider convergence reached when the first 4 digits after the colon do not change any more). (iii) Provide an estimate of the Fisher information using the plug-in estimate of the iterate of at convergence and, hence, give an estimate of the standard error of 0.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 4 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman