R和SPSS的区别 [英] R and SPSS difference

查看:798
本文介绍了R和SPSS的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在短期内分析大量与网络流量相关的数据,并对数据进行预处理以进行分析。我发现R和SPSS是最流行的统计分析工具。我还将生成很多图形和图表。因此,我想知道这两个软件之间的基本区别是什么。

I will be analysing vast amount of network traffic related data shortly, and will pre-process the data in order to analyse it. I have found that R and SPSS are among the most popular tools for statistical analysis. I will also be generating quite a lot of graphs and charts. Therefore, I was wondering what is the basic difference between these two softwares.

我不是在问哪个更好,而是想知道两者之间在工作流程方面有什么区别(除了SPSS具有GUI的事实) 。无论如何,我都会主要使用两种脚本,因此我想了解其他差异。

I am not asking which one is better, but just wanted to know what are the difference in terms of workflow between the two (besides the fact that SPSS has a GUI). I will be mostly working with scripts in either case anyway so I wanted to know about the other differences.

推荐答案

我在使用SPSS进行大多数数据分析的公司,由于多种原因-我开始尝试使用R进行越来越多的我自己的分析。我遇到的一些最大区别包括:

I work at a company that uses SPSS for the majority of our data analysis, and for a variety of reasons - I have started trying to use R for more and more of my own analysis. Some of the biggest differences I have run into include:


  1. 表的输出-SPSS具有基本表,常规表,自定义表等全部输出到那个漂亮的数据查看器或他们所谓的东西。这些可以相对容易地传输到Word文档或Excel工作表中以进行进一步的分析/演示。 R中的等效功能包括学习 LaTex 或使用 odfWeave Lyx 或类似性质的东西。

  2. 数据标签-> SPSS在变量标签和值标签方面做得很好。我还没有找到用于R的强大解决方案来完成相同的任务。

  3. 您提到您将要编写大部分工作的脚本,而且我个人认为SPSS的脚本语法绝对可怕,以至于我尽可能停止使用SPSS。 R语法似乎更具逻辑性,并且更紧密地遵循编程标准,并且如果遇到麻烦(例如,SO),有一个非常活跃的社区可以依靠。我还没有找到一个好的SPSS社区来问我何时遇到问题。

  1. Output of tables - SPSS has basic tables, general tables, custom tables, etc that are all output to that nifty data viewer or whatever they call it. These can relatively easily be transported to Word Documents or Excel sheets for further analysis / presentation. The equivalent function in R involves learning LaTex or using a odfWeave or Lyx or something of that nature.
  2. Labeling of data --> SPSS does a pretty good job with the variable labels and value labels. I haven't found a robust solution for R to accomplish this same task.
  3. You mention that you are going to be scripting most of your work, and personally I find SPSS's scripting syntax absolutely horrendous, to the point that I've stopped working with SPSS whenever possible. R syntax seems much more logical and follows programming standards more closely AND there is a very active community to rely on should you run into trouble (SO for instance). I haven't found a good SPSS community to ask questions of when I run into problems.

其他人指出了一些大问题程序成本和功能方面的差异。如果您需要与他人合作,则他们在SPSS或R上的舒适度应该发挥一定的作用,因为您不想成为小组中唯一可以处理或编辑您将来编写的脚本的人。

Others have pointed out some of the big differences in terms of cost and functionality of the programs. If you have to collaborate with others, their comfort level with SPSS or R should play a factor as you don't want to be the only one in your group that can work on or edit a script that you wrote in the future.

如果您要学习R,在stats exchange网站上的这篇文章有很多学习R的资源:https://stats.stackexchange.com/questions/138/resources-for-learning-r

If you are going to be learning R, this post on the stats exchange website has a bunch of great resources for learning R: https://stats.stackexchange.com/questions/138/resources-for-learning-r

这篇关于R和SPSS的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆