| 3 | 1/1 | 返回列表 |
| 查看: 3951 | 回復(fù): 2 | ||
[求助]
MATLAB中fitlm函數(shù)產(chǎn)生的參數(shù)的含義 已有1人參與
|
|
fitlm函數(shù)產(chǎn)生的參數(shù)問題 1.p值是每個自變量在方程中所占的重要性嗎?換言之,可以根據(jù)p值大小比較各自變量對方程的影響程度嗎? 2.F-statistic vs constant model: 4.35,這是個什么意思 可能問題比較白癡,但是真的是急求有人解答,跪謝,附上我的運算程序 >> clear x1=[34 28.001 28 28 28 22.001 22 22 22 22 16.001 16 16 16 10.001 10 10 10 10 4.001 4 4 4 4]; x2=[12 6 6 6.001 6 1 1 1.001 1 1 15 15 15.001 15 9 9 9.001 9 9 3 3 3.001 3 3]; x3=[8 2 2 2 2.001 10 10 10 10.001 10 4 4 4 4.001 12 12 12 12.001 12 6 6 6 6.001 6]; y=[9.78 14.12 14.34 9.08 12.49 9.84 12.86 11.36 14.96 12.33 7.19 10.29 12.64 9.45 16.53 13.64 15.58 15.71 15.27 13.58 17.71 14.00 9.51 14.72]'; x=[x1',x2',x3']; fitlm(x, y,'quadratic'); >> >> ans ans = Linear regression model: y ~ 1 + x1*x2 + x1*x3 + x2*x3 + x1^2 + x2^2 + x3^2 Estimated Coefficients: Estimate SE tStat pValue ________ ______ _______ _________ (Intercept) 60641 18548 3.2694 0.0055927 x1 -1509.4 847.11 -1.7818 0.096477 x2 -3103.3 2782.3 -1.1153 0.28348 x3 -11908 3742.8 -3.1816 0.0066603 x1:x2 -73.932 64.765 -1.1415 0.2728 x1:x3 193.36 76.495 2.5277 0.024137 x2:x3 336.27 153.26 2.1941 0.045605 x1^2 19.076 30.905 0.61723 0.54699 x2^2 139.7 91.156 1.5325 0.14768 x3^2 411.14 141.57 2.904 0.01155 Number of observations: 24, Error degrees of freedom: 14 Root Mean Squared Error: 1.79 R-squared: 0.737, Adjusted R-Squared 0.567 F-statistic vs. constant model: 4.35, p-value = 0.00719 發(fā)自小木蟲Android客戶端 |
至尊木蟲 (知名作家)
|
https://www.mathworks.com/help/stats/fitlm.html mdl = fitlm(tbl) returns a linear model fit to variables in the table or dataset array tbl. By default, fitlm takes the last variable as the response variable. mdl = fitlm(tbl,modelspec) returns a linear model of the type you specify in modelspec fit to variables in the table or dataset array tbl. mdl = fitlm(X,y) returns a linear model of the responses y, fit to the data matrix X. mdl = fitlm(X,y,modelspec) returns a linear model of the type you specify in modelspec for the responses y, fit to the data matrix X. mdl = fitlm(___,Name,Value) returns a linear model with additional options specified by one or more Name,Value pair arguments. |
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 274求調(diào)劑 +6 | S.H1 2026-03-18 | 6/300 |
|
|---|---|---|---|---|
|
[考研] 求材料調(diào)劑 +10 | 隔壁陳先生 2026-03-12 | 10/500 |
|
|
[考研] 一志愿華中科技大學(xué),080502,354分求調(diào)劑 +4 | 守候夕陽CF 2026-03-18 | 4/200 |
|
|
[考研] 328求調(diào)劑,英語六級551,有科研經(jīng)歷 +3 | 生物工程調(diào)劑 2026-03-17 | 7/350 |
|
|
[考研] 344求調(diào)劑 +6 | knight344 2026-03-16 | 7/350 |
|
|
[考研] 295求調(diào)劑 +3 | 一志愿京區(qū)211 2026-03-18 | 5/250 |
|
|
[考研] 311求調(diào)劑 +11 | 冬十三 2026-03-15 | 12/600 |
|
|
[考研] 環(huán)境工程調(diào)劑 +8 | 大可digkids 2026-03-16 | 8/400 |
|
|
[考研] 293求調(diào)劑 +11 | zjl的號 2026-03-16 | 16/800 |
|
|
[考博] 26博士申請 +3 | 1042136743 2026-03-17 | 3/150 |
|
|
[考研] 318求調(diào)劑 +3 | Yanyali 2026-03-15 | 3/150 |
|
|
[考研] 085600調(diào)劑 +5 | 漾漾123sun 2026-03-12 | 6/300 |
|
|
[考研] 326求調(diào)劑 +3 | mlpqaz03 2026-03-15 | 3/150 |
|
|
[考研] 中科大材料專碩319求調(diào)劑 +3 | 孟鑫材料 2026-03-13 | 3/150 |
|
|
[基金申請] 現(xiàn)在如何回避去年的某一個專家,不知道名字 +3 | zk200107 2026-03-12 | 6/300 |
|
|
[考研] 材料工程調(diào)劑 +9 | 咪咪空空 2026-03-12 | 9/450 |
|
|
[考研] 295求調(diào)劑 +3 | 小匕仔汁 2026-03-12 | 3/150 |
|
|
[考研] 求調(diào)劑 +3 | 程雨杭 2026-03-12 | 3/150 |
|
|
[考研] 0817化學(xué)工程與技術(shù)考研312分調(diào)劑 +3 | T123 tt 2026-03-12 | 3/150 |
|
|
[考研] 321求調(diào)劑(食品/專碩) +3 | xc321 2026-03-12 | 6/300 |
|