test_J: Estimate average regret for a given J (MUST SET SEED)

Description Usage Arguments

View source: R/test_J.R

Description

Estimate average regret for a given J (MUST SET SEED)

Usage

1
test_J(Jvals, J_true, nsteps = 2000, nsim = 100, seed = 100)

Arguments

Jvals

The differnt J values to try.

J_true

The true value of J.

nsteps

number of steps per simulation.

nsim

The number of simulations for each value of J.

seed

The seed to control the random outcome.


dfcorbin/npbanditC documentation built on March 23, 2020, 5:25 a.m.