Description Usage Arguments Details Value Author(s) Examples
View source: R/risk_theta_fun.R
Compute the risk between two different parameter values.
1 | risk_theta_fun(theta1, theta2, n_params)
|
theta1 |
A first parameter array. |
theta2 |
A second parameter array. |
n_params |
Number of parameters to be estimated in the two arrays. |
The default is averaged squared difference between log values of parameters
A numerical value.
Edouard Pauwels
1 2 3 4 5 | theta1 <- sample(1:10000, size = 100)
theta2 <- sample(1:10000, size = 100)
n <- 50
risk_theta_fun(theta1, theta2, n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.