
产品信息 Products Info 


Stata 软件更新到了 10.1 (11 Aug. 2008 补丁) 
20080815
广州博脉 
Stata 10 可执行文件和 ado 文件都已更新到 11 Aug. 2008 的最新补丁，如您能在 Stata 中直接连接 StataCorp 的服务器，请使用 update all 命令进行自动更新。 w_w__w__.__p_omi__n_e__.__c__om_ 如果不能在 Stata 中直接连接服务器，请参照下面的页面，进行手动更新： w_w_w_.po__m_i_n__e_.c_om_ Stata 10 可执行文件手动更新说明 Stata 10 ado 文件手动更新说明 www._p_om_in_e_._co__m ___11 Aug. 2008 补丁更新内容___ w_ww._p_o__min__e_._c__om What's new in release 10.1 (compared with release 10.0) ww_w_.p_o_mi_ne__._c__om__ Highlights for release 10.1 include the following: w_w_w__._p_o_m__ine_.__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_.__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_w_w.po_mi_ne._c_o_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(). ww_w.p_o_mi_ne_.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__w_w.p_o__m__ine_._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_w__w.po_m_i_n__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. www.__p_om_i_ne._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__._pomi_ne_._c_om We recommend that you set version to version 10.1 at the top of new dofiles and adofiles. See help version. w_w_w.__po_m__i__n__e_.c__o_m_
Adofiles w_w_w_.p_o_mine._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__ww__._p_o_min_e_.c_om 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__i_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_.__p__o__mi_n_e._c__om 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__m__in_e__._c_om_ 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.__pom__i__n__e__._c_om_ 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. w_w_w._pom_i__n__e_.c_om__ 7. dstdize reported large population totals rounded to floating point precision. This has been fixed. www_._po_mi_n__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_m__i_n_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._po_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__i_n_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. w_w_w__.p_om__i_ne_._co__m_ 13. The dialog box for graph twoway now allows plots to be reordered when multiple plots have been defined. www_._p__omine._co__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. ww_w.__pomi__ne__._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__ww__.__pomi_n_e.co_m__ 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_ne._c_o_m Specifying listwise allows users of pwcorr to mimic correlate's treatment of missing values while maintaining access to all of pwcorr's features. w__ww.p_om_in_e.co_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_w_w_._p__o_mi_n_e__._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. ww_w__.p__o_m_in_e._com_ 19. stpower did not allow spaces in file names specified in option saving(). This has been fixed. w__w__w_._p_o_mine.__c_o_m_ 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_min_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. ww_w__.__po_mi__n_e_.co__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__.__p_o_m_i_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__in_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. ww_w__._pomi_ne_.c_om_ 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_m_in__e_.__c_om_ 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. w_w__w.po_m_i_ne_.__c_o__m__
Stata executable, all platforms w_ww_._p_o_m__in__e_._co_m 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(). w_w__w_.p_o_m_in_e_.__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__om_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_om_i_ne_.com_ 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. ww_w._p_o_m_i_ne_.__c_o_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_omine._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_n__e__.__c__o_m 33. Mata function hash1(x, n) returned n+1 for certain x and n. This has been fixed. ww__w._p_o_mi_n_e__._c_o_m__ 34. Mata function strofreal() returned different results depending on the style of decimal point setting. This has been fixed. www.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_w_w.p__o_m_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_ww_._p_o_min_e._c__o_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_w_w._po__m_i_ne_._c__om__ 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.__co_m
Stata executable, Windows ww_w_._p_o_min__e__._co_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. w__w__w__._po__m_i_n_e._com_ 40. The DoFile editor did not allow printing a selection. This has been fixed. ww_w__.p_o_m_i__ne.c__o_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. w_w__w__.__p_o_m_i__ne.__c__o_m
Stata executable, Macintosh ww__w_._p_o__m__i__n_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._p_om__in_e._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_in_e_._c_om_
Stata executable, Unix w_w_w_.po__m__i_n__e__.c__om 44. printer define now allows up to 100 defined printers. The previous limit was 10. ww_w_._p_omine._com 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. 


