Skip to main content

All Questions

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
70 views

Interpreting the covariate p-values in a multivariate generalized linear model?

If a covariate in a GLM is "significant" does that mean it is significantly different from the base case (the group not shown)? Say we have three groups, Control, Exp1, Exp2. We are ...
neurostats6's user avatar
1 vote
0 answers
2k views

When do I have to use orthogonal contrasts instead of non-orthogonal ones?

This is the same question as asked here, but of course I think with a different twist. A definition of orthogonal contrasts is given in another (great) answer to a popular question on Cross Validated ...
fabiob's user avatar
  • 712
0 votes
0 answers
107 views

GLM specifying a subset of contrast matrix for factor variable

I'm fitting a binomial GLM with the following formula: glm(outcome ~ categorical:continuous:factor) I would like to see the interaction of categorical and ...
BioinformaticsB's user avatar
0 votes
0 answers
37 views

Can I just use one effect-coded variable instead of two dummy variables when I perform a regression, if there are 3 groups?

To make things simple, let say I ran a basic psychometric experiment and I want to test whether the response time (i.e. a continuous variable) can predict the performance score (i.e. a continuous ...
Christopher's user avatar
0 votes
1 answer
29 views

Recalculate the standard error using a different base?

I want to run a GLM with a factor, say car type, as one of the independent variables. Suppose car type has the following levels: sedan, SUV, and truck. And suppose the base level is currently sedan. ...
platypus17's user avatar
0 votes
1 answer
54 views

How to handle potential ambiguity when one-hot encoding?

Let's say I have two categorical features: Movie, Director. I one-hot encode both the Movie and Director features for use in a linear regression model. The problem is that two or more movies may be ...
dan's user avatar
  • 1
0 votes
0 answers
36 views

Finding the fitted probability for an aliased constraint in a binomial model?

For a binomial model, with probit link function: model = glm(response~A+B+C, family = binomial("probit"), na.action = na.omit) where A and B are continuous, C is ...
thatsnotmyname71's user avatar
0 votes
0 answers
168 views

Model failed to converge in lme4::glmer() when the a factor is centered or releveled

I'm running a mixed-effects model using glmer() function. The modeling works well with R's default dummy coding. But if I center or relevel a factor of 2 levels, the model failed to converge. I am ...
chaoh's user avatar
  • 43