Stata33讲是连玉君老师 2014 年录制的一套 Stata 公开课,包括 34 个小视频 (每个 15 分钟左右),从最基本的 Stata 入门到数据处理、绘图、编程,以及线性回归分析和固定效应模型。欢迎大家关注微信公众号“Stata连享会”和连享会网页(http://www.lianxh.cn),四百篇推文等
style options general options Each column with its own display format matlist matrix exp , cspec(cspec) rspec(rspec) general options style options lines(lstyle) border(bspec) border format(% fmt) twidth(#) left(#) right(#) Description lines style; default between headers/labels and data...
From R Zhang <r05zhang@gmail.com> To statalist@hsphsun2.harvard.edu Subject Re: st: Converting table into matrix Date Sun, 23 Mar 2014 21:52:24 -0400Thank you Sergiy very much !!! 1. is your program written with MATA? concerning the points you raised at the beginning of your ...
list st_store(a,b,c)的关键是:(1)a、b、c都是mata中的向量;(2)以a与b在stata当前数据库中定义出一台“观测值区域”,该区域须与c同型;(3)以c中的值替换该区域的值。 *不用循环 clear all set ob 30 mata a=uniform(30,5) st_store(.,st_addvar("float",("...
graphmatrix—Matrixgraphs-Stata
[owner-statalist@hsphsun2.harvard.edu] för Brendan Halpin [brendan.halpin@ul.ie] Skickat: den 27 januari 2012 22:27 Till: statalist@hsphsun2.harvard.edu Ämne: Re: SV: st: matrix in mata It looks like there is no mistake and this is just the correct answer for your data...
To statalist@hsphsun2.harvard.edu Subject Re: st: Calculate average elements matrix (below the diagonal ) Date Tue, 11 Sep 2012 10:28:33 +0100There are probably more elegant ways to do it, but this works: sysuse auto corr price mpg rep78 mata C = st_matrix("r(C)") mean(abs(sel...
macros". I do have aroun 43k observations. Any guidance or assistance would be greatly appreciated. Cheers , Dan Egan * * 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/ ...
mata: st_matrix("RS",mataRS) matrix rownames RS = `rnames' matrix colnames RS = `cnames' * Display Combined Stata Matrix RS in Stata matlist RS, format(%8.3f) *** END STATA CODE *** Red Owl redowl@liu.edu * * For searches and help try: *http://www.stata.com/help.cgi?se...
FromRichard Palmer-Jones <rpjstatalist@googlemail.com> Tostatalist@hsphsun2.harvard.edu Subjectst: spatwmat "matrix not symmetric" DateFri, 19 Feb 2010 13:45:57 +0000 Dear readers I get an error from spatwmat which I cannot explain. The file is square (455 rows & columns), and has...