Open sallymeeyan opened 2 years ago
FAIL
FAIL
Hi, Yanyan:
I forgot to push to GitHub. Can you check my assignment please? I just resubmit.
Zhuoyi
FAIL
Thanks for the updates. Your report reads so much better than the first version! However, you're still having the following issues that I listed in the first grading:
gh
, decrease your lower bound to 5 or even lower, because now it seems the result is right at the lower bound of 10, which indicates that it may not be 'optimal'.gh
section (for all three distributions), the qqplots are incorrect. You should use the same method you used for qqplot in the MM section. The following code has nothing to do with your sample, and the returned plot is just a perfect normal since you draw from a Normal(0,1) distribution.
U <- runif(1000); Y <- qnorm(U); qqnorm(Y); abline(0,1)
ht
, all three qqplots are incorrect. It should be sample_quantile vs. theo_quantile, where sample quantiles are from ht
, and theo_quantiles are from the distribution you estimated. Just re-use the code in your MM section. If you have difficulties understanding this, let me know so we can discuss about it.Fixed it.
PASS
Very good.
sqrt(s2)
instead of s2
, since sd is the parameter to be estimated.
FAIL
gh
, decrease your lower bound to 5 or even lower, because now it seems the result is right at the lower bound of 10, which indicates that it may not be 'optimal'.2 MLE parameters
section, I assume the first chunk is for normal distribution using MLE, but it seems the second plot is for MM of Gamma distribution? Please use MLE for Gamma and Weibull distribution to re-do the part. You need a newnLL
andfit
for each of the two distributions. You can see from the plots the fit of Weibull is off - both pdf and CDF. The fit for Gamma is slightly better, but you did not use MLE and the estimates are also a bit off.2 MLE parameters
section (for normal distribution), the qqplot is incorrect. You should use the same method you used for qqplot in the previous section. The following code has nothing to do with your sample, and the returned plot is just a perfect normal since you draw from a Normal(0,1) distribution.U <- runif(1000) Y <- qnorm(U) qqnorm(Y) abline(0,1)
height
, the new variable, and clearly label with the method you use - MLE or MM. Most of the parts of your work are hard to locate.s2
forsd
inqnorm
.nLL
andfit
for each of the two distributions. Please redo the part. You can see from the plots the fit is very bad for the two.writeup.html
andwriteup.rmd
. The TAs use the same code to open every student's work so it's important that everyone uses the same file name.