GRS.T | R Documentation |
Given the desired level of Type I and II error probabilities, the function returns the sample size required.
GRS.T(N, K, theta, ratio, alpha, beta, Tmax = 10000)
N |
the number of portfolio returns |
K |
the number of risk factors |
theta |
maximum Sharpe ratio of the K factor portfolios |
ratio |
theta/thetas, proportion of the potential efficiency |
alpha |
the desried level of significance, or Type I error probability |
beta |
the desried level of Type II error probability |
Tmax |
the maximum number of sample size, default is 10000 |
the desired level of power = 1 - beta
Required.T |
required sample size |
Critical.value |
the corresponding critical value |
Critical.value is from the F-distribution with df1=N and df2=Required.T-N-K degrees of freedom, at the alpha level of significance.
Jae H. Kim
Gibbons, Ross, Shanken, 1989. A test of the efficiency of a given portfolio, Econometrica, 57,1121-1152. <DOI:10.2307/1913625>
Kim and Shamsuddin, 2017, Empirical Validity of Asset-pricing Models: Application of Optimal Significance Level and Equal Probability Test
GRS.T(N=25,K=3,theta=0.25,ratio=0.4,alpha=0.05, beta=0.05, Tmax=5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.