Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: re: st_subview in Mata


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: st_subview in Mata
Date   Sat, 11 Aug 2007 16:36:24 -0400

Nguyen reported problems with st_subview. I did (with webuse grunfeld in memory)


varname="year invest mvalue kstock time"
st_view(VV=.,.,tokens(varname))
neq=3
st_subview(Xall=.,VV,.,((neq+1)\cols(VV)))

and it worked fine.


Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index