楼主: bbs0805
115185 230

[学习心得] [讨论]Stata与R比较   [推广有奖]

211
vsksing 发表于 2014-7-6 01:01:33
stata最大的弊端就是他的防盗版机制, stata发现你是盗版后不提醒你,也就是说你还在用stata,但stata已经知道你是盗版了, 会在计算结果中随机加入错误。   作为大部分用盗版的童鞋们, 这个你们怎么破?

212
trueeconlover 发表于 2014-7-6 08:05:01
vsksing 发表于 2014-7-6 00:57
美国主要用SAS处理数据,用stata做计量,   stata是计量软件,SAS是数据处理软件,他两个相比,等于关公战 ...
你丫会读帖子吗? 我什么时候说我跑过几亿个数据?

213
panxinfeng 发表于 2014-7-12 00:40:43
xingxf 发表于 2014-6-17 18:02
我喜欢用Stata,原因很简单,就我目前的工作而言,SAS能做的,Stata也能做,而且Stata语法比SAS简洁的多,为 ...
受益匪浅,非常感谢!对你的理智、冷静与客观衷心地表示敬意!向你学习!

214
牛尾巴 发表于 2014-7-12 11:21:35
vsksing 发表于 2014-7-6 01:01
stata最大的弊端就是他的防盗版机制, stata发现你是盗版后不提醒你,也就是说你还在用stata,但stata已经知 ...
真的有这么严重哦?

215
xingxf 发表于 2014-7-13 22:14:15
vsksing 发表于 2014-7-6 00:57
美国主要用SAS处理数据,用stata做计量,   stata是计量软件,SAS是数据处理软件,他两个相比,等于关公战 ...
有的人见到了一点东西就以为知道了全部,面对这种情况,你就一笑而过吧。
最近刚和美国做经济研究的学者交流过,人家用SAS的人也很多(包括数据处理和计量分析)。
不过对于Stata,R和Matlab,这几个软件都是数据先进内存,在内存处理计算。在大数据处理方面,SAS比其它软件是有优势的。不过对于大数据,尽管SAS不受内存制约,SAS处理起来也慢。对于Stata来说,我的电脑32G内存,确实经常处理几千万行的数据(比如美国所有上市公司1980年至今的daily stock price数据),对于上亿行的数据也处理过,对于几亿行(多于2亿)的没处理过。Stata最大支持1T的内存,也确实有朋友用512G内存的服务器运行Stata,不过一般高校经济金融专业不太可能具备这样的计算机。

216
pilk123 发表于 2014-7-23 16:40:03
在学R,觉得真的好难呀,不会编程不说,经常碰到错误提示,好麻烦呀,比起SPSS难多了。

217
WTR1422 发表于 2014-8-7 22:44:59
vsksing 发表于 2014-7-6 01:01
stata最大的弊端就是他的防盗版机制, stata发现你是盗版后不提醒你,也就是说你还在用stata,但stata已经知 ...
{:3_41:}请问其他的统计软件有这种类似机制么?我一直用的SPSS盗版......

218
铁锷未残 学生认证  发表于 2014-11-8 10:23:07
amoybc 发表于 2007-6-14 14:17
首先纠正楼主一个错误的观点——免费!国内大部分的“免费”都是“盗版”。而R的免费是因为R是一款开源软件 ...
受教了

219
kevinmercury 发表于 2014-11-24 00:56:46
STATISTICAL SOFTWARE

Almost all serious statistical analysis is done in one of the following packages: R (S-PLUS), Matlab, SAS, SPSS and Stata. I have expertise in each of those packages but it does not mean that each of those packages is good for a specific type of analysis. In fact, for most advanced areas only 2-3 packages will be suitable, providing enough functionality or enough tools to implement this functionality easily. For example, a very important area of Markov Chain Monte Carlo is doable in R, Matlab and SAS only, unless you want to rely on convoluted macros written by random users on the web. The table at the end of this page compares the five packages in great detail.


R & MATLAB

R and Matlab are the richest systems by far. They contain an impressive collection of libraries, which is growing every day. Even if a desired specific model is not part of the standard functionality you can implement the model yourself, because R and Matlab are really programming languages with relatively simple syntaxes. As "languages" they allow you to express any idea. The question is whether you are a good writer or not. In terms of modern applied statistics tools, R libraries are somewhat richer than those of Matlab. Also R is free. On the flip side, Matlab has much better graphics, which you will not be ashamed to put in a paper or a presentation.


SPSS

On the other end of the spectrum is a package like SPSS. SPSS is quite narrow in its capabilities and allows you to do only about half of the mainstream statistics. It is quite useless for ambitious modeling and estimation procedures which are part of kernel smoothing, pattern recognition or signal processing. Nonetheless, SPSS is very popular among the practitioners because it does not require almost any training. All you have to do is hit several buttons and SPSS does all the calculations for you. In those cases when you need something standard, SPSS may have it implemented fully. The SPSS output will be quite detailed and visually pleasing. It will contain all the major tests and diagnostic tools associated with the method and will allow you to write an informative statistics section of your empirical analysis. In short, when the method is there, it is faster to run than a similar functionality in R or Matlab. So I use SPSS often for standard requests from my clients, like linear regression, ANOVA or principal components analysis. SPSS gives you the ability to program macros but that feature is quite inflexible.


SAS & STATA

Somewhere in-between R, Matlab and SPSS lie SAS and Stata. SAS is more extensive analytics than Stata. It is composed of dozens of procedures with massive, massive output, often covering more than ten pages. The idea of SAS is not to listen to you that much. It is like an old grandfather, whom you approach with a simple question but instead he tells you the story of his life. Many procedures contain three times more than what you need to know about that segment. So some time has to be spent on filtering in the relevant output. SAS procedures are invoked using simple scripts. Stata procedures can be invoked by clicking buttons in the menu or by running simple scripts. In the menu part, Stata resembles SPSS. Both SAS and Stata are programming languages, so they allow you to build analytics around standard procedures. Stata is somewhat more flexible than SAS. Still, in terms of programming flexibility, Stata and SAS do not come even close to R or Matlab. Selected strengths of SAS compared to all other packages: large data sets, speed, beautiful graphics, flexibility in formatting the output, time series procedures, counting processes. Selected strengths of Stata compared to all other packages: manipulation of survey data (stratified samples, clustering), robust estimation and tests, longitudinal data methods, multivariate time series.
                  

220
sylviaerror 发表于 2014-11-25 06:37:59
其实有excel就够了

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 13:44