Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- The mean excess plot in SAS

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Accepted Solutions

Solution

04-22-2018
06:01 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to John4

04-17-2018 05:35 AM

If you already know how to generate the X and Y variables in the plot from the data and the location of the dashed line, then you can create the plot as follows:

```
title "Mean excess plot";
proc sgplot data=Have;
scatter x=X y=Y;
refline 20 / axis=x lineattrs=(pattern=dash);
run;
```

If your question is not about how to CREATE the plot but how to COMPUTE the values for the plot, then we'll need a reference and an explanation of the two quantities in the graph. A "reference" mensa a link to a paper or web site that explains the details that are required to understand how to generate the plot.

All Replies

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to John4

04-16-2018 02:27 PM

Please provide a link to the plot and some context about where it is encountered or what it shows.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Rick_SAS

04-17-2018 04:24 AM

I mean this plot :

(mean excess plot form extreme value theory)

Solution

04-22-2018
06:01 AM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to John4

04-17-2018 05:35 AM

If you already know how to generate the X and Y variables in the plot from the data and the location of the dashed line, then you can create the plot as follows:

```
title "Mean excess plot";
proc sgplot data=Have;
scatter x=X y=Y;
refline 20 / axis=x lineattrs=(pattern=dash);
run;
```

If your question is not about how to CREATE the plot but how to COMPUTE the values for the plot, then we'll need a reference and an explanation of the two quantities in the graph. A "reference" mensa a link to a paper or web site that explains the details that are required to understand how to generate the plot.