I have a vector called longentryindex which might be (26, 45, 67 ). I then do pos1amt=currpos[longentryindex]/totalcaplong ( totalcaplong is a scalar ) Then I do : badindices=which((pos1amt) > maxsto
I have a vector that Has names So it might be AAA BBB AAA CCC BBB 3 4 3 2 4 so I want a function that returns as below ( just the unique names ). AAA BBB CCCC 3 4 2 also, if it has the same name it w
I have a vector of trues and falses Called longentryindex and I want to set some of them myself but I can’t find the syntax In any book and I have three of them. Would it be Longentryindex[3]_F
I have a data series where I want to model it is an arima(0,1,1) with a known/given MA parameter and all I want to do is estimate the variance of epsilon. Does anyone know if there is a way to do thi