Generalized Linear Model with a User-Chosen Link Function
A generalized linear model in which the analyst chooses the link between the mean and the linear predictor from a broad menu, including parametric families such as the power, odds-power and Aranda-Ordaz links. The model is fitted by Fisher scoring, and the link parameter can be chosen by profile likelihood with an interval.
평균과 선형예측식을 잇는 연결함수를 거듭제곱, 오즈 거듭제곱, Aranda-Ordaz 같은 모수형 연결까지 포함한 여러 후보 가운데 직접 골라 적합하는 일반화선형모형입니다. 피셔 스코어링으로 적합하며, 연결함수의 모수를 프로파일 가능도로 추정하고 구간을 낼 수도 있습니다.
Does a different link function describe how the mean of my outcome depends on the predictors better than the default one?
기본 연결함수 대신 다른 연결함수를 쓰면 결과의 평균과 설명변수의 관계를 더 잘 나타낼 수 있습니까?
The method reports coefficients with standard errors and Wald tests on the scale of the chosen link, the deviance, Pearson chi-square, dispersion, log-likelihood and AIC; when the link parameter is estimated it also gives its value and a likelihood-ratio interval.
When to use Generalized Linear Model with a User-Chosen Link Function
- The canonical link fits poorly or theory implies another link (for example an additive identity link for rates).
- You want to compare links for the same family by deviance or AIC.
- You want to estimate a power or asymmetric link parameter from the data.
When to use something else
- You only need a standard logistic model: use Binary Logistic Regression
- You want to test whether the link is adequate rather than change it: use Pregibon Link Test
- The outcome is overdispersed counts: use Negative Binomial Regression Model
Assumptions and requirements
- Independent observations
- Correct variance function for the family
- Fitted means stay inside the valid range of the link
What the analysis reports
- Coefficients with SE, z and CI
- Deviance, Pearson chi-square, dispersion, AIC
- Estimated link parameter with profile interval (optional)
How to report it
A Poisson GLM with a power link (lambda = [value]) fitted the counts (deviance = [value] on [value] df, AIC = [value]); the coefficient of dose was [value] (SE = [value], p = [value]).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Generalized Linear Model with a User-Chosen Link Function itself, at the same price.
- Log-complement binomial GLM (health ratios) — family set to “binomial”; link set to “logc”
- Negative binomial GLM (fixed k) — family set to “nbinomial”; nb k set to “1”
- Canonical negative binomial link GLM — family set to “nbinomial”; nb k set to “1”; link set to “nbinomial”
- GLM with robust (sandwich) SEs — vce set to “robust”
- GLM with cluster-robust SEs — vce set to “cluster”
- GLM with Newey-West HAC SEs — vce set to “hac”
- GLM with jackknife SEs — vce set to “jackknife”
- GLM with one-step jackknife SEs — vce set to “jackknife1”
- GLM with unbiased sandwich SEs — vce set to “unbiased”
- GLM with observed-information SEs — vce set to “oim”
- GLM with OPG SEs — vce set to “opg”
Related methods
- Aranda-Ordaz Asymmetric Link Binary Regression
- Pregibon Link Test
- Gamma Regression
- Poisson Regression Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 3 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Generalized Linear Model with a User-Chosen Link Function on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.