generate_data: Generates normal data with 50 Covariates.

View source: R/more_controllable_data_gen.R

generate_dataR Documentation

Generates normal data with 50 Covariates.

Description

This function creates a matrix that is 51 x 1000 where the first column is the response variables and the remain 50 are independent variables. The covariates are generated uniform(0,100) The parameter for each covariate is defined such that the first one is 20x0.9e1 followed by 20x0.9e2 with each subsequent parameter decaying until the last one is 20x0.9e50. This allows us to validate a genetic algorithm while generating a large dataset

Usage

generate_data()

Value

a 1000x51 matrix

Examples


generate_data()



AndrewM1130/GA documentation built on July 9, 2022, 11:43 a.m.