simulate_methods: Run simulations

Description Usage Arguments Value

View source: R/simulate.R

Description

Run simulations

Usage

1
2
3
4
5
simulate_methods(sim_design, draw_network, num_simulations = 100,
  bs_iterations = 100, stage2_method = "gradient",
  triangles_bias_est = "theorem2", triangles_bs_inf = "none",
  file_name = NULL, verbose = TRUE, bs_trimming_bound = 0,
  force_robust = FALSE, bs_force_robust = force_robust)

Arguments

sim_design

Simulation design in list format

draw_network

function that draws a network (takes argument sim_design)

num_simulations

number of simulations

bs_iterations

number of bootstrap iterations for triangle test

stage2_method

either "mle" or "gradient"

triangles_bias_est

specify how bias is estimated

triangles_bs_inf

specify typoe of bootstrap inference

file_name

file name for saving results (relative to path) if not provided then results are not saved to disk

verbose

print more diagnostic output

bs_trimming_bound

specify trimming of probabilities in bootstrap Monte Carlo

force_robust

don't use speedglm (for robustness in sparse networks)

bs_force_robust

don't use speedglm in bootstrap Monte Carlo

Value

data frame with simulation results


adzemski/netprobitFE documentation built on May 17, 2019, 11:40 a.m.