I have a double sort portfolio results based on two variables (X and Y). I would like to calculate the T-statistics for High minus Low. Could someone advise about the STATA code for the same.
Example outcome:
Y
X 1 2 3 4 5
1 -.0069496 .0022427 .0040744 .0006564 .0034743
-1.693177 .8017391 1.76241 .363766 2.444734
2 -.0171231 .0027472 .0059278 .0006854 .0053287
-5.057954 1.016869 2.73813 .3713817 5.611485
3 -.0123718 .0058199 .0030675 .0046636 .0056471
-3.770385 2.184333 1.406873 2.537606 6.325758
4 -.0068574 .0064053 .011341 .0113131 .0082394
-2.374479 2.499869 3.92472 6.594771 9.409631
5 .0062524 .023058 .0211118 .0165841 .0120064
2.384699 9.67393 12.38694 12.61789 12.69396
Related Posts with Calculation of the "T" statistic for High minus (-) Low double sort portfolio
Difference in differences with PPML and Log-OLS reveal substantially different resultsDear Statalisters, I have differences-in-differences setting where I have multiple treatments that o…
Announcing power tworates_zhu: Stata module to calculate sample size or power for a two-sample test of rates (negative binomial regression)Dear Statalisters, I have just posted my program -power tworates_zhu- on SSC. It implements the equ…
GLM for grouped/ blocked population standardized binary data.Sorry for imposing further but I could really use some help. Let me explain more. I have data on in…
Name confusion: Heckman or HeckitHello everyone, Regarding the Heckman two-step selection model for sample selection problem, Wooldri…
correct to use*svy brr syntax with bootstrap weights and svy bootstrap syntax with brr weights?*Dear Statalisters, Is it correct to use the svy brr syntax with bootstrap weights and svy bootstrap…
Subscribe to:
Post Comments (Atom)
0 Response to Calculation of the "T" statistic for High minus (-) Low double sort portfolio
Post a Comment