ks_var_list: ks_var_list

Description Usage Arguments Examples

Description

get Komolgorov-Smirnov value test for a variable in train and test(receives a list or variables) .

Usage

1
ks_var_list(tbla, formula_model, tbla_test)

Arguments

tbla

table with data. It has to have the target_name.

formula_model

the final formula of the model.

tbla_test

table with test data.

Examples

1
2
3
4
5
6
7
8
9
set.seed(1)
x1 = rnorm(1000)
x2 = rnorm(1000)
z = 1 + 3*x1
pr = 1/(1+exp(-z))
y = rbinom(1000,1,pr)
tbla = data.frame(y=y,x1=x1,x2=x2, x4=x4)
formula_model=formula('y~x1+x2')
ks_var_list(tbla, formula_model, tbla)

GabyP/evaluaModelo documentation built on June 9, 2019, 4:52 a.m.