Custom contrasts for logistic regression
Wald estimates, confidence limits and joint tests of user-written linear combinations of the coefficients.
로지스틱 회귀 사용자 대비 — 사용자가 적은 회귀계수 선형결합마다 Wald 추정값, 신뢰한계, 결합 검정을 구합니다.
Runs Binary Logistic Regression with: .
기본 방법(Binary Logistic Regression)에 다음 설정을 고정해 실행합니다: .
Is the odds ratio for drug A versus drug B different from that for drug C versus placebo?
약 A 대 약 B의 승산비가 약 C 대 위약의 승산비와 다른가요?
You write linear combinations of the coefficients, and each gets a Wald estimate with confidence limits, plus a joint test when several are given together. Behind it is Binary Logistic Regression with hypotheses supplied by you; checks and report are the same as for Binary Logistic Regression.
When to use Custom contrasts for logistic regression
- Your hypothesis compares specific levels or combines coefficients.
- You need a joint test of several planned comparisons.
When to use something else
- You only need each coefficient's own test; the base output already has it.
- You have nothing to give for hypotheses; Binary Logistic Regression runs without it.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
- hypotheses
Assumptions and requirements
The same as for Binary Logistic Regression:
- Independent observations
- Linearity between continuous predictors and the link scale (can be relaxed with restricted cubic spline terms, which also test it)
- No severe multicollinearity
- Sufficient events per predictor to avoid separation and overfitting
What the analysis reports
The output of Binary Logistic Regression, with the preset shown in the settings:
- Coefficients (log-odds) and odds ratios with confidence intervals
- Wald or likelihood-ratio tests
- Pseudo R² (e.g., Nagelkerke)
- Hosmer–Lemeshow test
- Classification table or ROC curve
- Optional complementary log-log or probit link; with cloglog, exp(coefficient) is reported as a hazard ratio for grouped-time data
- Optional grouped binomial input (events and trials columns) with a Pearson overdispersion check
- Optional restricted cubic spline terms (Harrell knots) for continuous predictors with Wald and likelihood-ratio tests of nonlinearity
How this is validated
검증 근거
This variant runs the same engine as Binary Logistic Regression 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.
이 설정 묶음은 Binary Logistic Regression와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Binary Logistic Regression
- Quasi-binomial logistic regression (Pearson scale)
- Quasi-binomial logistic regression (deviance scale)
- Logistic regression with profile-likelihood confidence limits
- Type 3 likelihood-ratio tests for logistic regression
- Type 1 sequential likelihood-ratio analysis for logistic regression
- Concordance statistics (Somers' D, gamma, tau-a, c)
- Cox–Snell and Nagelkerke R-square
- Logistic regression influence diagnostics
- Global null tests (likelihood ratio, score, Wald)
- Odds ratios for custom unit changes
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Binary Logistic Regression: 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 Binary Logistic Regression (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.