3
手动计算逻辑回归95%置信区间与在R中使用confint()函数之间为什么会有区别?
亲爱的大家-我注意到我无法解释的怪事,可以吗?总之:在logistic回归模型中计算置信区间的手动方法和R函数confint()得出不同的结果。 我一直在研究Hosmer&Lemeshow的Applied Logistic回归(第二版)。在第3章中,有一个计算比值比和95%置信区间的示例。使用R,我可以轻松地重现模型: Call: glm(formula = dataset$CHD ~ as.factor(dataset$dich.age), family = "binomial") Deviance Residuals: Min 1Q Median 3Q Max -1.734 -0.847 -0.847 0.709 1.549 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -0.8408 0.2551 -3.296 0.00098 *** as.factor(dataset$dich.age)1 2.0935 0.5285 3.961 7.46e-05 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ …
34
r
regression
logistic
confidence-interval
profile-likelihood
correlation
mcmc
error
mixture
measurement
data-augmentation
r
logistic
goodness-of-fit
r
time-series
exponential
descriptive-statistics
average
expected-value
data-visualization
anova
teaching
hypothesis-testing
multivariate-analysis
r
r
mixed-model
clustering
categorical-data
unsupervised-learning
r
logistic
anova
binomial
estimation
variance
expected-value
r
r
anova
mixed-model
multiple-comparisons
repeated-measures
project-management
r
poisson-distribution
control-chart
project-management
regression
residuals
r
distributions
data-visualization
r
unbiased-estimator
kurtosis
expected-value
regression
spss
meta-analysis
r
censoring
regression
classification
data-mining
mixture