My aim is to create a box-and-arch plot using data from more than one dataset Important: Dataset size is the same Not - I'm not sure this may be a problem. I'm trying the following code:
% macro plot; % Do I = 1% to 10; ODS graphics; Title 'box plot for mining'; Proc boxplot data = D & amp; I; / * Where D & amp; I refers to my dataset * / plot durations / * Here are some problems coming to me because I have to reference y (periods) * x values but I only have one box (yu) which I want to box-show- My x matches the different datasets, where I charge. Boxstyle = schematic nohelle; Label Periods = 'Fear'; Run; %End; % Precedent plot; % Plot; I want my x value to refer to each dataset, where I assume a duration for boxplot. Each D1D2D3 ... D10 has 10 different datasets according to 10 different firms. So, I have to plot 10 boxes in a graph ... there is no insight?
I thought it was best that I just take all the data that I want to plot with my dataset Want and mix them in a file I created a unique id associated with each dataset before merging the data, after which it is easy for the box that you can do the data: the title 'Box plot for mining'; Proc boxplot data = ALL_DATA; Plot boxplotdata * id / boxstyle = schematic nohelp; Label Periods = 'Fear'; Run;
Comments
Post a Comment