[問題] 以SAS計算RSM

看板Statistics作者 (迷路的襪子)時間20年前 (2006/02/15 10:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請問一下會用SAS跑RSM(效應曲面法)的人 下面是我寫的program title 'response surface analysis'; option ls=75 ps=120; data rsreg; input x1 x2 y; cards; 1 -1 69.2 1 1 72.0 1 -1 65.75 1 1 58.1 0 0 66.1 0 0 66.85 -1.414 0 67.95 1.414 0 60.55 0 -1.414 71.2 0 1.414 58.8 0 0 64.5 0 0 64.9 0 0 64.8 ; proc rsreg out=pred; model y=x1 x2/lackfit predict; ridge max; proc print data= pred; run; 請問 如果我想利用變數變換(transformation of variables) 把那些incoded variables(-1.414ꌠ-1 0 1 1.414) 換成原始變數 (也就是把方程式z=f(x,y)中的 x y 分別以x=g(X) y=h(Y)置換 該怎麼寫指令呢 (我如果直接把program中的incoded variables 換成原始變數 得到的方程式 經過手算變數變換 結果會跟incoded variables跑SAS的結果不同 這一點我也覺得困惑 理論上應該會相同阿) 麻煩有經驗的人指點一下囉 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.78.228
文章代碼(AID): #13yeow1o (Statistics)