python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Gratia package: probability instead of log odds for plotting generalized additive model (GAM)
I was trying to plot a logistic GAM model using the gratia package (since it uses ggplot2), however I would like the effects (or partial effects) to be plotted in terms of probabilities instead of log...
yentl02
Votes: 0
Answers: 1
When using GAM in R, why is the plot for two continuos variables different from the first one plotted with two continuos by categorical?
I'm using GAM in R and I can't understand why the output for two different equations that should give the same plot are not exactly the same.
For example, when using the mpg dataset with a multivariat...
Adriana Velasquez
Votes: 0
Answers: 1
Using GAM for the first time on species detection data
I am running a GAM on species detection data for the first time. I would like to see if there is any interaction between time of year and diel period for both male and female of this species. This is ...
orangepeelsoup
Votes: 0
Answers: 0
How to get the names of factor levels corresponding to fixed effect regression coefficients for a GAM in R?
I have a gam in R (mgcv package) with 7 parameters, and one of them is a fixed effect with 30 levels (30 names). I want to analyse the regression coefficients for each name (person), but R numbers eac...
leslie roberson
Votes: 0
Answers: 1