Gamma GAM (log link)
Additive model for positive, right-skewed outcomes with gamma errors and a log link.
감마 일반화가법모형(로그 연결) — 감마 오차와 로그 연결을 쓰는, 양수이며 오른쪽으로 치우친 결과를 위한 가법모형입니다.
Runs Generalized Additive Models (GAM) with: family set to “gamma”; link set to “log”.
기본 방법(Generalized Additive Models (GAM))에 다음 설정을 고정해 실행합니다: family = gamma; link = log.
Hospital costs are positive and right-skewed; how do I model their nonlinear relation with age and length of stay?
병원 비용이 양수이고 오른쪽으로 치우쳐 있는데, 나이·재원일수와의 비선형 관계는 어떻게 모형화하나요?
A gamma response with a log link makes the variance grow with the square of the mean, and smooth terms capture nonlinear effects on the log scale. Behind it is Generalized Additive Models (GAM) with family = gamma, link = log already set; checks and report are the same as for Generalized Additive Models (GAM).
When to use Gamma GAM (log link)
- The outcome is positive and its spread grows with its mean.
- Effects are expected to be nonlinear.
When to use something else
- The outcome has exact zeros; the gamma distribution does not allow them.
- You want to try other settings side by side; open Generalized Additive Models (GAM) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
Assumptions and requirements
The same as for Generalized Additive Models (GAM):
- Independent observations, or an explicit correlation structure
- Outcome distribution correctly specified through the family and link
- Additive effects unless interactions or tensor smooths are included
- Enough unique predictor values to estimate each smooth
What the analysis reports
The output of Generalized Additive Models (GAM), with the preset shown in the settings:
- Effective degrees of freedom (edf) for each smooth term (sum-to-zero constrained, as in mgcv)
- Approximate F (Gaussian) or chi-square (binomial, Poisson) Wald tests for smooth terms
- Parametric coefficients: intercept and any predictors entered as linear terms, with standard errors and p-values
- Partial-effect curves for each smooth with 95% intervals (centred, link scale)
- Deviance explained and AIC
How this is validated
검증 근거
This variant runs the same engine as Generalized Additive Models (GAM) with the settings above fixed, so the evidence is that method’s: results cross-checked against r. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Generalized Additive Models (GAM)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Generalized Additive Models (GAM)
- Inverse Gaussian GAM
- Probit GAM
- Complementary log-log GAM
- Binomial events/trials GAM
- Tensor-product smooth GAM
- GAM with fixed smoothing df
- GAM nonlinearity deviance test
- P-spline smoothing chosen by SBC
- P-spline smoothing chosen by AICc
- Additive mixed model (Gaussian GAMM)
- GAMM with AR(1) residuals
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Generalized Additive Models (GAM): 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Results cross-checked against R, as recorded for Generalized Additive Models (GAM) (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.