Timeline for Using predict() in R to predict the y-value for multiple occurrences of the same x-value
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 15, 2015 at 18:12 | comment | added | Kevin M | Looks great! I can't upvote on this site yet. | |
May 15, 2015 at 17:42 | comment | added | Russ Lenth | @KevinM: Took me a while, but I made the change. | |
May 15, 2015 at 17:40 | history | edited | Russ Lenth | CC BY-SA 3.0 |
Streamlined the answer, given that `weights` does work after all.
|
May 14, 2015 at 23:02 | comment | added | Russ Lenth |
Yes, that is what it means. res.var is a variable internal to predict.lm that is equal to that value.
|
|
May 14, 2015 at 23:02 | comment | added | Kevin M |
If weights will work, do you want to consider changing the top part of your answer for others' future reference?
|
|
May 14, 2015 at 22:56 | vote | accept | Kevin M | ||
May 14, 2015 at 22:56 | comment | added | Kevin M |
The documentation states: "This can be a multiple of res.var, the estimated value of σ^2". Does that mean that res.var is the same as summary(mod)$sigma^2 ?
|
|
May 14, 2015 at 20:03 | history | edited | Russ Lenth | CC BY-SA 3.0 |
Added more details
|
May 14, 2015 at 19:51 | history | answered | Russ Lenth | CC BY-SA 3.0 |