Description Usage Arguments Details Value Note Author(s) See Also Examples
The model has a correlation parameter which is estimated and theoretically bound between -1 and +1. To ensure that the estimated parameters are within the theoretical bounds a transformation is necessary. The chosen transformation is:
f(ρ): ρ = 2/(1-exp(-θ))- 1
Whereas ρ is the actual correlation coefficient and θ is the parameter we estimate in the model. This parametrization has been worked into the likelihood function and ensures that ρ will be between -1 and +1.
1 | fetch.rho.b(b)
|
b |
The vector of estimated coefficients (β) whereas the last element is the transformed correlation coefficient (here: θ). |
This function is for internal use but documented as a regular function to enable any user to assess the estimator and its functionality.
The function returns the correct estimate for ρ.
We want to estimate ρ but because it is theoretically bound, we estimate θ which is not bound can range from -∞ to +∞.
Lucas Leemann lleemann@gmail.com
1 2 | test <- c(1,1,-2.35)
fetch.rho.b(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.