Questions tagged [generalized-linear-model]
A generalization of linear regression allowing for nonlinear relationships via a "link function" and for the variance of the response to depend on the predicted value. (Not to be confused with "general linear model" which extends the ordinary linear model to general covariance structure and multivariate response.)
8 questions from the last 30 days
0
votes
0
answers
32
views
Can an estimated marginal mean be used to calculate an effect size for a power analysis?
I'm interested in calculating the required sample size for detecting a future hypothetical 30% increase in a marginal mean from a model based on pilot data (accounting for covariates and random ...
1
vote
0
answers
22
views
Weighted quantile sum (WQS) and Cox model
I am working on weighted quantile sum (WQS), and I know that the WQS index obtained represents the effect of the mixture on my outcome.
In order to know which effect the mixture has on my outcome in ...
0
votes
0
answers
47
views
Interpreting the predicted values from family = poisson(link="log") , binary outcome
I am fitting a simple model for dataset where the outcome is binary (1 or 0).
...
1
vote
0
answers
38
views
GLMM (Gamma, log link) shows effect not visible in raw data — why does the model detect it?
I’m analyzing within-subject reaction-time data (4 conditions × 2 positions A × 2 positions B).
RTs are positive and skewed, so I used a Gamma GLMM with a log link:
...
2
votes
0
answers
41
views
How to choose features for a Gamma regression, vs. Linear Regression
I'm new to using GLMs which are not Linear Regression, and am working on a project where I am using Gamma regression with a log-link. I'm having problems with the feature engineering step.
With linear ...
2
votes
1
answer
106
views
How to test whether the addition of a random intercept is statistically significant from a glmer() model to glm()
I'm getting back into mixed effects models and have forgotten a lot. I know this is a doable test for linear regression but have forgotten if there is an equivalent for logistic regression. If I have ...
1
vote
1
answer
57
views
Penalising intercept in a Poisson GLM? - offset present
I am running a Poisson GLM on insurance claim data. I use L1/L2 regularisation to account for potential lack of full credibility in my dataset. I also have an industry table, which (log of it) I use ...
2
votes
2
answers
101
views
lm() and glm() equivalence for log-transformed response variable [duplicate]
I can't seem to wrap my head around this:
What is the glm() equivalent for lm(log(y) ~ x1 + x2, data=data)?
Is it?
a. ...