search for: cfrontr

Displaying 1 result from an estimated 1 matches for "cfrontr".

Did you mean: cfront
2008 Sep 19
0
panel data analysis possible with mle2 (bbmle)?
...cc1,cc2,cc3,alstar,beta1){ x<-matrix(0,years*cross,3) x[,1] <- 1 x[,2] <- ra x[,3] <- sa coeffs <- vector(length=3) coeffs[1] <- c1 coeffs[2] <- c2 coeffs[3] <- c3 csp <- rep(c(cs1,cs2,cs3),each=years) e1 <- (x %*% coeffs);frfact <- csp*plogis(e1);cfrontr <- frfact*frontr; cfrontr1 <- cfrontr;dim(cfrontr1) <- c(years,cross) cfgwth[2:years,] <- (cfrontr1[2:years,]/cfrontr1[1:(years-1),])-1 x<-matrix(1,years*cross,3) x[,1] <- 1 x[,2] <- sa x[,3] <- ta coeffs <- vector(length=3) coeffs[1] <- cc1 coeffs[2] &...