Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14....

30
Install BlueSky Statistics Aaron Rangel [email protected]

Transcript of Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14....

Page 1: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Install BlueSky StatisticsAaron Rangel

[email protected]

Page 2: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

4 Simple Steps

1. Install R (Not required if R is already installed)

2. Install BlueSky Statistics

3. Initiate the trial or license the product

4. Install the required packages for the BlueSkyapplication

• Part A: I installed R 3.2.1 in step 1 above

• Part B: R was already installed (Needs R 3.0.2 and above, older versions should work but not tested)

Note: BlueSky Statistics is currently available on Windows 64 bit, for 32 bit Windows or MAC or Linux support please email [email protected]

Page 3: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Step1: Install R• Not required if you

have already installed R

3

Page 4: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Installing R (not required if you have installed R previously)

• R 3.2.1 for windows can be downloaded from CRAN at http://ftp.ussg.iu.edu/CRAN/

• For your convenience the R installer for version 3.2.1 is available in the root folder of the BlueSky trial software download zip file

• Run the R-3.2.1-win executable

• Click through the screens with the following options

4

Double click the R-3.2.1

windows executable

The unzipped

trial download

Page 5: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Welcome screen

5

Page 6: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Following screen will be displayed only if you are not an admin, click next, in a following screen the setup will

prompt you with a location with write permission

6

Page 7: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

If you are running a 64 bit processor you don’t need the 32 bit files

7

Page 8: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Accept the defaults

8

Page 9: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Accept the defaults

9

Page 10: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Make sure Save version number in the registry is selected

10

Page 11: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Finally click finish

11

Page 12: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Step 2: Install BlueSky Statistics

Page 13: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Install BlueSky Statistics

• BlueSky Statistics requires – R 3.0.2 and above (older versions should work but not tested)

– .NET version 4.0 and above

• Double click on the BlueSky Windows Installer package

• The prompts and very straight forward and you can accept the defaults

• Click Finish and the install will complete

13

Double click the BlueSky

windows installer

The unzipped

trial download

Page 14: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Step3: Initiate the trial or license the product

Page 15: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Launch the BlueSky Statistics application

• The folder BlueSky will be found in the start menu or desktop icons

• Launch the BlueSky Statistics application

• The default path to the executable is– C:\Users\<user

name>\Documents\BlueSky\BlueSkyStatistics\BlueSky.exe

15

Page 16: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

You will see the screen below

16

The message above gets displayed because required packages are not installed. Click OK. We will install required packages in Step 4

Page 17: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

You will then see the screen below, click OK to start the 30 day trial

17

If you want to purchase a copy, contact [email protected]

Page 18: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Step 4: Install the required packages

Part A: I installed R 3.2.1 in step 1

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

18

Page 19: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Install required packages

• All the required packages are in the folder where you installed BlueSky Statistics on your local hard drive– BlueSky Statistics\R Installers\R 3.2.1 packages

folder

• Launch BlueSky Statistics

• Go to Tools->Install packages from a folder

• Browse to path to …BlueSky Statistics\R Packages\R 3.2.1 packages folder

19

Page 20: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Go to Tools->Install packages from a folder

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

20

Page 21: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Browse to path to …BlueSky Statistics\R Packages\R 3.2.1 packages folder and click OK

You will see a busy screen as all the packages are installed.

THIS WILL TAKE A COUPLE OF MINUTES.

Page 22: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

A report of the packages installed and loaded are displayed in the output

• If you see the text error, email [email protected] and copy all the text in the report (click within report to select text)

• If the message says could not install package as its already installed, that is fine

22

If no errors are reported, congratulations you are ready to start using BlueSky Statistics, go to slide 29

Page 23: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Step 4: Install the required packages

Part B: R was already installed

23

Page 24: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

BlueSky Statistics requires the following packages

Sr. No Package Name Summary of capabilities

1. Base and stats package*

Several exploratory analysis functions, hypothesis testing, anova, compute, aggregate, sort, merge datasets, subsets, some modeling functions (kmeansclustering, principal component analysis, factor analysis)

2. MASS Ordinal regression

3. nnet Multinomial logit modeling

4. forecast Time series modeling and forecasting

5. ggplot2 Bar graphs, box plots, density plots, strip charts

6. ggthemes Themes for the above graphs

7. car 3 D scatterplot, scatterplot

•Base and stats are typically available with the default R installation and hence you should not have to install them

Page 25: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

BlueSky Statistics requires the following packages

Sr. No Package Name Summary of capabilities

8. cloroplethr Maps

9. cloroplethrMaps Maps

10. gplots Heatmap

11. RcmdrMisc Histogram, Binning, PlotMeans

12. aplpack Stem and leaf plot

13. foreign For opening datasets, SPSS, SAS

14. data.table Needed for the data grid

15. readxl Opening Excel files

16. BlueSky This is our package that contains some analytical functions as well as code necessary for the application to work. We install this package automatically on launch.

17. GPArotation Used for the rotation functions with factor analysis

Page 26: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Make a list of the packages you need

• Run the R function below from the BlueSky Statistics Window– rownames(installed.packages())

• This command will list all the packages available with your R install

• Compare with slides 24, 25 to find the packages that need to be installed

26

Enter R function

here

Page 27: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Install the missing packages

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

27

After clicking Install package from CRAN, you select the CRAN mirror closest to you

Click on Tools->Package->Install package

from CRAN

Page 28: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Enter one or more packages to be installed

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

28

After you have installed all the packagesyou are ready to use BlueSky Statistics

Page 29: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Next steps

• Watch the video titled Getting Started with BlueSkyStatistics - Part 2: User Interface Basics on the video gallery tab at http://www.blueskystatistics.com/category-s/109.htm (Direct link to video can be found on youtube at https://youtu.be/_ryTYBOVgqw)

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

29

Page 30: Install BlueSky Statistics 1 Getting started.pdf13. foreign For opening datasets, SPSS, SAS 14. data.table Needed for the data grid 15. readxl Opening Excel files 16. BlueSky This

Thank You

• Email [email protected] questions/comments

© 2015, BlueSky Statistics, LLC. Confidential and Proprietary

30