我正在使用R调查软件包进行逻辑回归。逻辑回归的结果将转到mylogit_WTREDUC_fpc
变量。在使用以下代码计算出赔率和 95%置信区间后:
> exp(cbind(OR = coef(mylogit_WTREDUC_fpc), confint(mylogit_WTREDUC_fpc)))
并获得输出:
OR 2.5 % 97.5 %
(Intercept) 4.050266e-02 1.028912e-02 1.594369e-01
SEX2 9.376881e-01 7.080693e-01 1.241770e+00
RACERETH2 9.021057e-01 5.365398e-01 1.516746e+00
RACERETH3 4.653596e+00 1.963489e+00 1.102932e+01
RACERETH4 1.515324e+00 4.605183e-01 4.986138e+00
PAYTYPER-8 3.501366e-01 8.531706e-02 1.436942e+00
PAYTYPER1 5.897403e-01 2.630818e-01 1.321998e+00
PAYTYPER2 5.349431e-01 2.208134e-01 1.295954e+00
PAYTYPER3 6.996608e-01 2.820975e-01 1.735305e+00
PAYTYPER4 9.654608e-02 9.686356e-03 9.622964e-01
PAYTYPER5 4.335184e-01 7.675662e-02 2.448495e+00
PAYTYPER6 8.490278e-07 8.798252e-08 8.193085e-06
PAYTYPER7 4.998245e-02 4.809026e-03 5.194909e-01
REGIONOFF2 2.673413e+00 1.003118e+00 7.124920e+00
REGIONOFF3 2.552523e+00 7.674130e-01 8.490045e+00
REGIONOFF4 1.694789e+00 5.798980e-01 4.953130e+00
MSA2 7.209443e-01 2.863127e-01 1.815360e+00
SPECR3 1.221300e+00 5.073778e-01 2.939768e+00
SPECR4 9.007470e-01 1.452493e-01 5.585881e+00
SPECR5 7.270736e-03 8.373664e-04 6.313079e-02
SPECR6 2.636381e-01 5.016674e-02 1.385481e+00
SPECR7 8.622418e-02 2.515080e-02 2.956014e-01
SPECR8 2.309719e-01 6.526146e-02 8.174509e-01
SPECR9 5.181272e-07 2.097337e-07 1.279984e-06
SPECR10 1.673774e-01 2.858062e-02 9.802168e-01
SPECR11 1.307981e+00 2.935118e-01 5.828771e+00
SPECR12 1.256960e-01 3.308107e-02 4.775985e-01
SPECR13 4.875345e-07 1.735182e-07 1.369827e-06
SPECR14 2.750957e-02 5.249756e-03 1.441546e-01
SPECR15 6.162918e-01 1.287378e-01 2.950304e+00
general_check_var1 1.142176e+00 4.980697e-01 2.619246e+00
hypertensive_var1 1.266005e+00 8.353252e-01 1.918736e+00
diabetes_var1 1.297590e+00 7.481885e-01 2.250422e+00
heart_var1 1.471730e+00 6.859332e-01 3.157726e+00
obese_var1 3.191831e+00 2.209897e+00 4.610072e+00
age_group_var2 8.661799e-01 6.106451e-01 1.228648e+00
age_group_var3 9.507325e-01 5.787880e-01 1.561699e+00
timemd_var2 5.473398e-01 2.359247e-01 1.269815e+00
timemd_var3 8.748149e-01 3.995062e-01 1.915618e+00
我假设数字在scientific notation中。但是我需要那些以常规(常规)符号表示的数字。如何修改代码以获取常规(常规)表示法中的数字?