Top "Glm" questions

For questions relating to generalized linear models.

Cross validation for glm() models

I'm trying to do a 10-fold cross validation for some glm models that I have built earlier in R. I'm …

r partitioning prediction glm cross-validation
Understanding glm$residuals and resid(glm)

Can you tell me what is returned by glm$residuals and resid(glm) where glm is a quasipoisson object. e.…

r glm
caret train() predicts very different then predict.glm()

I am trying to estimate a logistic regression, using the 10-fold cross-validation. #import libraries library(car); library(caret); library(e1071); …

r glm r-caret confusion-matrix
Difference between glmnet() and cv.glmnet() in R?

I'm working on a project that would show the potential influence a group of events have on an outcome. I'm …

r classification glm cross-validation glmnet
Selecting the statistically significant variables in an R glm model

I have an outcome variable, say Y and a list of 100 dimensions that could affect Y (say X1...X100). After …

r glm
Specifying formula in R with glm without explicit declaration of each covariate

I would like to force specific variables into glm regressions without fully specifying each one. My real data set has ~200 …

r main regression glm
glmer - predict with binomial data (cbind count data)

I am trying to predict values over time (Days in x axis) for a glmer model that was run on …

r glm predict lme4
How to extract a p-value when performing anova() between two glm models in R

So, I'm trying to compare two models, fit1 and fit2. Initially, I was just doing anova(fit1,fit2), and this …

r model regression glm anova
nlme error "Invalid formula for groups" although random effect specified

I have done some searching for this, but the mailing list posts I have found are associated with the person …

r syntax-error glm nonlinear-functions
glm starting values not accepted log-link

I want to run a Gaussian GLM with a log link and an offset. The following problems arise: y <…

r offset glm