# Methods for Function getRiskFctBV in Package ‘RobAStBase’

### Description

getRiskFctBV for a given object of S4 class `asGRisk`

returns a function in bias and variance to compute the asymptotic
risk.

### Methods

- getRiskFctBV
`signature(risk = "asGRisk", biastype = "ANY")`

: returns an error that the respective method is not yet implemented.- getRiskFctBV
`signature(risk = "asMSE", biastype = "ANY")`

: returns a function with arguments`bias`

and`variance`

to compute the asymptotic MSE for a given ALE at a situation where it has bias`bias`

(including the radius!) and variance`variance`

.- getRiskFctBV
`signature(risk = "asSemivar", biastype = "onesidedBias")`

: returns a function with arguments`bias`

and`variance`

to compute the asymptotic semivariance error, i.e.*E[max(Sn-theta,0)^2]*resp.*E[max(theta-Sn,0)^2]*, for a given ALE*Sn*at a situation where it has one-sided bias`bias`

(including the radius!) and variance`variance`

.- getRiskFctBV
`signature(risk = "asSemivar", biastype = "asymmetricBias")`

: returns a function with arguments`bias`

and`variance`

to compute the asymptotic semivariance error, i.e.*nu1*max(Sn-theta,0)^2+nu2*max(theta-Sn,0)^2]*for a given ALE*Sn*at a situation where it has one-sided bias`bias`

(including the radius!) and variance`variance`

.

### Examples

1 2 | ```
myrisk <- asMSE()
getRiskFctBV(myrisk)
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.