Top "Glm" questions

For questions relating to generalized linear models.

What do these R glm error messages mean: "Error: no valid set of coefficients has been found: please supply starting values"

Here are two related questions but they are not duplicates of mine as the first one has a solution specific …

r glm
Predict.glm not predicting missing values in response

For some reason, when I specify glms (and lm's too, it turns out), R is not predicting missing values of …

r prediction missing-data glm lm
Can multinomial models be estimated using Generalized Linear model?

In analysis of categorical data, we often use logistic regression to estimate relationships between binomial outcomes and one or more …

r logistic-regression glm
How do I extract lmer fixed effects by observation?

I have a lme object, constructed from some repeated measures nutrient intake data (two 24-hour intake periods per RespondentID): Male.…

r glm
ggplot GLM fitted curve without interaction

I want to add the fitted function from GLM on a ggplot. By default, it automatically create the plot with …

r plot ggplot2 glm interaction
How to treat a variable as random factor in GLM in R

I am doing statistical analysis for a dataset using GLM in R. Basically the predictor variables are: "Probe"(types of …

r random glm r-factor
Using ROCR package difficulties

I'm following an analysis of German Credit data and I got an error which I'm failing to rectify because I …

r glm
Logistic regression - cbind command in glm

I am doing logistic regression in R. Can somebody clarify what is the differences of running these two lines? 1. glm(…

r regression glm
predict() with arbitrary coefficients in r

I've got some coefficients for a logit model set by a non-r user. I'd like to import those coefficients into …

r glm predict
Force certain parameters to have positive coefficients in lm()

I would like to know how to constrain certain parameters in lm() to have positive coefficients. There are a few …

r regression linear-regression glm lm