Re: [R] Question re predict.glm & predict.lm in STATS

2022-02-16 Thread Bert Gunter
Ok, I looked at what you sent me privately and saw your error. I'll reproduce and fix it just using a trivial example with lm(), for which the predict() semantics are identical. Before I do, I note that your claim: "The predict.glm documentation says a warning will be given if the length of

Re: [R] confusion matrix like detail with continuous data?

2022-02-16 Thread Ebert,Timothy Aaron
In your prediction you will have a target level of accuracy. Something like "I need to predict the slope of the regression to within 1%." You break your data into a training and testing data sets, then for the testing data set you ask is the prediction within 1% of the observed value. That is