Dear members,
In xthybrid results, is there a way to convert the coefficient (when depvar is binary) to odds ratio.
regards,
ajay
In xthybrid results, is there a way to convert the coefficient (when depvar is binary) to odds ratio.
Code:
. xthybrid Positive_disc01 stud_SCSTOBC Teach_SCSTOBC Teach_nature_1 Teach_nature_2 Teach_gender_1 c > ourse1_com course1_eco course1_eng course1_hin course1_his course1_mat course1_pol sem_1 sem_2 sem_3 sem_4 > sem_5 attendence_percent , clusterid ( group_teachercasteSCSTOB_paper ) se test p star The variable 'Teach_SCSTOBC' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'Teach_SCSTOBC' is within clusters] The variable 'course1_com' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'course1_com' is within clusters] The variable 'sem_1' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'sem_1' is within clusters] The variable 'sem_2' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'sem_2' is within clusters] The variable 'sem_3' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'sem_3' is within clusters] The variable 'sem_4' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'sem_4' is within clusters] The variable 'sem_5' does not vary sufficiently within clusters and will not be used to create additional regressors. [~0% of the total variance in 'sem_5' is within clusters] Hybrid model. Family: gaussian. Link: identity. +--------------------------------------+ | Variable | model | |----------------------+---------------| | Positive_disc01 | | | R__Teach_SCSTOBC | -0.0047 | | R__course1_com | 0.0093 | | R__sem_1 | -0.0125 | | R__sem_2 | -0.0133 | | R__sem_3 | -0.0122 | | R__sem_4 | -0.0085 | | R__sem_5 | (omitted) | | W__stud_SCSTOBC | -0.0096** | | W__Teach_nature_1 | 0.0006 | | W__Teach_nature_2 | (omitted) | | W__Teach_gender_1 | 0.0061 | | W__course1_eco | 0.0064 | | W__course1_eng | 0.0048 | | W__course1_hin | -0.0139 | | W__course1_his | 0.0146 | | W__course1_mat | 0.0155 | | W__course1_pol | (omitted) | | W__attendence_perc~t | 0.0001 | | B__stud_SCSTOBC | 0.0975* | | B__Teach_nature_1 | 0.0052 | | B__Teach_nature_2 | (omitted) | | B__Teach_gender_1 | 0.0052 | | B__course1_eco | 0.0357* | | B__course1_eng | 0.0314* | | B__course1_hin | 0.0170 | | B__course1_his | 0.0454** | | B__course1_mat | 0.0499*** | | B__course1_pol | (omitted) | | B__attendence_perc~t | 0.0002 | | _cons | -0.0477 | |----------------------+---------------| | var(_cons[g~SCS~r])| | | _cons | 0.0004*** | |----------------------+---------------| | var(e.Positive_di~01)| | | _cons | 0.0277*** | |----------------------+---------------| | Statistics | | | ll | 3721.2572 | | chi2 | 42.3196 | | p | 0.0119 | | aic | -7388.5143 | | bic | -7193.5905 | +--------------------------------------+ Legend: * p<.05; ** p<.01; *** p<.001 Level 1: 10091 units. Level 2: 150 units. Tests of the random effects assumption: _b[B__stud_SCSTOBC] = _b[W__stud_SCSTOBC]; p-value: 0.0061 _b[B__Teach_nature_1] = _b[W__Teach_nature_1]; p-value: 0.6677 _b[B__Teach_nature_2] = _b[W__Teach_nature_2]; p-value: . _b[B__Teach_gender_1] = _b[W__Teach_gender_1]; p-value: 0.9516 _b[B__course1_eco] = _b[W__course1_eco]; p-value: 0.2339 _b[B__course1_eng] = _b[W__course1_eng]; p-value: 0.2815 _b[B__course1_hin] = _b[W__course1_hin]; p-value: 0.1669 _b[B__course1_his] = _b[W__course1_his]; p-value: 0.2736 _b[B__course1_mat] = _b[W__course1_mat]; p-value: 0.1529 _b[B__course1_pol] = _b[W__course1_pol]; p-value: . _b[B__attendence_percent] = _b[W__attendence_percent]; p-value: 0.6808
ajay
Comment