File Exchange

image thumbnail

x2fx_names - compound predictor names for x2fx

version 1.0 (2.12 KB) by

returns NAMES of columns for the output of x2fx()

2 Downloads

Updated

View License

x2fx() in the statistics toolbox generates additional design variables by multiplying and computing powers of predictor variables passed to it as columns of an input matrix. Unfortunately, if one has NAMES for these predictor variables recorded elsewhere (e.g. {'height', 'speed', 'weight'} there is no way to quickly figure out the names of compound design variables that x2fx() will generate and in what order. This function does just that.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video