| 2 | 1/1 | 返回列表 |
| 查看: 453 | 回復: 1 | ||
[求助]
R求助
|
|
最近用R處理數據,有以下幾個問題問高手: 1,You used a linear model. This assumes that your data (the residuals) are normally distributed? If not, have you tried to transform the residuals so that they are normally distributed? If residuals are not normally distributed and cannot be transformed so that they become normally distributed, have you tried a generalized linear model (GLM) with an appropriate error structure (given by the "family"-command in glm - in R: model <- glm (y ~ x), family= "gaussian / binomial / Gamma / etc." 對于統(tǒng)計數據中有缺失的部分,我一律用R代替,請問如何判斷這些數值的出現是否為"gaussian / binomial / Gamma ?還是要一個一個嘗試? gaussian / binomial / Gamma 怎么體現在R語句中?具體怎么操作? 2, What y and what x did you use in "lm(formula = y ~ x)"? You can use several explanatory variables (x) in a lm or glm but only one response variable (y)? 3,With the ratio of annual species and perennial species, I suggest that you use the logarithm of this ratio: log (annuals / perennials) - this is usually done with ratio-data 對于較小的數值(0—1之間),一般取log,請問是取什么為底的函數?10,2, 還是e? 謝謝! |

| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 085700資源與環(huán)境308求調劑 +3 | 墨墨漠 2026-03-18 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 能源材料化學課題組招收碩士研究生8-10名 +4 | 脫穎而出 2026-03-16 | 10/500 |
|
|
[考研] 344求調劑 +6 | knight344 2026-03-16 | 7/350 |
|
|
[考研] 一志愿中國海洋大學,生物學,301分,求調劑 +4 | 1孫悟空 2026-03-17 | 4/200 |
|
|
[考研] 286求調劑 +6 | lemonzzn 2026-03-16 | 9/450 |
|
|
[考研] 302求調劑 +10 | 呼呼呼。。。。 2026-03-17 | 10/500 |
|
|
[考研] 288求調劑,一志愿華南理工大學071005 +4 | ioodiiij 2026-03-17 | 4/200 |
|
|
[考研] 277調劑 +5 | 自由煎餅果子 2026-03-16 | 6/300 |
|
|
[碩博家園] 湖北工業(yè)大學 生命科學與健康學院-課題組招收2026級食品/生物方向碩士 +3 | 1喜春8 2026-03-17 | 5/250 |
|
|
[考研] 308求調劑 +4 | 是Lupa啊 2026-03-16 | 4/200 |
|
|
[考研] 本人考085602 化學工程 專碩 +16 | 不知道叫什么! 2026-03-15 | 18/900 |
|
|
[考研] 332求調劑 +6 | Zz版 2026-03-13 | 6/300 |
|
|
[考研] 機械專碩325,尋找調劑院校 +3 | y9999 2026-03-15 | 5/250 |
|
|
[考研] 一志愿211 0703方向310分求調劑 +3 | 努力奮斗112 2026-03-15 | 3/150 |
|
|
[考研] 285求調劑 +6 | ytter 2026-03-12 | 6/300 |
|
|
[考研] 復試調劑 +3 | 呼呼?~+123456 2026-03-14 | 3/150 |
|
|
[考研] 材料與化工(0856)304求B區(qū)調劑 +6 | 邱gl 2026-03-12 | 7/350 |
|
|
[考研] 材料工程調劑 +9 | 咪咪空空 2026-03-12 | 9/450 |
|
|
[考研] 311求調劑 +3 | 冬十三 2026-03-13 | 3/150 |
|
|
[考研] 333求調劑 +3 | 152697 2026-03-12 | 4/200 |
|