Use Three Input Columns to Predict Income and Return Result Sets
Returns two result data sets, one with coefficients and statistics and one with statistical measures.
call td_analyze ( 'linear', 'database = val_source; tablename = customer; columns = age, years_with_bank, nbr_children; dependent = income;' );
Use Three Input Columns to Predict Income and Create Output Tables
Creates two permanent output tables, one with coefficients and statistics and one with statistical measures.
call td_analyze ( 'linear', 'database = val_source; tablename = customer; columns = age, years_with_bank, nbr_children; dependent = income; outputdatabase = val_results; outputtablename = linear2;' );
Build Eight Models
Because the groupby parameter specifies two columns, the function builds 2*4 = 8 models.
call td_analyze ( 'linear', 'database = val_source; tablename = customer; columns = age, years_with_bank, nbr_children; dependent = income; outputdatabase = val_results; outputtablename = linear3; groupby = gender, marital_status;' );