You can put this solution on YOUR website! Please take down this solution. I wrote this question for my statistics tests and students are merely copying and pasting what was written here rather than learning. You are not helping students, just getting them in trouble for plagiarism.
Removed, according to the request from the author.
But, as I can see from the problem's ID number (1174535), the original post with the provided solution
sagged in this forum several years (may be, 8 - 10 years, if not more).