嗨,您好,
在此先感謝您的幫助。我是JMP(版本10)的新手,我非常感謝JMP如何處理OLS回歸中的名義和序數變量。換句話說,一旦你在預測變量之間包含名義或序數變量,它是如何產生虛擬變量的。
謝謝。
G
我想你會找到你想要的東西因子模型部分的 JMP在線文檔 。
部分原因是:
Nominal factors are transformed into indicator variables for the design matrix. SAS GLM constructs an indicator column for each nominal level. JMP constructs the same indicator columns for each nominal level except the last level. When the last nominal level occurs, a one is subtracted from all the other columns of the factor. For example, consider a nominal factor A with three levels coded for GLM and for JMP as shown below. GLMJMPAA1A2A3A13A23A110010A201001A3001–1–1In GLM, the linear model design matrix has linear dependencies among the columns, and the least squares solution employs a generalized inverse. The solution chosen happens to be such that the A3 parameter is set to zero.In JMP, the linear model design matrix is coded so that it achieves full rank unless there are missing cells or other incidental collinearity. The parameter for the A effect for the last level is the negative sum of the other levels, which makes the parameters sum to zero over all the effect levels.
-Jeff