Displaying 3 results from an estimated 3 matches for "bantex".
Did you mean:
banter
2012 Aug 17
5
specific matrix element tranformation
Hi guys,
I am trying to write a function that allows me to perform specific
transformations to each element of
a 2 by 2 matrix to generate a 3 by 3 matrix.
Input into function-2 by 2 matrix
Output from function -3 by 3 matrix
For example:
# a is my original 2 by 2 matrix
#b is my new 3 by 3 matrix
set.seed(2)
a=matrix(rnorm(4),ncol=2)
#let's say these are the transformations i wish to
2012 Aug 16
4
Column Extraction from matrix
Hi all,
I have a 4 by 100 matrix. I wish to extract each column and make it into a 2
by 2 matrix.
I also want to assign names for each 2X2 matrix.
For example
set.seed(2)
a=matrix(rnorm(400),ncol=100)
a1=matrix(a[,1],ncol=2)
a2=matrix(a[,2],ncol=2)
.
.
.
a100=matrix(a[,100],ncol=2)
Any simple ideas. Thanks.
B
--
View this message in context:
2012 May 25
1
Rolling Sample VAR
hi guys,
I am using trivariate VAR model to get 10 step ahead orthogonalized impulse
response functions. I want to use rolling sample analysis on the
coefficients of the irf but I have no idea how to do that. I looked through
the forums but I can't seem to find any solutions.
Any suggestions would be helpful.
B
--
View this message in context: