Georgetown Analytics
LATEST UPDATE, MORNING AND AFTERNOON VIDEO FOR 10/14
https://drive.google.com/open?id=0Bwi135gFpCowVnZTRWxLVVhZcU0
https://drive.google.com/open?id=0Bwi135gFpCowWUF1cTB1NUp6Rms
These are the R and Python versions that I will show students (the most important parts arrowed in bold). It is to your benefit to learn a little R for statistics, even though the bulk of your program will utilize the functionality of Python. Even within these free, opensource software, different software versions are offered to give a broad taste of packages that work on many people's computers. Software and their support change continuously, and so too will the codes here.
Additionally, some of the even more recent versions of the software do not support simple probability and statistics computations. Hence most professionals need multiple versions to communicate code amongst one another.
Mac
--> Python 3.4.0 (v3.4.0:04f714765c13, Mar 15 2014, 23:04:25)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
This version will minimally support Mac OS X 10.5.8 or later. Download it here. The larger differences are from users who use the Python 3 series versus the Python 2 series. This is particularly important for easy probability and statistics functions. For this case, we help reconcile by showing a Python 2 version in PC below.
--> R 2.15.3 GUI 1.53 Leopard build 32-bit (6451)
This R will support Mac OSX of 10.5 or older. Download it here.
PC (I will show in class, though you can use the nearly identical Mac versions above, if you bring that computer instead):
--> Python version: 2.7 (r27:82525, Jul 4 2010, 09:01:59)
[MSC v.1500 32 bit (Intel)] on win32
For PCs purchased in the past year (e.g., Windows 7). In 2015 moved down to version 2.7 in order to get the simple probability and statistics code usable. Download it here. Numpy was used in the prior 2.7.6 code but it is no longer supported. The simplest do-it-yourself codes for probabilists and statisticians are shown here. One can also see the 3.4 code in Mac version above, though generally a small amount of ingenuity would suffice for simple programming code.
--> parts of Python version 3.5 will also be shown
(MSC v. 1900 64 bit (AMD64)) on win32
--> R version 3.1.0 (2014-04-10) -- "Spring Dance"
Platform: x86_64-w64-mingw32/x64 (64-bit)
This R will support most PC For PCs purchased in the past year (e.g., Windows 7). Download it here. The unsupported R versions have moved on since 3.1.0, so if you have an even older computer, then please just follow along in class, and use the codes we learn for when you work on a more modern computer in the future, or at your work office.
In-class exercises:
Descriptive statistics code replaced
Regression replaced with Python code
PC --> Correlation20150310.rtf
Correlation challenge
Mac --> Correlation20150310.rtf