View source: R/polar_log_lik.R
Assumes z1hat ~ N(z1, 1); z2hat ~ N(z2,1) independent z1hat_o = abs(z1hat); z2hat_o = sign(z1hat)*z2hat This forces thetahat to be between -pi/2 and pi/2 rhat = sqrt(z1hat^2 + z2hat^2); thetahat = atan2(z2hat, z1hat)
1 | polar_log_lik_rt2(r, theta, rhat, thetahat)
|
r |
r |
theta |
theta |
rhat |
rhat |
thetahat |
thethat_o |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.