About the course Software
BUSN 7001 – Predictive and Visual Analytics for Business
Week 1: Introduction
£ius BUSN 7001, Week 1 1/31
Copyright By PowCoder代写 加微信 powcoder
About the course Software
About the course
£ius BUSN 7001, Week 1
About the course
Associate Professor cius
E-mail: Phone: 08-8313-8007
Location: Room 12.38, Nexus10 Building Availability: Monday, 14:00-15:00.
£ius BUSN 7001, Week 1
About the course
Course learning outcomes
On successful completion of this course, students will be able to:
1. Use prediction models to solve forecasting queries.
2. Use visual methods to present complex data relationships.
3. Utilise state-of-the-art statistical packages for managing and presenting data.
4. Critically benchmark and compare dierent prediction models.
£ius BUSN 7001, Week 1 4/31
About the course
Topics covered
1. Introduction; R vs SAS vs SAS Visual Analytics 2. Correlations and visual presentation
3. Descriptive statistics and predictions
4. Predictive analytics using multiple regressions 5. Predictive analytics using logit regressions
6. Time-series analysis
7. Time-series forecasting
8. Monte Carlo simulation, scenario analysis 9. Optimization
10. Machine learning and variable importance 11. Network analysis and path analysis
£ius BUSN 7001, Week 1 5/31
About the course Software
Required resources:
Text book: Konasani, V. R. and Kadre, S. (2015). `Practical Business Analytics Using SAS: A Hands-on Guide’ (a free electronic copy is available from the library).
Computer: Students will need a computer connected to the Internet (in order to use ‘SAS OnDemand for Academics’ and ‘SAS Visual Analytics’).
Recommended resources:
Text book: Camm, J.D., Cochran, J.J., Fry, M.J., Ohlmann, J.W. (2021). Business Analytics, 4th Edition.
£ius BUSN 7001, Week 1
About the course
Public holidays
There are two public holidays during the teaching period: • 14 March – Adelaide Cup
• 25 April – ANZAC Day.
We will make-up 1 class: probably the class of 14 March would be streamed via Zoom on 15 March (TBA).
We will have a class on Week 13 as well.
£ius BUSN 7001, Week 1 7/31
About the course
In BUSN 7000 course, you learned R. SAS is easier than R (hopefully). SAS Visual Analytics is even easier. But…
£ius BUSN 7001, Week 1
About the course
R (with R Studio) vs SAS
There are some similarities and dierences.
Similarities:
• one can view several datasets at the same time • etc.
Dierences:
• in SAS, one needs to sort the data before merging; in R, no sorting needed
• SAS does not have a command line; R has a command line
• R is case-sensitive; SAS – not
£ius BUSN 7001, Week 1 9/31
About the course Software
R (with R Studio): Load a built-in R data
R code to load a built-in R data:
data(“mtcars”)
View(mtcars)
£ius BUSN 7001, Week 1 10/31
About the course
SAS code to load a built-in data:
data work.cars;
set sashelp.cars;
proc print data=work.cars;
SAS: Load a built-in data
BUSN 7001, Week 1
About the course Software
R (with R Studio): Summary statistics
R code for summary statistics for the variable hp.: summary(mtcars$hp)
£ius BUSN 7001, Week 1 12/31
About the course Software
R (with R Studio): Draw a box-plot
R code to draw a box-plot for the variable hp: boxplot(mtcars$hp)
£ius BUSN 7001, Week
About the course Software
SAS: Summary statistics with plots
SAS code for summary statistics for the variable horsepower:
proc univariate data=work.cars plot;
var horsepower;
£ius BUSN 7001, Week 1 14/31
About the course Software
SAS: Summary statistics with plots II
More results:
£ius BUSN 7001, Week 1 15/31
About the course Software
SAS: Summary statistics with plots III
Even more results:
£ius BUSN 7001, Week 1 16/31
50 100 150 200 250 300
About the course Software
SAS: Summary statistics with plots III
Box plot and histogram:
£ius BUSN 7001, Week 1 17/31
About the course Software
R (with R Studio): Draw a scatter plot
R code to draw a scatter plot (with additional options) for the variable hp:
plot(mtcars$wt, mtcars$mpg, main=”Scatterplot Example”,
xlab=”Car Weight “, ylab=”Miles Per Gallon “, pch=19)
£ius BUSN 7001, Week 1 18/31
About the course
SAS: Draw a scatter plot
SAS code to draw a scatter plot for the variable hp:
proc gplot data=work.cars;
title ‘Scatter plot of MPG City and Weight’;
plot MPG_city* Weight=1;
run; quit;
£ius BUSN 7001, Week 1 19/31
About the course Software
R (with R Studio): Estimate OLS regression
R code to estimate OLS regression:
linearMod <- lm(hp ~ cyl, data=mtcars)
View(linearMod)
£ius BUSN 7001, Week 1 20/31
About the course Software
R (with R Studio): Estimate OLS regression II
See regression results (very brief though): print(linearMod)
£ius BUSN 7001, Week 1 21/31
About the course Software
R (with R Studio): Estimate OLS regression II
See regression results (this time, detailed): summary(linearMod)
£ius BUSN 7001, Week 1 22/31
About the course Software
SAS: Estimate OLS regression
SAS code to estimate OLS regression:
PROC REG DATA=work.cars;
MODEL horsepower=Cylinders;
£ius BUSN 7001, Week 1 23/31
About the course Software
More results:
SAS: Estimate OLS regression II
£ius BUSN 7001, Week 1 24/31
About the course Software
Even more results:
SAS: Estimate OLS regression III
£ius BUSN 7001, Week 1 25/31
About the course Software
SAS: Estimate OLS regression IV
And even more results:
£ius BUSN 7001, Week 1 26/31
About the course Software
The last bit:
SAS: Estimate OLS regression IV
£ius BUSN 7001, Week 1 27/31
About the course Software
SAS vs SAS Studio vs SAS Viya
SAS (or SAS 9.4) is software run on a local PC.
SAS Studio is an on-line version of SAS.
'SAS OnDemand for Academics' is free version of SAS Studio.
SAS Viya is on-line based package that incorporates a lot of SAS products, including SAS and 'SAS Visual Analytics'.
We will learn 'SAS Visual Analytics' using 'SAS Viya for Learners'.
£ius BUSN 7001, Week 1 28/31
About the course
Running R codes in SAS
It is possible to run R codes in SAS (or 'SAS Studio).
To do so, one needs to enable R language statements:
proc options option=rlang;
One can also run SQL codes in SAS.
£ius BUSN 7001, Week 1 29/31
About the course Software
Running R codes in SAS Viya environment
It is also possible to run R codes in 'SAS Viya environment' (e.g., 'SAS Viya for Learners')
To do so, one needs install the following R packages:
• SWAT (SAS Scripting Wrapper for Analytics Transfer) • dplyr, httr and jsonlite.
Then one can write R codes that analyze data stored on SAS servers.
£ius BUSN 7001, Week 1 30/31
About the course
Tasks at home
Get access to 'SAS OnDemand for Academics' and 'SAS Viya for Learners'.
Refer to MyUni website for more information.
£ius BUSN 7001, Week 1 31/31
About the course
Required reading
Konasani, V. R. and Kadre, S. (2015). Practical Business Analytics Using SAS: A Hands-on Guide: chapters 1, 2, 3, and 4.
£ius BUSN 7001, Week 1 32/31
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com