FO(rsm)
FO()所属R语言包:rsm
Response-surface model components
响应面模型组件
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Use of one of these functions in a model is how you specify the portion of the model that is to be regarded as a response-surface component.
使用模型中的这些功能之一是如何指定的模型是被视为一个反应面部件的部分。
用法----------Usage----------
FO (...)
TWI (...)
PQ (...)
SO (...)
PE (...)
参数----------Arguments----------
参数:...
The numerical predictors for the response surface, separated by commas.
数值预测的响应面,以逗号分隔。
Details
详细信息----------Details----------
Use FO() in the model formula in rsm to specify a first-order response surface (i.e., a linear function) in its arguments. Use TWI() to generate two-way interactions, and PQ() to generate pure quadratic terms (squares of the FO() terms). A call to SO() creates all terms in FO(), TWI(), and PQ() (in that order) for those variables. However, specifying SO() in a model formula in rsm will be replaced by the explicit sum of model terms, so that the anova table shows separate sums of squares. Other variables (such as blocks or factors) may be included in the model but should nevel be included in the arguments to FO or SO.
使用FO()rsm到指定的一阶响应面(即,在其参数的线性函数)模型中的公式。使用TWI()产生的双向互动,PQ()产生的纯二次项(正方形的FO()条款)。的调用SO()创建中的所有条款FO(),TWI()和PQ()(按顺序)这些变量。然而,SO()rsm将被替换的模型项的明确的总和,使anova表分别显示平方和模型中的公式。其他变量(如积木或因素)可能被包含在模型中,,但应涅韦尔中包含的参数FO或SO。
PE is used for fitting pure-error models. It should not be used in response-surface models. This function exists primarily for use by loftest, but could be useful in other linear-model contexts for fitting a model that interpolates the means at each distinct combination of argument values.
PE用于装修的纯误差模型。它不应该被用在响应面模型。此功能主要用于loftest使用存在,但可能是有用的在其他线性模型背景下拟合模型内插的方式,在每一个不同的参数值的组合。
值----------Value----------
The functions FO, TWI, PQ, and SO return a matrix whose columns are the required predictors.
的功能FO,TWI,PQ和SO返回所需的预测列的矩阵。
PE returns a factor whose levels are all the distinct combinations of arguments provided to the function.
PE返回一个factor的水平都提供给函数的参数的不同组合。
(作者)----------Author(s)----------
Russ Lenth
参考文献----------References----------
Journal of Statistical Software, 32(7), 1–17. http://www.jstatsoft.org/v32/i07/.
参见----------See Also----------
rsm
rsm
实例----------Examples----------
### See 'rsm' help for more examples[##请参阅“RSM”帮助更多的例子]
library(rsm)
### Test LOF for a regression model[##测试LOF的回归模型]
ChemReact.lm = lm(Yield ~ Time*Temp, data=ChemReact, subset=1:7)
PureError.lm = update (ChemReact.lm, . ~ PE(Time,Temp))
anova (ChemReact.lm, PureError.lm)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|