Hi everybody,
I'm using Stata14 and are working on biomarkers (logLeptin) that can predict the outcome GDM_group (0/1). It seems to be a significan interaction between logLeptin and bmi: se the following
I'm just in doubt whether the interaction is linier. How do I visually inspect the interaction?
Regards Ida
I'm using Stata14 and are working on biomarkers (logLeptin) that can predict the outcome GDM_group (0/1). It seems to be a significan interaction between logLeptin and bmi: se the following
Code:
. logit GDM_group c.logLeptin##c.bmi i.Rygning1 Moderens_alder Paritet3 Etnicitet_group H_jdecm Iteration 0: log likelihood = -445.72321 Iteration 1: log likelihood = -406.28578 Iteration 2: log likelihood = -392.54287 Iteration 3: log likelihood = -392.01395 Iteration 4: log likelihood = -392.00983 Iteration 5: log likelihood = -392.00983 Logistic regression Number of obs = 2,590 LR chi2(8) = 107.43 Prob > chi2 = 0.0000 Log likelihood = -392.00983 Pseudo R2 = 0.1205 ----------------------------------------------------------------------------------- GDM_group | Coef. Std. Err. z P>|z| [95% Conf. Interval] ------------------+---------------------------------------------------------------- logLeptin | 3.706393 .9813917 3.78 0.000 1.782901 5.629886 bmi | 1.292402 .3026315 4.27 0.000 .6992556 1.885549 | c.logLeptin#c.bmi | -.114701 .0294434 -3.90 0.000 -.172409 -.056993 | Rygning1 | rygere | -.0437373 .2633501 -0.17 0.868 -.559894 .4724194 Moderens_alder | .0707637 .0207224 3.41 0.001 .0301485 .1113789 Paritet3 | -.3005723 .1178892 -2.55 0.011 -.5316309 -.0695136 Etnicitet_group | .1521907 .4433702 0.34 0.731 -.7167988 1.02118 H_jdecm | -.0388302 .0164453 -2.36 0.018 -.0710624 -.0065981 _cons | -39.67156 10.44042 -3.80 0.000 -60.13441 -19.20872 -----------------------------------------------------------------------------------
Regards Ida
Comment