Aan de slagGa gratis aan de slag

Parameter estimation for multivariate skew-normals

Unlike multivariate normal, where the parameters estimates can be obtained using the sample mean and sample variance-covariance matrix, the parameters of the skew-normal distribution need to be estimated by an iterative process. You can make use of existing functions in the sn packages to get the estimates.

In the previous exercise, we examined the Ht and Wt variables from the ais.female object and determined that a skew-normal distribution can model the distribution. Now, we will estimate the parameters of this distribution.

Deze oefening maakt deel uit van de cursus

Multivariate Probability Distributions in R

Cursus bekijken

Oefeninstructies

  • Calculate the parameters of the skew-normal distribution and assign it to object fit.ais.
  • Print only the skewness parameters.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Fit skew-normal parameters
fit.ais <- ___(y = cbind(ais.female$Ht, ais.female$Wt), opt.method = ___)

# Print the skewness parameters
fit.ais$dp$___
Code bewerken en uitvoeren