(R code needed) Lifetimes of electronic components manufacturedby an electronic company are assumed to follow an Exp(λ)distribution with mean 1/λ. A random sample of 30 lifetimes inyears was obtained and shown below: 5.1888 3.6757 4.5091 7.13201.3711 1.6454 2.1979 3.8805 0.5290 2.3796 3.2840 3.6678 0.68367.9914 12.9922 2.6192 0.3593 5.0234 0.2240 7.5862 0.1172 0.06182.6203 16.2319 17.2107 0.8101 8.9368 2.0752 0.9925 1.0187
The data can also be found in life2018.csv.
(a) Find the moment estimate of λ. [4 points]
(b) Find the MLE of λ. Does the MLE match the moment estimate?[4 points]
(c) Let Sλ(2) = exp(−2λ) denote the survival function at time y= 2. Find the MLE of Sλ(2). [4 points]
(d) Find the moment estimate of Sλ(2). [4 points]