My dataset resembles the following:
-------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(Tenure coeff SE sd1 sd2) 1 .01185333 .014982017 .036498748 -.012792088 2 .02034492 .01454575 .04427268 -.0035828366 3 .026692316 .014293045 .05020437 .003180257 4 .022716416 .014294524 .04623091 -.0007980755 5 .03071728 .014210673 .05409384 .007340723 6 .02407132 .014318235 .04762482 .0005178258 7 .031947885 .014307658 .05548398 .008411787 8 .02374819 .0143311 .04732284 .00017353008 9 .018849766 .014126065 .04208714 -.0043876115 10 .0080808895 .013960551 .031046 -.014884218 11 .02422089 .01408004 .04738256 .0010592199 12 .0243867 .014099588 .04758052 .0011928785 13 .013657724 .01423522 .03707466 -.009759213 14 .023684265 .014322372 .04724457 .0001239629 15 .022393296 .014233962 .04580816 -.0010215715 16 .010203806 .014102804 .03340292 -.012995307 17 .00934367 .013957945 .032304488 -.01361715 18 .01997482 .01385677 .0427692 -.002819562 19 .025173174 .013911167 .04805705 .0022893043 20 .037129 .014042 .06022809 .014029908 21 .02818916 .014204165 .05155501 .004823307 22 .04001174 .014152366 .063292384 .016731104 23 .04238619 .01392894 .065299295 .01947308 24 .04737812 .013922418 .07028049 .02447574 25 .04640852 .013820228 .06914279 .02367424 26 .04186518 .013737043 .064462624 .01926775 27 .02870964 .013774252 .05136828 .006050996 28 .022200914 .013719743 .04476989 -.0003680633 29 .03602944 .013828817 .05877784 .013281036 30 .0531764 .013931037 .07609296 .030259844 31 .03328269 .01398458 .05628732 .010278058 32 .033987395 .013968048 .05696483 .011009957 33 .03119483 .014090137 .05437311 .008016557 34 .04131232 .014253424 .0647592 .017865434 35 .02684195 .01439399 .05052006 .003163833 36 .04992348 .015014912 .074623 .02522395 37 .034997456 .015519886 .06052767 .009467243 38 .03380884 .016132636 .06034702 .007270652 39 .016569247 .01637985 .0435141 -.010375606 40 .03501362 .01705229 .063064635 .006962604 end
My current code is:
Code:
twoway (rcap sd1 sd2 exp) (line coeff exp) , yline(0)
CS
0 Response to Shifting all the points down in a graph, to include main effect for interaction terms
Post a Comment