Code:
. webuse abdata . mata: st_view(X=., (1::3), "L(0/1).(w k)") . mata: X 1 2 3 4 +-------------------------------------------------------------+ 1 | 2.576543331 2.576543331 -.5286502242 -.5286502242 | 2 | 2.509745598 2.509745598 -.4591824114 -.4591824114 | 3 | 2.552526474 2.552526474 -.3899362981 -.3899362981 | +-------------------------------------------------------------+
Code:
. mata: st_view(X=., (1::3), "L(0/1).w L(0/1).k") . mata: X 1 2 3 4 +-------------------------------------------------------------+ 1 | 2.576543331 . -.5286502242 . | 2 | 2.509745598 2.576543331 -.4591824114 -.5286502242 | 3 | 2.552526474 2.509745598 -.3899362981 -.4591824114 | +-------------------------------------------------------------+
Code:
. mata: st_data((1::3), "L(0/1).(w k)") 1 2 3 4 +-------------------------------------------------------------+ 1 | 2.576543331 . -.5286502242 . | 2 | 2.509745598 2.576543331 -.4591824114 -.5286502242 | 3 | 2.552526474 2.509745598 -.3899362981 -.4591824114 | +-------------------------------------------------------------+ . mata: st_data((1::3), "L(0/1).w L(0/1).k") 1 2 3 4 +-------------------------------------------------------------+ 1 | 2.576543331 . -.5286502242 . | 2 | 2.509745598 2.576543331 -.4591824114 -.5286502242 | 3 | 2.552526474 2.509745598 -.3899362981 -.4591824114 | +-------------------------------------------------------------+
0 Response to Bug in Mata's st_view() function with time-series operators?
Post a Comment