This document discusses analyzing box office data using SAS. It imports box office data from Excel files, combines the data sets, and performs various analyses including calculating means, correlations, frequencies, creating bar charts and scatter plots to examine the relationships between collections and numbers of various distributors. It also uses logistic regression and ANOVA to model relationships and test variables.
8. Plots on data
โข TITLE 'Scatterplot - Two Variables';
โข PROC GPLOT DATA=distributors;
โข PLOT collections*numbers ;
โข RUN;
โข SYMBOL1 V=circle C=black I=none;
โข SYMBOL2 V=star C=red I=none;
9.
10. The LOGISTIC Procedure
Probability modeled is use=1.
Model Information
Data Set WORK.MODEL
Response Variable use use
Number of Response
Levels
2
Number of
Observations
26
Model binary logit
Optimization
Technique
Fisher's scoring
11. Regression and anova
โข proc reg data =work.distributors;
โข model boxoffice reg collections= numbers;
โข run;
โข proc anova data =work.distributors;
โข class exp;
โข model data emp tot = collections;
โข run;