
产品信息 Products Info 


Stata 软件更新到了 10.1 (11 Aug. 2008 补丁) 
20080815
广州博脉 
Stata 10 可执行文件和 ado 文件都已更新到 11 Aug. 2008 的最新补丁，如您能在 Stata 中直接连接 StataCorp 的服务器，请使用 update all 命令进行自动更新。 w__w_w._p_om__i_n_e.__c_o_m 如果不能在 Stata 中直接连接服务器，请参照下面的页面，进行手动更新： w__w__w_._p_omi__ne._com Stata 10 可执行文件手动更新说明 Stata 10 ado 文件手动更新说明 w__ww_._p_o_m_i__n_e__._com_ ___11 Aug. 2008 补丁更新内容___ www_._p_omi_n_e.c__o__m What's new in release 10.1 (compared with release 10.0) w__ww__.p_o_m__ine._co_m Highlights for release 10.1 include the following: w_w__w._p__om_i_n_e__.c_o__m 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(). ww_w._p_o__m__in__e_._c__o__m_ 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.p_o_mi_n_e_._co_m_ 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_.po_m_in__e.__c_o__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_ww_.p_omin_e._com 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_o_min_e._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._p__o_m__in_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_ww._p_om_i__ne_._c_o_m__ We recommend that you set version to version 10.1 at the top of new dofiles and adofiles. See help version. www._p_o_m_in_e.c__o_m__
Adofiles w_w_w_.__p_o_m_i_n__e.c__om__ 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_w_w._po_m__i_ne__._com 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. www_.__pomi_n_e._c_o__m_ 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.pomi_n__e_.__com__ 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. w_ww__.po_m__in_e._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. ww__w.po__m_i__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. ww__w_._p_o_m_i__n__e.c_o__m_ 7. dstdize reported large population totals rounded to floating point precision. This has been fixed. ww_w.__pom__in_e_.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_.__po_min_e__._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_w__w__.__p_o_mi_n_e__.com 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_in__e__.c_o__m 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._p__omin_e_._c__om_ 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. ww_w_.pom_i_n__e._com_ 13. The dialog box for graph twoway now allows plots to be reordered when multiple plots have been defined. ww__w.__p_o_m_i_ne_.__c_om__ 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. ww__w__._p_o_mi__n__e.c__om_ 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(). w_w_w_.__po_m_i_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_ww_._p_o__m_i_n__e__.co__m__ Specifying listwise allows users of pwcorr to mimic correlate's treatment of missing values while maintaining access to all of pwcorr's features. www.__po_m_in__e.__c_o_m_ 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. w_ww_.__p_o_mi_ne_.c_om 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_w_w._po_mi_ne__._co_m 19. stpower did not allow spaces in file names specified in option saving(). This has been fixed. w_ww._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_w_w_._p_omine._c_o_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_o_m_i_n_e._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. w_w_w__.p_omi__n_e._co__m_ 23. xtgee, when used with corr(fixed matname), deleted matrix matname. This has been fixed. w_w_w.__p__omi_n_e__.__c_o_m 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. www_._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__om_i_n__e._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. www_.po_m_i_n_e__._c_om
Stata executable, all platforms w__w_w__._p_o_min__e_.__c__om 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.p__om__i__ne__._co__m__ 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__w_w_._p_o_m_i_n_e.c_o_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_ww_.__p_o_m__i_n__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. www__.__po_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_ww_._p__omi_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. ww_w_.p__o_m_in_e.__co_m 33. Mata function hash1(x, n) returned n+1 for certain x and n. This has been fixed. ww_w.__po_m__ine_.co_m__ 34. Mata function strofreal() returned different results depending on the style of decimal point setting. This has been fixed. w_w__w_._p_o_min__e_.__co__m 35. mlmatbysum now checks for string variables in the by() option. String variables are not allowed in this option. w__w_w._pom__i_n_e__._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__om_i__n_e_.co_m_ 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. w_ww_._p_om_i_n_e._com__ 38. stcox now allows a maximum of 100 variables to be specified in option tvc(). The previous limit was 10. w_w_w.po_m_i_n_e_._c_o__m
Stata executable, Windows www_.__p_o__m__i_n_e__._c__om__ 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. w_w_w._po_m__i__n_e__.__c__om_ 40. The DoFile editor did not allow printing a selection. This has been fixed. ww__w__.__p_o_m__i_n__e._c_om_ 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. www.__pom__in_e.__c__o_m_
Stata executable, Macintosh w_w__w.p_om_in__e__.c_o__m_ 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. ww__w__.po_mi__ne_.__co__m 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_.p__om_i_ne_.__c_om_
Stata executable, Unix ww_w._po__mi_ne.c__o_m_ 44. printer define now allows up to 100 defined printers. The previous limit was 10. w__w__w__._po__mi_n__e.__c_o_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. 


