R/risk_theta_fun.R

Defines functions risk_theta_fun

Documented in risk_theta_fun

risk_theta_fun <-
function(theta1, theta2, n_params){
	## Risk function
	1 / n_params * sum(log(theta1/theta2)^2)
}

Try the pauwels2014 package in your browser

Any scripts or data that you put into this service are public.

pauwels2014 documentation built on May 1, 2019, 6:29 p.m.