Two-Part Model with Gamma Positives
A two-part model with a logit part for any use and a gamma GLM with log link for positive amounts.
감마 양수부 2부분 모형 — 사용 여부는 로짓으로, 양수 금액은 로그 연결 감마 일반화선형모형으로 설명하는 2부분 모형입니다.
Runs Hurdle and Two-Part Models with: type set to “continuous”; positive set to “gamma”.
기본 방법(Hurdle and Two-Part Models)에 다음 설정을 고정해 실행합니다: type = continuous; positive = gamma.
How do I model annual spending where non-users report zero and users have right-skewed amounts?
비사용자는 0이고 사용자는 오른쪽으로 치우친 연간 지출을 어떻게 모형화하나요?
The gamma part handles skewed positive amounts without retransforming from logs. The entry fixes type = continuous, positive = gamma in Hurdle and Two-Part Models; the rest of the output follows Hurdle and Two-Part Models.
When to use Two-Part Model with Gamma Positives
- Positive amounts are right-skewed with variance rising with the mean.
- You want the expected amount on the original scale.
When to use something else
- Positive amounts are roughly normal; a linear model for the positive part is enough.
- You want to compare this setting with the alternatives; run Hurdle and Two-Part Models with each option.
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 Hurdle and Two-Part Models:
- The zero and positive parts are conditionally independent given predictors, unless the correlated Cragg option is used.
- The positive part follows the chosen distribution (truncated Poisson or NB2, log-normal or gamma).
- For log-normal smearing, homoskedastic errors on the log scale.
What the analysis reports
The output of Hurdle and Two-Part Models, with the preset shown in the settings:
- Logit coefficients for P(y > 0)
- Positive-part coefficients (count, log-OLS or gamma)
- Average marginal effects on the unconditional mean split by part
- Log-likelihood and AIC, with Poisson, negative binomial and zero-inflated AICs for count outcomes
- Optional Cragg double-hurdle fit by joint maximum likelihood: probit participation with a truncated-normal or lognormal intensity, or the double hurdle in which either hurdle produces a zero
- Error correlation between the two hurdles with a likelihood-ratio test against independence (lognormal and double-hurdle forms)
- Tobit log-likelihood and AIC for comparison, and a likelihood-ratio test of the Tobit restriction against the truncated-normal Cragg model
How this is validated
검증 근거
This variant runs the same engine as Hurdle and Two-Part Models 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.
이 설정 묶음은 Hurdle and Two-Part Models와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Hurdle and Two-Part Models
- Hurdle Count Regression
- Two-Part Model for Semicontinuous Outcomes
- Hurdle Poisson Regression
- Heteroskedastic Cragg hurdle model
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Hurdle and Two-Part Models: 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Results cross-checked against R, as recorded for Hurdle and Two-Part Models (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.