search for: mu_d

Displaying 7 results from an estimated 7 matches for "mu_d".

Did you mean: mu_
2011 Oct 24
3
Create a matrix with increment and element with zero subscript
Hello, Does anyone knows how to deal with zero subscript in R. I have this code: for (i in 1:nitems){ + for (j in 1:ncat-1) { + draw<-matrix(rnorm(nitems*(ncat-1),seed1,seed2),nitems,(ncat-1)) + d<-( sigma_d*draw ) + mu_d + draw<-matrix(rtnorm((nitems*(ncat-1)),mean = seed1, sd = seed2, lower = .1, upper = 1.5),nitems,(ncat-1)) + d<-(sigma_d*draw) + mu_d + write.matrix(cbind(b.i0,d), file = "F:/KU/MIRT group/MIMIC-DIF/R/cpprcode/b0d.dat", sep = " ") +...
2017 Nov 21
2
Do I need to transform backtest returns before using pbo (probability of backtest overfitting) package functions?
...That means that the other argument to this function, x, should be DAILY returns, expressed in decimal. Suppose he wanted to create random data from a distribution of returns with ANNUAL mean MU_A and ANNUAL std deviation SIGMA_A, both stated in decimal. The equivalent DAILY returns would have mean MU_D = MU_A / 252 and standard deviation SIGMA_D = SIGMA_A/SQRT(252). He calls MU_D by the name mu_base and SIGMA_D by the name sigma_base. His loop now converts the random numbers in his matrix so that each column has mean MU_D and std deviation SIGMA_D. HTH, Eric On Tue, Nov 21, 2017 at 2:33...
2017 Nov 21
0
Do I need to transform backtest returns before using pbo (probability of backtest overfitting) package functions?
...ument to this function, x, should be DAILY > returns, expressed in decimal. > > Suppose he wanted to create random data from a distribution of returns > with ANNUAL mean MU_A and ANNUAL std deviation SIGMA_A, both stated in > decimal. > The equivalent DAILY returns would have mean MU_D = MU_A / 252 and > standard deviation SIGMA_D = SIGMA_A/SQRT(252). > > He calls MU_D by the name mu_base and SIGMA_D by the name sigma_base. > > His loop now converts the random numbers in his matrix so that each column > has mean MU_D and std deviation SIGMA_D. > > HTH,...
2017 Nov 21
1
Do I need to transform backtest returns before using pbo (probability of backtest overfitting) package functions?
...gument to this function, x, should be DAILY returns, expressed in decimal. >> >> Suppose he wanted to create random data from a distribution of returns with ANNUAL mean MU_A and ANNUAL std deviation SIGMA_A, both stated in decimal. >> The equivalent DAILY returns would have mean MU_D = MU_A / 252 and standard deviation SIGMA_D = SIGMA_A/SQRT(252). >> >> He calls MU_D by the name mu_base and SIGMA_D by the name sigma_base. >> >> His loop now converts the random numbers in his matrix so that each column has mean MU_D and std deviation SIGMA_D. >&gt...
2003 Mar 06
2
anova subhypotheses
Hello all, A really noddy question for you all: I''m trying without success to do some subhypothesis testing. Using simple anova model, with a toy dataset from a book. I have four factors A,B,C,D, and wish to test mu_C = mu_D. This is what I have tried: > contrasts(infants$group,how.many=1) <- c(0,0,1,-1) > contrasts(infants$group) [,1] A 0 B 0 C 1 D -1 > fit <- aov(age~group,data=infants) > summary(fit) Df Sum Sq Mean Sq F value Pr(>F) group 1 0.740...
2017 Nov 21
0
Do I need to transform backtest returns before using pbo (probability of backtest overfitting) package functions?
Hi Joe, The centering and re-scaling is done for the purposes of his example, and also to be consistent with his definition of the sharpe function. In particular, note that the sharpe function has the rf (riskfree) parameter with a default value of .03/252 i.e. an ANNUAL 3% rate converted to a DAILY rate, expressed in decimal. That means that the other argument to this function, x, should be DAILY
2017 Nov 21
2
Do I need to transform backtest returns before using pbo (probability of backtest overfitting) package functions?
Wrong list. Post on r-sig-finance instead. Cheers, Bert On Nov 20, 2017 11:25 PM, "Joe O" <joerodonnell at gmail.com> wrote: Hello, I'm trying to understand how to use the pbo package by looking at a vignette. I'm curious about a part of the vignette that creates simulated returns data. The package author transforms his simulated returns in a way that I'm