Displaying 6 results from an estimated 6 matches for "1xk".
Did you mean:
16k
2011 May 02
1
Optimization - n dimension matrix
Dear all,
I am facing the following problem in optimization:
w = (d, o1, ..., op, m1, ..., mq) is a 1 + p + q vector
I want to determine:
w = argmin (a - d(w))' A (a - d(w))
where a is a 1xK marix, A is the covariance matrix of vector a, d(w) is a
1xK vector which parameters are functions of parameters d, o1 .. op, m1 ..
mq.
Is there some function to solve this problem easily? I know optim() and
ucminf() for one-dimensional optimization (I believe). Are there some tools
for such n-dim...
2003 Jul 14
2
Subsetting a matrix
...[1,] 1.44 1.56
[2,] 2.64 2.86
and now it does know how to behave. But it would save some bother (and
having to worry about this sort of thing in the midst of complex matrix
algebra) if matrix subsetting worked in a consistent way for all possible
subsets including cases which should result in 1xk or kx1 matrices
(where, by the way, we could have k=1 and get a 1x1 matrix).
Is there perhaps some global option which regulates this sort of
behaviour? Or is the underclass always with us?
With thanks,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Hardi...
2003 Jul 15
0
Multivariate regression method
...data on n cases with k variables observed).
### NB NB S,mu,x1 MUST be arrays (matrices): create with "drop=FALSE"
### or specify when entering arguments, e.g.
### MV.regn(S,mu,X[,1,drop=FALSE],1)
### Arguments: S is the covariance matrix of MV X
### mu is the ROW (1xk matrix) expectation(X)
### x1 is matrix: rows are conditioning values for selected
### columns of X (NB if a single column make sure it's
### a matrix).
### ... is an indexing vector or comma-list of numbers
### selecting the condi...
2005 Jul 08
1
help with ARIMA and predict
I'm trying to do the following out of sample
regression with autoregressive terms and additional x
variables:
y(t+1)=const+B(L)*y(t)+C(1)*x_1(t)...+C(K)*x_K(t)
where:
B(L) = lag polynom. for AR terms
C(1..K) = are the coeffs. on K exogenous variables
that have only 1 lag
Question 1:
-----------
Suppose I use arima to fit the model:
2006 Mar 06
7
is there a way to let R do smart matrix-vector operation?
Hi all,
I want to substract vector B from A's each column... how can R do that
smartly without a loop?
> A=matrix(c(2:7), 2, 3)
> A
[,1] [,2] [,3]
[1,] 2 4 6
[2,] 3 5 7
> B=matrix(c(1, 2), 2, 1)
> B
[,1]
[1,] 1
[2,] 2
> A-B
Error in A - B : non-conformable arrays
[[alternative HTML version deleted]]
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...n7MX*O*ctL#30b}fX|-iQZ_adHmBNWNi`toqPq1I({MV3g
zwfXY9Szdm#oozi1ZX4oiu9j;}8(#vWp`C4f%|68S5gXq&aHT$Yp$CO)6l&x10BilE
z&AGlBT#mTTcS))8E~$<0l3E8xZGH>;D at 70V$Z2%|x<T!gkG-TluxODHnXbf(d-89+
z2R_x2ZW}Oogi?46r`BUi!70i=MIxgJ4n3x1{um?s7?y=&it}>MyWlLC=ZaT`Q)#d4
z0OVE9$18t3A7hVKj$#a!1xk`9Ic1m1!JbbjW{E!3{oc@|D988K5<hPTqeZ1^&q1Y+
zb5MyEZSOg$$oFJ<oWZklXe9Lvj=Ur)Nx~HT3mj#xQS1Wc8V%%YZGJl?{<s3?n~XjV
zVQh at RnN>X*S9|<Aus!eVG;p<!xY}kb?QB<n-tyP8Jr0)NZYz<ac4h=VJZkq^6+RuB
zRG>$ThJy=KMC%Tl9Hi5x*$uOy><f$P8)kp3E9{j5e|w&vpmp$3d8-*y*CQHZ<ICdK
z>>...