Scatter Plot between No. of matches won and Money spent on transfers
Scatter Plot between No. of matches won and Money spent on transfers
proc gplot data=WORK.EPL; plot Lost*Net_Money_Spent_on_Transfers; title ' Scatter Plot between Lost matches and Net Money Spent'; run;
proc gplot data=WORK.EPL; plot Team*Total_Attendence; title 'Relationship between the crowd attendance and teams'; run;
proc corr data = WORK.EPL; var Average_Age Won; title 'Correleration between Average Age of Team and Matches Won'; run;
Frequency plot between No. of matches won and Money spent on transfers
data WORK.EPL; set WORK.EPL; if Won >'5'and Won<='10' then Won_Group='05-10'; else if Won >'10'and Won<='15' then Won_Group='10-15'; else if Won >'15'and Won<='20' then Won_Group='15-20'; else if Won >'20'and Won<='25' then Won_Group='20-25'; run; data WORK.EPL; set WORK.EPL; if Net_Money_Spent_on_Transfers < '0' then Money_Group='Negative'; else if Net_Money_Spent_on_Transfers >'0' and Net_Money_Spent_on_Transfers<='5000000' then Money_Group='Medium'; else if Net_Money_Spent_on_Transfers >'5000000' then Money_Group='High'; run;
proc freq data = WORK.EPL; table Won_Group/ chisq testp=(10 40 30 20); run;
proc univariate data=WORK.EPL loccount mu0=45; var Points; title ' Test whether sample median of Points differ from Hypothesised value'; run;
Binomial Test for net money gained /lost during money transfers
data WORK.EPL; set WORK.EPL; if Net_Money_Spent_on_Transfers < '0' then Money_Group2='Negative'; else if Net_Money_Spent_on_Transfers >'0' then Money_Group2='Positive'; run;
data WORK.EPL; set WORK.EPL; if Average_age >= '27' then Age_group='Old'; else if Average_age <'27' then Age_group='Young'; run; proc freq data=WORK.EPL; tables Age_group /binomial(p=.5); title 'Binomial test for average age of the players above/ below 27 years of age'; run;