Code covered by the BSD License  

Highlights from
x2fx_names - compound predictor names for x2fx

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 2.12 KB File ID: #40580

x2fx_names - compound predictor names for x2fx

by

 

returns NAMES of columns for the output of x2fx()

| Watch this File

File Information
Description

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.

Required Products Statistics Toolbox
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us