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
- /
- Standard Deviation over last 8 periods

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

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

3 weeks ago

Hi,

I have a monthly price variable and want to calculate its standard deviation over last 8 month. I will be thankful if anyone can help.

Additional Information:

I have lot of firms and i want to calcualte these standard deviation in each firm.

every firm has many years of Monthly data and resulting varibale will be for each month on the basis of lag 8 month (last 8 month)

Thanks

Accepted Solutions

Solution

3 weeks ago

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

3 weeks ago

Concept is here:

http://support.sas.com/kb/22/104.html

Change the idea from average to standard deviation is changing the function used (mean to std), otherwise everything else is the same. Note one of hte later examples shows how to do this with BY groups, ie by Firm.

All Replies

Solution

3 weeks ago

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

3 weeks ago

Concept is here:

http://support.sas.com/kb/22/104.html

Change the idea from average to standard deviation is changing the function used (mean to std), otherwise everything else is the same. Note one of hte later examples shows how to do this with BY groups, ie by Firm.

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

3 weeks ago

Thank you very much. Proc Expand is really amazing procedure.

Good day

Good day

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

3 weeks ago

It would help if you can provide examples of the data you have, and the dataset you want, for at least one firm.

Art, CEO, AnalystFinder.com

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

3 weeks ago

Thank you very much for your cooperation. Someone else suggested helpful article which solved my issue perfectly.

Good day

Good day