【发布时间】:2016-11-25 11:10:42
【问题描述】:
在 SAS 中是否存在与 R 的函数 predict(model, data) 等效的函数?
例如,您如何将以下模型应用于响应变量“年龄”未知的大型测试数据集?
proc reg data=sashelp.class;
model Age = Height Weight ;
run;
我知道您可以从结果窗口中提取公式 Age = Intercept + Height(Estimate_height) + Weight(Estimate_weight) 并手动预测未知观察的“年龄”,但这不是很有效。
【问题讨论】: