
产品信息 Products Info 


Stata 软件更新到了 10.1 (11 Aug. 2008 补丁) 
20080815
广州博脉 
Stata 10 可执行文件和 ado 文件都已更新到 11 Aug. 2008 的最新补丁，如您能在 Stata 中直接连接 StataCorp 的服务器，请使用 update all 命令进行自动更新。 w__w__w_.po_m_ine.co_m 如果不能在 Stata 中直接连接服务器，请参照下面的页面，进行手动更新： w_w__w_.p_om_in__e.com Stata 10 可执行文件手动更新说明 Stata 10 ado 文件手动更新说明 w_ww__.p_o__mine_.co_m_ ___11 Aug. 2008 补丁更新内容___ ww_w_._p_o_m_i__n_e_.c__o__m_ What's new in release 10.1 (compared with release 10.0) www__._p__om_i_n_e_._co__m_ Highlights for release 10.1 include the following: w_w_w_.po__m_i__ne_.__com__ o Distribution and probability mass functions for the hypergeometric, negative binomial, and Poisson distributions have been added to Stata. The probability mass function for the binomial distribution has also been added. See density functions. Additionally, Mata now has these functions; see mata normal(). w__w__w_._po_m_i__n__e.c_om o Randomvariate functions for the beta, binomial, chisquared, gamma, hypergeometric, negative binomial, normal, Poisson and Student's t distributions have been added to Stata; see randomnumber functions. Additionally, Mata now has these randomvariate functions; see mata runiform(). w_ww__._po_m__i_n_e__.com uniform() has been renamed to runiform() in order to be consistent with the naming convention of the nonuniform random variate functions. uniform() continues to work, but is now undocumented. Mata functions uniform() and uniformseed() have been renamed to runiform() and rseed(). w_ww__.p_o_min_e_.__co_m o asmprobit and asroprobit have several new features including option factor(#) specifying use of a factor covariance structure which models the covariance as I + C'C. Postestimation command estat facweights displays the covariance factor weights in matrix form. w_w__w._po_mi_ne.co_m_ o reshape now preserves the J variable value and variable labels and all xij variable labels when reshaping from wide to long and back to wide. w__ww__._p_om__i_ne._c__o__m_ o pwcorr has new option listwise, which specifies that missing values are to be handled by listwise deletion, allowing users of pwcorr to mimic correlate's treatment of missing values while maintaining access to all of pwcorr's features. ww__w_._po__m_i_n_e_._c_o_m o Initialization Mata functions ghk_init() and ghkfast_init() as well as several other helper functions have been added to construct, modify, and query structures defining simulation parameters and creating simulation points for subsequent calls to ghk() and ghkfast(). w_w__w__.__p_om_i_n_e._c_o_m_ We recommend that you set version to version 10.1 at the top of new dofiles and adofiles. See help version. ww__w.po__mi_n__e.co_m
Adofiles w_ww.p_o_min__e_.c_o_m__ 1. asmprobit and asroprobit have a new covariance structure. Option factor(#) specifies to use the factor covariance structure. For a model with J alternatives, the # x J factor matrix C, # smaller than J, models the covariance as I + C'C, where I is a J x J identity matrix. w__ww._p_om_ine_._c__o__m__ 2. asmprobit and asroprobit have a new option favor(speedspace) that directs the programs to favor either speed or space (memory) when executing. favor(speed) is the default. ww_w_.__pom_in_e__.c_om_ 3. asmprobit and asroprobit have a new option nopivot that will direct the programs not to pivot integration intervals so that wider intervals are on the inside of the multivariate integration. This option may be useful when fitting a model with few simulation points. w__w_w._po_m_i_n_e_._c_o_m_ 4. biplot did not honor if or in qualifiers when computing means (and standard deviations with option std) used in the computations. This has been fixed. ww__w._po_mine.co__m_ 5. bootstrap and jackknife removed the vce() option when it was specified on the command being bootstrapped or jackknifed, resulting in calculations based on the conventional standard errors and covariances instead of the requested alternative. This has been fixed. www_._p__omi_n_e._c_o_m 6. canon's default output has changed. canon now displays matrices of raw coefficients by default. canon no longer documents option coefmatrix which specified the display of matrices of raw coefficients. Setting version to less than 10.1 will display the raw coefficients, conditionally estimated standard errors and confidence intervals in the standard estimation table by default; this output can also be obtained by using the new stderr option. www_._pom__i_n_e__.c_om__ 7. dstdize reported large population totals rounded to floating point precision. This has been fixed. ww_w__.__po_mine.c_o__m_ 8. egen function mode() with option missing now treats missing values as a category when finding the mode. The options minmode, maxmode, and nummode() can now be specified with and without the missing option for the desired mode. When version is set to less than 10.1 with option missing, missing values are not treated as a category. w_w_w__._p_o_m_ine_.__c_o_m__ 9. egen functions total() and rowtotal() have new option missing. With this option, if all values of exp or varlist for an observation are missing, then that observation in newvar will be set to missing. w_ww.__po__m__i__ne__.c_o_m_ 10. New postestimation command estat facweights after asmprobit, factor(#) and asroprobit, factor(#) displays the covariance factor weights in matrix form. w_w_w_._po_m__i__n__e._c__om 11. The dialog box for fdasave did not place quotation marks around the path and filename, causing an error when the path or filename contained spaces. This has been fixed. w_w__w.po_m_i_n__e.co__m 12. In the Graph Editor when editing a bar graph that had been created with the by option, the Sort button of both the Contextual Toolbar for the bar region and the properties dialog for the bar region failed to sort the graph's bars. This has been fixed. www.p__o_m__ine.__c__o_m 13. The dialog box for graph twoway now allows plots to be reordered when multiple plots have been defined. w_w_w__._p_om_i_n_e_.__c_o_m_ 14. ivregress, when a heteroskedasticityandautocorrelation consistent VCE or weight matrix was requested with the Bartlett kernel and Newey and West's optimal bandwith selection algorithm, could report incorrect standard errors. When the GMM estimator was used, the point estimates could also be incorrect. This has been fixed. Whether one observes changes in output as a result of this bug fix is data dependent. w_w_w.p_om__in_e_._c__o_m_ 15. Mata functions ghk() and ghkfast() have a new syntax. Initialization functions ghk_init() and ghkfast_init() as well as several helper functions have been added to construct, modify, and query structures defining simulation parameters and creating simulation points for subsequent calls to ghk() and ghkfast(). ww__w.p_o_mi__n_e_.c_om 16. pwcorr has new option listwise, which specifies that missing values are to be handled by listwise deletion, that is, observations containing missing values for any of the given variables are removed from the estimation sample before any calculations take place. By default pwcorr uses pairwise deletion, under which the correlation calculation for each variable pair uses all available data without regard to missing values outside that variable pair. w__w_w__._p__o__m_i__n__e__._c_om Specifying listwise allows users of pwcorr to mimic correlate's treatment of missing values while maintaining access to all of pwcorr's features. www_.p_o__min_e__._c_om 17. reshape now preserves the J variable value and variable labels and all xij variable labels when reshaping from wide to long and back to wide. Previous behavior is obtained by setting version to less than 10.1. ww_w.p_o_m__in_e_._co_m_ 18. roctab and roccomp, although rclass commands, left information in the ereturn list from calls they made to the logistic command. This has been fixed. w__ww_.__p_o_m_i_n__e__.c_om_ 19. stpower did not allow spaces in file names specified in option saving(). This has been fixed. w_w_w._p_o_m__i_n_e_.__c_om_ 20. svy's descriptive statistics commands (svy: mean, svy: proportion, svy: ratio, and svy: total) were marking out observations that had missing values in the variable list for observations outside the subpopulation. This affects the estimated variance values when the primary sampling units were the individual observations and could decrease the design degrees of freedom. Both of these effects are very slight and inversely related to the sample size. This has been fixed. w__ww__.p_o__m_i_n__e.co__m_ 21. svy did not allow the missing() function to be specified in the if expression within the subpop() option. This has been fixed. w_w_w_.p_om_ine_.__c_o_m 22. xthtaylor, when used with a sufficient number of perfectly collinear covariates, would drop different variables when the same command was repeatedly run. This has been fixed. ww_w._po_mi_n__e_.c_om_ 23. xtgee, when used with corr(fixed matname), deleted matrix matname. This has been fixed. w__w__w_.__p_o_m_i__n_e__._com__ 24. xtmelogit and xtmepoisson now support the maximize option from(); see maximize. This allows users to specify starting values, which can significantly speed up estimation. For these two commands, from() is particularly useful when combined with refineopts(iterate(0)), which bypasses the initial optimization stage. w_w_w._p_o_m_i_n_e_.co_m__ 25. As of Stata 10.1, xtmixed, xtmelogit, and xtmepoisson now require that randomeffects specifications contain an explicit level variable (or _all) followed by a colon. Previously, if these were omitted a level specification of _all: was assumed, leading to confusion when only the colon was omitted. To avoid this confusion, omitting the colon now produces an error, with previous behavior preserved under version control. w_w__w__.__p__o_mine._c__o_m_ 26. xtreg with option be, when used with regressors that included timeseries operators, would exit with an error message saying "timeseries operators not allowed." Now, timeseries operators are allowed. ww__w_.p_om__i_ne__.__c_o_m
Stata executable, all platforms w__w_w._p_o_min_e_.com__ 27. Distribution and probability mass functions for the hypergeometric, negative binomial, and Poisson distributions have been added to Stata. The probability mass function for the binomial distribution has also been added. See density functions. Additionally, Mata now has these functions; see mata normal(). ww__w_._po_m_i__n_e_.c__om_ 28. Randomvariate functions for the beta, binomial, chisquared, gamma, hypergeometric, negative binomial, normal, Poisson and Student's t distributions have been added to Stata; see randomnumber functions. Additionally, Mata now has these randomvariate functions; see mata runiform(). w_ww.__po_mi_ne_.__co__m 29. Function uniform() has been renamed to runiform() in order to be consistent with the naming convention of the nonuniform random variate functions. uniform() continues to work, but is now undocumented. Mata functions uniform() and uniformseed() have been renamed to runiform() and rseed(). w_w_w__.__p_om_in__e._c_o_m_ 30. Old function Binomial() is no longer allowed (as of Stata 10.1); binomialtail() should be used instead. Binomial() is allowed when version is set to less than 10.1. w__ww__._p_o_m_i_ne__._co_m_ 31. drawnorm now uses the new rnormal() function to generate normal random variates. When version is set to less than 10.1, drawnorm reverts to using invnormal(uniform()). w_w_w__._p__o_m_i_ne_.c_o_m 32. Mata's addition colon operator, :+, crashed Stata if one of the arguments was a void string matrix. This has been fixed. w_w_w__._p__om_i_ne._co__m_ 33. Mata function hash1(x, n) returned n+1 for certain x and n. This has been fixed. w_w_w.__p__o_m_in__e__._c_om_ 34. Mata function strofreal() returned different results depending on the style of decimal point setting. This has been fixed. ww_w__.__p_o_m_i_n_e__.__c_o__m__ 35. mlmatbysum now checks for string variables in the by() option. String variables are not allowed in this option. w_ww_.__p_omine.c_o_m 36. odbc insert with option create now writes Stata doubles as SQL data type FLOAT(53) instead of REAL. Most of the time in SQL the REAL data type maps to a 4 byte float so on SQL Server, for example, there was a loss of precision for all doubles. w_w_w_._p_o_mi_n__e__._c__om 37. oneway with a constant response_var and option bonferroni, scheffe, or sidak produced invalid pvalues in the comparison table. For larger datasets, Stata stopped responding while oneway was in the middle of producing the comparison table. This has been fixed. www_._pom_in__e__.__c__o_m__ 38. stcox now allows a maximum of 100 variables to be specified in option tvc(). The previous limit was 10. w__w_w_.__p_o_m_i_n_e__.c_om_
Stata executable, Windows w__ww__._p_om__i__n__e._c_o_m_ 39. postfile with option every() did not cause post to write results to disk as often as was specified in every(). This has been fixed. ww_w_.__p_o_m_i_n_e_._co_m__ 40. The DoFile editor did not allow printing a selection. This has been fixed. w_ww._p__o__min_e._co__m_ 41. When grid editing in the graph editor, dragging an object into another cell did not highlight the target cell properly. Now the target cell is shown in a darker translucent red, which is consistent with Stata for Mac OS and Unix. ww__w_.pomine__.__co_m
Stata executable, Macintosh w_w_w.p_o_m_i__n_e._c__om__ 42. You may now disable keyboard navigation in the Variables and Review windows from the General Preferences dialog. See revkeyboard or varkeyboard for more information. w_ww_.pom_i_n__e_.__c__om__ 43. Pressing cmdleft arrow and cmdright arrow in the Command window will now move the cursor to the beginning of a line and to the end of a line, respectively. ww_w_.__po__m_i_ne_.__com__
Stata executable, Unix w__w__w._po_m_i_n_e._com_ 44. printer define now allows up to 100 defined printers. The previous limit was 10. w_ww._po_mine_._co_m__ 45. Previously, when opening an existing dofile using File > Open from an existing Dofile Editor window, the dofile to be opened would replace the contents of the existing Dofile Editor window regardless of whether the existing window had been saved or not. Stata now always opens an existing dofile in a new window. The Open Recent menu would display some characters as underlined if a filename contained an underscore. This has been fixed. The Open Recent menu in a new Dofile Editor window would not show the most recent file added to the menu. This has been fixed. 


