search for: real2

Displaying 9 results from an estimated 9 matches for "real2".

Did you mean: real
2017 Jun 06
2
Plot MArginal distribution in the correct place
...(g) r<-as.numeric(as.character(g$LAST[ghy])) nf<-layout(matrix(c(1,1,1,1,2,2),1,6,byrow=TRUE)) par(mar=c(6,6,6,0.5)) A<-matrix(1:B,B,N); sigma<-0.06; mu<-0.00; Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( rnorm(N*B,0,1), B, N)) real1<-g$LAST[1:nrow(g)] real2<-matrix(NA,nrow(g),N-1) real<-cbind(real1,real2) Po<-r*matrix(1,1,N); Sim<-rbind(Po,Z) Simulation<-rbind(real,Z) par(mar=c(10,6,6,6)) matplot(Simulation,type="l",ylim=c(0,40000)) abline(h = 8000, lwd = 2, col = "black") abline(h = 12000, lwd = 2, c...
2017 Jun 07
2
Plot MArginal distribution in the correct place
...atrix(1:B,B,N); >> >> >> >> sigma<-0.06; >> >> >> >> mu<-0.00; >> >> >> Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( rnorm(N*B,0,1), >> B, N)) >> >> real1<-g$LAST[1:nrow(g)] >> >> real2<-matrix(NA,nrow(g),N-1) >> >> real<-cbind(real1,real2) >> >> >> >> >> Po<-r*matrix(1,1,N); >> >> >> >> Sim<-rbind(Po,Z) >> Simulation<-rbind(real,Z) >> >> >> >> >> >> >>...
2017 Jun 07
0
Plot MArginal distribution in the correct place
...6,byrow=TRUE)) > > par(mar=c(6,6,6,0.5)) > > A<-matrix(1:B,B,N); > > > > sigma<-0.06; > > > > mu<-0.00; > > > Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( rnorm(N*B,0,1), > B, N)) > > real1<-g$LAST[1:nrow(g)] > > real2<-matrix(NA,nrow(g),N-1) > > real<-cbind(real1,real2) > > > > > Po<-r*matrix(1,1,N); > > > > Sim<-rbind(Po,Z) > Simulation<-rbind(real,Z) > > > > > > > par(mar=c(10,6,6,6)) > matplot(Simulation,type="l",ylim=c(0,400...
2017 Jun 08
0
Plot MArginal distribution in the correct place
...atrix(1:B,B,N); >> >> >> >> sigma<-0.06; >> >> >> >> mu<-0.00; >> >> >> Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( rnorm(N*B,0,1), >> B, N)) >> >> real1<-g$LAST[1:nrow(g)] >> >> real2<-matrix(NA,nrow(g),N-1) >> >> real<-cbind(real1,real2) >> >> >> >> >> Po<-r*matrix(1,1,N); >> >> >> >> Sim<-rbind(Po,Z) >> Simulation<-rbind(real,Z) >> >> >> >> >> >> >>...
2017 Jun 14
2
Plot MArginal distribution in the correct place
...6; > >> > >> > >> > >> mu<-0.00; > >> > >> > >> Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( > rnorm(N*B,0,1), > >> B, N)) > >> > >> real1<-g$LAST[1:nrow(g)] > >> > >> real2<-matrix(NA,nrow(g),N-1) > >> > >> real<-cbind(real1,real2) > >> > >> > >> > >> > >> Po<-r*matrix(1,1,N); > >> > >> > >> > >> Sim<-rbind(Po,Z) > >> Simulation<-rbind(real,Z) &gt...
2017 Jun 14
0
Plot MArginal distribution in the correct place
...> >> mu<-0.00; >> >> >> >> >> >> Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( >> >> rnorm(N*B,0,1), >> >> B, N)) >> >> >> >> real1<-g$LAST[1:nrow(g)] >> >> >> >> real2<-matrix(NA,nrow(g),N-1) >> >> >> >> real<-cbind(real1,real2) >> >> >> >> >> >> >> >> >> >> Po<-r*matrix(1,1,N); >> >> >> >> >> >> >> >> Sim<-rbind(Po,Z) &g...
2006 May 02
1
Force action in package install?
I'd like to substitute the Subversion revision number for a string in a package man page every time the package is installed or built. I can assume it is being installed or built from a Subversion working copy. I tried putting a target that depends on FORCE into Makefile or Makevars in the src directory, but it is not being built. What sort of make magic do I need, and where do I put it
2017 Jun 17
1
Plot MArginal distribution in the correct place
...> > >> >> > >> >> Z<-r*exp((mu-0.5*((sigma)^2)*A) +sigma*(sqrt(A))*matrix( > >> >> rnorm(N*B,0,1), > >> >> B, N)) > >> >> > >> >> real1<-g$LAST[1:nrow(g)] > >> >> > >> >> real2<-matrix(NA,nrow(g),N-1) > >> >> > >> >> real<-cbind(real1,real2) > >> >> > >> >> > >> >> > >> >> > >> >> Po<-r*matrix(1,1,N); > >> >> > >> >> > >>...
2001 Dec 13
2
inconsistency between gamma and choose functions
Please can someone explain why I seem to get these contradictory results? choose(5,2) [1] 10 gamma(6)/(gamma(3)*gamma(4)) [1] 10 gamma(6)/(gamma(3)*gamma(4)) == choose(5,2) [1] TRUE # all's well so far. # now look what happens: gamma(21)/(gamma(6)*gamma(16)) == choose(20,5) [1] FALSE # check individual terms: gamma(21)/(gamma(6)*gamma(16)) [1] 15504 choose(20,5) [1] 15504 # so they are the