|
|
|
|
|
|
l*******s 发帖数: 197 | 1 1. 如何做一个probability plot,并把其中outlier的点对应的名字标上?
2. 在factorial experimental design中,若数据给的是 a=xx b=yy ab=zz abc=www .
...这种形式,如何用代码把整个+1 -1 的表复制出来? (例如A 1 -1 -1)
谢谢! | A****1 发帖数: 33 | 2 If only a few outliers, you can use the annotate facility.
data my_labels;
retain xsys ysys '2' function 'label' position '1' style "'Arial/bo'"
color 'blue';
set data1;
if read>75 then do;
text='Value1'; x=write; y=read; output;
end;
run;
proc gplot data=data1;
plot read*write/annotate=my_labels;
run;
quit;
.
【在 l*******s 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. 如何做一个probability plot,并把其中outlier的点对应的名字标上? : 2. 在factorial experimental design中,若数据给的是 a=xx b=yy ab=zz abc=www . : ...这种形式,如何用代码把整个+1 -1 的表复制出来? (例如A 1 -1 -1) : 谢谢!
| c**d 发帖数: 104 | 3 For question 1:
/* step 1: get a data object of a probplot */
ods graphics on;
proc univariate data=xxx noprint;
ods output probplot = y_probplot_data
probplot y;
run;
ods graphics off;
/* step 2: merge with the outlier data and */
/* create a new column as your data label*/
/* step 3: re-create probplot using sgplot procedure with datalabel option
to display outliers */
If you know graph template language, in step 1, beside output data object,
you can also output the predefined probplot template. Then modify and create
your own template by adding outlier label on it.
For example, I create my own template to add frequency in each bar of
histogram.
For question 2:
There are several ways to display and save your designed matrix. Please see
the note:
Usage Note 23217: Saving the coded design matrix to a data set
http://support.sas.com/kb/23/217.html
.
【在 l*******s 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. 如何做一个probability plot,并把其中outlier的点对应的名字标上? : 2. 在factorial experimental design中,若数据给的是 a=xx b=yy ab=zz abc=www . : ...这种形式,如何用代码把整个+1 -1 的表复制出来? (例如A 1 -1 -1) : 谢谢!
|
|
|
|
|
|