Category "gam"

How to fix jagged line from predict_gam in ggplot2?

Data: structure(list(ID = c(19903L, 28185L, 28207L, 28429L, 28522L, 29092L, 29127L, 29219L, 29304L, 30981L, 31166L, 31411L, 32010L, 33231L, 33640L, 33714L, 34

Is there a way to create a factor table for spline terms using GAMs in Python's h2o

I have fit a GAM model in h2o with several gam variables (P-splines) using the h2o.estimators.gam package. I'd like to get a table with the factor loading for e

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 f

Interaction consider in gam() fitting with R

I am fitting data using gam() function. At this time, there is an interaction in opposite directions between the two variables. Is smoothing possible considerin