search for: betas2

Displaying 3 results from an estimated 3 matches for "betas2".

Did you mean: beta2
2013 Mar 07
2
iterative extracting data from a list without keys
Dear R Users. This seems like a simple task, but I'm stuck. I have a list with 3 elements: (2 vectors and 1 matrix). I wish to extract each of these data elements using index subscripts and multiply them with a vector multiplier. What I have: > betas [1] 0.01 0.01 0.01 > LData[1] $int [1] 1 1 1 1 1 1 1 1 1 1 $date [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,]
2012 Jul 19
1
Change log(J) to log(J+1) to stop log(0) from occurring in harModel
...= colnames(x$model$x); if(!is.null(x$transform)){ modelnames = paste(x$transform,"(",modelnames,")",sep=""); } #Added visual tingie for plotting transformed RV betas = paste("beta",(1:length(modelnames)),"",sep="") betas2 = paste(" + ",betas,"*") rightside = paste(betas2, modelnames,collapse=""); h = x$h; left = paste("RV",h,sep=""); if(!is.null(x$transform)){ left = paste(x$transform,"(",left,")",sep="" ) } modeldes...
2012 Jul 19
1
Switching log(J) to log(J+1) to avoid log(0) in HAR-RVJ model
...mes = colnames(x$model$x); if(!is.null(x$transform)){ modelnames = paste(x$transform,"(",modelnames,")",sep=""); } #Added visual tingie for plotting transformed RV betas = paste("beta",(1:length(modelnames)),"",sep="") betas2 = paste(" + ",betas,"*") rightside = paste(betas2, modelnames,collapse=""); h = x$h; left = paste("RV",h,sep=""); if(!is.null(x$transform)){ left = paste(x$transform,"(",left,")",sep="" ) } modeldescript...