Hello,
I am trying to extract the p-value of an independent variable after an ologit. It seems like independent variable-specific results from ologit are not stored (like for anova), but I would just like to double-check this with someone who is more skilled in Stata than I am.
For demonstration, here are the first 20 lines of my data (removed decimals), with the ologit:
I want to extract the p-value for the iv1 x iv2 interaction (which is 0.911) in a scalar to be used for another purpose.
Is this possible, and if yes, how?
Thanks so much!
I am trying to extract the p-value of an independent variable after an ologit. It seems like independent variable-specific results from ologit are not stored (like for anova), but I would just like to double-check this with someone who is more skilled in Stata than I am.
For demonstration, here are the first 20 lines of my data (removed decimals), with the ologit:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(dv iv1 iv2) 23 6 27 21 7 40 20 6 55 20 6 64 21 7 44 22 7 24 18 7 57 24 7 41 22 7 30 21 6 29 18 7 32 22 5 39 24 7 37 19 6 29 22 7 28 21 6 52 23 6 58 23 7 58 19 6 68 23 7 30 end ologit dv c.iv1##c.iv2
Is this possible, and if yes, how?
Thanks so much!
Comment