73 australian crab data the files bluecrabdat and


7.3 Australian crab data: The files bluecrab.dat and orangecrab.dat contain measurements of body depth (Y1) and rear width (Y2), in millimeters, made on 50 male crabs from each of two species, blue and orange. We will model these data using a bivariate normal distribution. a) For each of the two species, obtain posterior distributions of the population mean ? and covariance matrix S as follows: Using the semiconjugate prior distributions for ? and S, set µ0 equal to the sample mean of the data, ?0 and S0 equal to the sample covariance matrix and ?0 = 4. Obtain 10,000 posterior samples of ? and S. Note that this "prior" distribution loosely centers the parameters around empirical estimates based on the observed data (and is very similar to the unit information prior described in the previous exercise). It cannot be considered as our true prior distribution, as it was derived from the observed data. However, it can be roughly considered as the prior distribution of someone with weak but unbiased information. b) Plot values of ? = (?1, ?2) 0 for each group and compare. Describe any size differences between the two groups. c) From each covariance matrix obtained from the Gibbs sampler, obtain the corresponding correlation coefficient. From these values, plot posterior densities of the correlations ?blue and ?orange for the two groups. Evaluate differences between the two species by comparing these posterior distributions. In particular, obtain an approximation to Pr(?blue < ?orange|yblue, yorange). What do the results suggest about differences between the two populations?

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: 73 australian crab data the files bluecrabdat and
Reference No:- TGS01395748

Expected delivery within 24 Hours