Dear all,
I'm required to do a skewness adjusted t-test on stock return data. I have daily log returns for 952 firms over a period of 488 trading days.
The skewness is -1.75 found using:
I installed the skewt package, which gave me the outcome:
but I'm unsure on how to proceed.
Normally I would have calculated the ttest using:
Which gives me the mean, st error, st dev, t-stat, and probability, as shown below.
I hope someone can help me with the next step after the skewt test.
Edit:
If I run:
(Basically copying the example in the help file)
I get:
But I'm not sure how to interpret this.
I'm required to do a skewness adjusted t-test on stock return data. I have daily log returns for 952 firms over a period of 488 trading days.
The skewness is -1.75 found using:
Code:
sum r, detail
Code:
. skewt tbhar
(463,624 observations deleted)
tbhar- stats from the sample
N coefficient = 30.85449724108302
S-coefficient = -.0645222099403743
G-coefficient = -.4476181276901068
Sample mean = -.0069934897938696
Normally I would have calculated the ttest using:
Code:
ttest tbhar==0
Code:
ttest tbhar==0
One-sample t test
Variable Obs Mean Std. Err. Std. Dev. [95% Conf. Interval]
tbhar 952 -.0069935 .0035129 .1083889 -.0138874 -.0000996
mean = mean(tbhar) t = -1.9908
Ho: mean = 0 degrees of freedom = 951
Ha: mean < 0 Ha: mean != 0 Ha: mean > 0
Pr(T < t) = 0.0234 Pr(T > t) = 0.0468 Pr(T > t) = 0.9766
Edit:
If I run:
Code:
hallt tbhar, bs reps(100) size(2) saving ("X:\My Documents\final bs.dta")
I get:
Code:
. hallt tbhar, bs reps(100) size(2) saving ("X:\My Documents\final bs.dta")
(463,624 observations deleted)
tbhar- stats from the sample
N coefficient = 30.85449724108302
S-coefficient = -.0645222099403743
G-coefficient = -.4476181276901068
Sample mean = -.0069934897938696
(running hallt on estimation sample)
Warning: Because hallt is not an estimation command or does not set e(sample),
bootstrap has no way to determine which observations are used in
calculating the statistics and so assumes that all observations are
used. This means that no observations will be excluded from the
resampling because of missing values or other reasons.
If the assumption is not true, press Break, save the data, and drop
the observations that are to be excluded. Be sure that the dataset in
memory contains only the relevant data.
Bootstrap replications (100)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
.................................................. 50
.................................................. 100
Bootstrap results Number of obs = 952
Replications = 100
command: hallt tbhar
_bs_1: r(ratio_tbhar)
------------------------------------------------------------------------------
| Observed Bootstrap Normal-based
| Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_bs_1 | -2.012445 1.042519 -1.93 0.054 -4.055744 .0308536
------------------------------------------------------------------------------
.

Comment