"tobit expshare_wine_on log_price_wine_on log_price_beer_on log_price_wine_off log_price_beer_off log_price_spirits_on log_price_spirits_off logincome socio_group gor_recode year sexhrp , ll(0)" it just keeps giving interaction terms for ages and i have quit the stata at the point where its on interaction term 11,000. Please can someone explain why this is happening
2) how would i then compute the price elasticises from the regression, I believe i have to use the -margins- command in some way but i'm not sure how to do this. Thank you
dataex expshare_wine_on log_price_wine_on log_price_beer_on log_price_wine_off log_price_beer_off log_price_spirits_on log_price_spirits_off logincome socio_group gor_recode year sexhrp
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(expshare_wine_on log_price_wine_on log_price_beer_on log_price_wine_off log_price_beer_off log_price_spirits_on log_price_spirits_off logincome) byte(socio_group gor_recode) int year byte sexhrp 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.422159 1 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.40044 6 3 2012 1 .005604915 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 7.459103 1 2 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.775366 1 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.113805 6 3 2012 2 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.569739 6 2 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 5.533982 6 4 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.579028 1 4 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.593606 3 3 2012 2 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.272487 4 2 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.609026 1 3 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.938198 3 2 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.337308 2 3 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.146323 2 4 2012 1 .006608747 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 5.750647 1 4 2012 1 0 .8500163 .20396078 -.6927273 -.7742054 .9169105 -.7325327 7.203275 1 5 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.494836 3 4 2012 2 .013427625 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.484792 1 2 2012 1 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 6.522772 6 6 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.285625 1 4 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.278839 6 2 2012 2 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 5.735572 6 6 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.332039 6 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.243429 1 3 2012 2 .04080451 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.020963 6 3 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.001791 1 4 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 4.970105 6 2 2012 2 .05318476 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.24026 6 3 2012 2 .004725324 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.525675 1 4 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.715316 1 3 2012 2 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.292069 6 2 2012 1 .0021395173 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.579028 2 3 2012 1 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 5.805894 1 6 2012 1 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 6.336164 6 6 2012 2 .005811018 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.59858 6 2 2012 1 .01420468 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.579028 2 3 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.272558 6 2 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 5.287823 6 4 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.228738 1 4 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.229595 3 3 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.007731 6 4 2012 2 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 5.877369 6 6 2012 1 .0041208593 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.54662 2 3 2012 2 .0124029 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.966916 1 3 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.911763 3 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.145001 3 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.579028 1 3 2012 1 .006529902 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.862258 1 4 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.800377 6 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.824134 1 4 2012 1 0 .8449064 .1988509 -.6976373 -.7793153 .9118007 -.7376425 6.789703 4 7 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.928361 2 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.399566 6 4 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.500343 3 2 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 4.4601445 1 2 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.617764 3 3 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.679811 6 2 2012 1 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.867948 6 4 2012 1 .05028144 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 6.313678 3 6 2012 2 0 .8449064 .1988509 -.6976373 -.7793153 .9118007 -.7376425 6.596409 1 7 2012 2 .017830186 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.492455 1 4 2012 1 0 .8731912 .22713557 -.6693525 -.7510306 .9400854 -.7093579 6.114235 3 6 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.092607 6 2 2012 1 0 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 6.205401 3 1 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.580847 3 2 2012 1 0 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 4.314417 1 1 2012 1 .016797012 .8500163 .20396078 -.6927273 -.7742054 .9169105 -.7325327 6.386812 1 5 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.972129 3 3 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.175955 6 3 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.530817 6 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.25011 1 4 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.958502 6 3 2012 1 .02511486 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.579028 1 4 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.898997 1 2 2012 2 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.885359 6 2 2012 2 0 .8500163 .20396078 -.6927273 -.7742054 .9169105 -.7325327 6.709394 6 5 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.036965 6 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 6.327079 1 4 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 4.998036 6 3 2012 1 0 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 6.697083 3 1 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.011914 6 3 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.158079 1 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.176102 1 4 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.896472 6 3 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.951744 2 3 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 5.197281 3 2 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 7.545757 2 3 2012 1 0 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 5.673536 6 1 2012 2 .01174157 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 6.977282 1 1 2012 2 0 .9387252 .29266962 -.6038184 -.6854964 1.0056194 -.6438238 6.517243 6 1 2012 1 .007315162 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.570533 1 2 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.649363 6 2 2012 2 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.787118 1 2 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.313854 6 4 2012 1 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 6.104423 6 3 2012 2 0 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 5.72316 6 4 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.897319 3 3 2012 2 0 .8621745 .21611896 -.6803692 -.7620472 .9290687 -.7203745 5.243925 6 3 2012 2 .0021459134 .8885115 .24245583 -.6540322 -.7357103 .9554057 -.6940376 7.579028 2 4 2012 1 0 .8530697 .2070142 -.6894739 -.771152 .919964 -.7294793 6.524854 1 2 2012 1 end label values sexhrp SexHRP label def SexHRP 1 "Male", modify label def SexHRP 2 "Female", modify
0 Response to Tobit regression will not work
Post a Comment