run_regression: A general function to run all possible regression based...

Description Usage Arguments Value See Also

Description

A general function to run all possible regression based approaches.

Usage

1
run_regression(dat, family = "match", method = "traditional")

Arguments

dat

A simulated dataset with 7 columns.

family

"match" for the approach where the optimal choice of the x's is chosen and "interaction" where the x's are assumed to be chosen optimally.

method

"traditional" for the typical model with interaction, 'augmented' for the model with interaction and quadratic effects, and 'sur' for the seemingly unrelated regression method. method is ignored when family = "match" or family = "sur".

Value

A list with the regression object and the name of the method

See Also

match_reg interaction_regression format_reg

Other tests: cond_reg, interaction_reg, match_reg, sur_reg


stijnmasschelein/simcompl documentation built on May 30, 2019, 5:43 p.m.