solution

Consider the variable brain from the Animals data frame in the MASS package.

(a) Estimate with maximum likelihood techniques the mean and variance of brain. Specifically, use the R function fitdistr () with a lognormal distribution.

(b) Suppose that brain is a lognormal variable; then the log of this variable is normal. To check this assertion, plot the cumulative distribution function of brain versus a lognormal cumulative distribution function. In another plot, represent the cumulative distribution function of log-brain versus a normal cumulative distribution function. Is it reasonable to assume that brain follows a lognormal distribution?

(c) Find the mean and standard deviation of brain assuming a lognormal distribution.

(d) Repeat this exercise without the dinosaurs. Comment on the changes in the mean and variance estimates.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp