blmsim: Generate a dataset with normal variables and outcome for...

Description Usage Arguments Value

Description

Generate a dataset with normal variables and outcome for testing purposes

Usage

1
2
blmsim(n = 2000, j = 5, binary = 1, seed = NULL,
  heteroskedastic = FALSE, correlated_errors = FALSE, ...)

Arguments

n

number of examples

j

number of variables

binary

number of columns with 0/1 outcomes

seed

seed for pseudo-random number generator

Value

list containing true values and data frame with n rows and j columns with simulated data.


JasperHG90/blm documentation built on Sept. 4, 2019, 11:16 a.m.