search for: nbrefoissim

Displaying 4 results from an estimated 4 matches for "nbrefoissim".

2020 Oct 09
1
Aide pour finaliser ce code
...s n?gatives sont remplac?es par zero a=eigen(M,TRUE) b=a$values b[b<0]=0 c=a$vectors d=diag(sqrt(b)) b=solve(c) a=c%*%d%*%b return(a) } # d?claration des parametres m1=0.01 # valeur de alpha (risque de 1%) m2=0.05 # valeur de alpha (risque de 5%) m3=0.1 # valeur de alpha (risque de 10%) nbrefoissim=100 # nbrefois que le programme tourne p=2 #dimension de la variable X q=3 #dimension de la variable Y R=c(2,3,2);# Nbre de partition de chaque composante de la variable Y if(length(R) != q) stop("La taille de R doit ?tre ?gale ? q") n=25 # Taille echantillon N=c(25,50,100,200,300,400,500...
2020 Oct 10
3
Please need help to finalize my code
...ues are replaced by zero 14 a=eigen(M,TRUE) 15 b=a$values 16 b[b<0]=0 17 c=a$vectors 18 d=diag(sqrt(b)) 19 b=solve(c) 20 a=c%*%d%*%b 21 return(a) 22 } 23 # declaration of parameters 24 m1=0.01 # alpha value (1% risk) 25 m2=0.05 # alpha value (5% risk) 26 m3=0.1 # alpha value (10% risk) 27 nbrefoissim=100 # # times the program is running 28 p=3 #dimension of variable X 29 q=3 #dimension of variable Y 30 R=c(5,4,3);# Number of partition of each component of variable Y 31 if(length(R) != q) stop("The size of R must be equal to q") 32 n=25 # Sample size 33 N=c(25,50,100,200,300,400,500,10...
2020 Oct 13
1
Please need help to finalize my code
...[b<0]=0 > 17 c=a$vectors > 18 d=diag(sqrt(b)) > 19 b=solve(c) > 20 a=c%*%d%*%b > 21 return(a) > 22 } > > > 23 # declaration of parameters > 24 m1=0.01 # alpha value (1% risk) > 25 m2=0.05 # alpha value (5% risk) > 26 m3=0.1 # alpha value (10% risk) > 27 nbrefoissim=100 # # times the program is running > 28 p=3 #dimension of variable X > 29 q=3 #dimension of variable Y > 30 R=c(5,4,3);# Number of partition of each component of variable Y > 31 if(length(R) != q) stop("The size of R must be equal to q") > 32 n=25 # Sample size > 33 N=...
2020 Oct 13
0
Please need help to finalize my code
...)) > > 19 b=solve(c) > > 20 a=c%*%d%*%b > > 21 return(a) > > 22 } > > > > > > 23 # declaration of parameters > > 24 m1=0.01 # alpha value (1% risk) > > 25 m2=0.05 # alpha value (5% risk) > > 26 m3=0.1 # alpha value (10% risk) > > 27 nbrefoissim=100 # # times the program is running > > 28 p=3 #dimension of variable X > > 29 q=3 #dimension of variable Y > > 30 R=c(5,4,3);# Number of partition of each component of variable Y > > 31 if(length(R) != q) stop("The size of R must be equal to q") > > 32 n=25...