Hello Forum,
I am trying to do univariate analysis using pooled regression model something similar to the picture I attached below. My dependent variable is CAR_3day and my independent variable is MaleDirectors>mean for PanelA and Related which is a dummy variable for PanelB. I have tried using
. If i used the above code the regression it gives constant is that my univariate analysis ? If its wrong can you correct me with regards to it and i am attaching my dataset. I would also like to create table something similar to the picture giving PanelA , PanelB and find mean difference pvalues too and want to extract it to docx.
Thank You.
I am trying to do univariate analysis using pooled regression model something similar to the picture I attached below. My dependent variable is CAR_3day and my independent variable is MaleDirectors>mean for PanelA and Related which is a dummy variable for PanelB. I have tried using
Code:
bysort related: regress CAR_3day
Thank You.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float CAR_3day double MaleDirectors float(related CashDummy StockDummy) -.0315837 88.89 0 1 0 -.0395705 71.43 0 1 0 .0299039 75 0 1 0 .0044030994 88.89 0 1 0 -.0044768997 76.92 0 1 0 .0568158 69.23 0 1 0 .032804 81.82 0 1 0 .0074759 84.62 0 1 0 -.0370614 75 0 1 0 -.0094126 66.67 0 1 0 -.0291507 87.5 0 1 0 -.0429876 85.71000000000001 0 1 0 -.0283563 72.73 0 0 0 .0051895 92.31 0 0 0 .006335799 77.78 0 1 0 .0816481 80 0 1 0 -.021326 80 0 1 0 -.167867 100 0 1 0 -.0053034 83.33 0 1 0 -.0164385 66.67 0 1 0 -.008573 77.78 0 1 0 -.0364541 100 0 1 0 .003505301 66.67 0 1 0 -.005914497 81.82 0 0 1 -.0091995 90 0 1 0 -.0324181 85.71000000000001 0 1 0 -.0152041 76.92 0 0 1 .0276691 90.91 0 1 0 -.0069552 70 0 1 0 .0034593004 72.73 0 1 0 .0559394 77.78 0 1 0 -.043221 72.73 0 1 0 .0324173 100 0 1 0 -.0194387 100 0 1 0 .0178035 80 0 1 0 -.0303852 81.82 0 1 0 -.0244759 100 0 1 0 .007150301 90.91 0 1 0 .0073977 77.78 0 1 0 -.00679 80 0 1 0 .091206 85.71000000000001 0 1 0 -.0089546 84.62 0 1 0 -.0098249 88.89 0 1 0 -.0989406 83.33 0 1 0 -.1629119 100 0 0 1 .0150797 66.67 0 1 0 -.011819702 80 0 0 1 .0143336 77.78 0 1 0 .0384517 84.62 0 1 0 .0394686 80 0 1 0 .0141193 100 0 1 0 .0341748 100 0 1 0 -.0001912997 88.89 0 1 0 -.018030599 80 0 1 0 .013324 86.67 0 1 0 -.008438899 72.73 0 1 1 .0013928006 72.73 0 1 0 -.0049285 90 0 1 0 -.0327929 80 0 1 0 -.023208 100 0 1 0 .0475001 90 0 1 0 .012225 66.67 0 1 0 -.0891569 77.78 0 1 0 -.0320848 77.78 0 1 0 -.2909848 100 0 1 0 .0112843 81.82 0 1 0 -.0285692 77.78 0 1 0 -.0032485 92.31 0 1 0 .0196747 100 0 1 0 -.002373899 84.62 0 1 0 .011080801 72.73 0 1 0 -.0164854 75 0 1 0 .0567969 75 0 1 0 .004811801 80 0 1 0 .018044401 90 0 1 0 -.0612219 90 0 1 0 -.0363363 88.89 0 1 0 .0013105 88.89 0 1 0 -.0568346 91.67 0 0 1 -.5150018 87.5 0 1 0 .0093399 77.78 0 1 0 .0245295 88.89 0 1 0 -.0370614 66.67 0 1 0 .0495915 100 0 1 0 .005221901 90.91 0 1 0 .0014973993 80 0 1 0 -.0147392 85.71000000000001 0 1 0 -.003854999 76.92 0 1 0 .0381652 88.89 0 1 0 -.0272093 77.78 0 1 0 .0241893 83.33 0 1 0 .008206599 90 0 1 0 -.0527029 45.45 0 1 0 -.0651084 80 0 1 0 -.002526799 66.67 0 1 0 -.007646501 80 0 1 0 -.142865 100 0 1 0 .0294387 70 0 1 0 -.024015 80 0 1 0 .011871 83.33 0 1 0 end
Comment