Prev: how to filter observations
Next: HELP: Somers' D
From: Church on 23 Mar 2010 04:29 Hi, I have seen a lot of examples for deleting or removing within proc IML, but I doesn't work for my specific case. Say there is a m x n matrix named "temp". I want to remove (in a loop) a row i of the matrix when the cell temp[i,1] complies to some statement. For example: do i=1 to m; if temp[i,1]<0 then (?) end; At the place of the (?) I want to remove row temp[i,]. Anyone?
|
Pages: 1 Prev: how to filter observations Next: HELP: Somers' D |