• Community
    • Home
    • Welcome
      • Getting Started
      • Community Memo
      • All Things Community
      • SAS Customer Recognition Awards (2024)
      • SAS Customer Recognition Awards (2023)
    • SAS Community Library
    • SAS Product Suggestions
    • Upcoming Events
    • SAS Customer Recognition Awards
    • All Recent Topics
  • Learn
    • New SAS User
    • SAS Software for Learning Community
    • Ask the Expert
    • SAS Certification
    • SAS Tips from the Community
    • SAS Training
      • Programming 1 and 2
      • Advanced Programming
      • Course Case Studies and Challenges
      • Trustworthy AI
    • SAS Global Forum Proceedings 2021
    • Tech Report Archive
    • SAS Insights Archive
  • Programming
    • SAS Programming
    • SAS Procedures
    • SAS Enterprise Guide
    • SAS Studio
    • Graphics Programming
    • ODS and Base Reporting
    • SAS Code Examples
    • SAS Web Report Studio
    • Developers
  • Analytics
    • Statistical Procedures
    • SAS Data Science
    • Mathematical Optimization, Discrete-Event Simulation, and OR
    • SAS/IML Software and Matrix Computations
    • SAS Forecasting and Econometrics
    • Streaming Analytics
    • Research and Science from SAS
  • SAS Viya
    • SAS Viya
    • SAS Viya on Microsoft Azure
    • SAS Viya Release Updates
    • Moving to SAS Viya
    • SAS Visual Analytics
    • SAS Visual Analytics Gallery
    • Your Journey to Success
    • SAS Viya Workbench
      • SAS Viya Workbench: Getting Started
      • SAS Viya Workbench Discussion
      • SAS Viya Workbench: Release Updates
  • Administration
    • Administration and Deployment
    • Architecture
    • SAS Hot Fix Announcements
    • SUGA
  • Solutions
    • Microsoft Integration with SAS
    • Decisioning
    • SAS Decision Builder
    • Data Management
    • SAS Data Maker
      • SAS Data Maker: Getting Started
      • SAS Data Maker Discussion
    • Customer Intelligence
      • SAS Customer Intelligence
      • SAS Customer Intelligence 360 Release Notes
      • SAS 360 Match
    • Risk and Fraud
      • SAS Risk Management
      • Fraud, AML and Security Intelligence
      • SAS Risk Release Updates
      • Risk & Finance Analytics
      • Insurance Fraud
      • MRM AI Governance Working Group
      • SAS Quant Community
    • SAS Health
      • SAS Health and Life Sciences
      • SAS Life Science Analytics Framework
  • Hubs
    • Regional Hubs
      • SAS User Groups
      • SAS Community Nordic
      • AML Nordic User Group
      • SAS Japan
      • SAS Korea
      • CoDe SAS German
      • SAS Plattform Netzwerk
      • SAS Brazil Community
      • SAS Spanish Community
      • SAS Users Group in Israel
      • 欢迎来到SAS中文社区!
      • Ottawa Area SAS Users' Society
      • Toronto Area SAS Users Group
      • SAS Türkiye Community
    • Special Interest Hubs
      • SAS Hacker's Hub
      • SAS Innovate 2026
      • SAS Analytics Explorers
      • The Curiosity Cup
      • SAS Inner Circle Panel
      • SAS Hackathon Team Profiles (Past)
      • SAS Explore
      • Reporting and Optimization
      • Intern Alumni Network Community
Sign In

Search the Community

Showing results for 
Search instead for 
Did you mean: 
Search Options
  • Subscribe to RSS Feed for this Search
Advanced Hide Advanced
  • Posts
  • Users
  • Places
  • Products
Advanced Search Options
Search Modifiers:
You can apply modifiers to the terms you enter in the search field.
Use quotes to search for an "exact phrase".
Use the plus sign to search for +one +or +more +words.
Use the minus sign to -exclude -certain -words from your search.
Limits search results to topics that have no replies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
19 results
Sorted by:
Best Match
  • Date
  • Views
  • Likes
  • Replies
  • Best Match

Compound yearly return using monthly return

by Quartz | Level 8 tritringuyen in SAS Procedures
‎02-26-2017 12:16 PM
‎02-26-2017 12:16 PM
Hi, I want to calculate compound yearly return for each company (gvkey) for each fiscal year (with year end is FY_date). The issue is that companies may have different year end. Monthly return is m...
Show results in replies (1)
  • @tritringuyen   Don't calculate cumulative products, get cumulative SUMS of log(mret ...

Calculate Compounding Monthly Returns using daily returns

by Pyrite | Level 9 MAC1430 in SAS Programming
‎04-27-2017 03:00 AM
‎04-27-2017 03:00 AM
Hi everyone,   Can you please help me to calculate compounding monthly returns using daily returns? The first step, if the number of non-missing daily returns or daily return with a value e...
Show results in replies (3)
  • ...ant additional filters while estimating monthly compounding returns using daily returns. For e...
  • ...ad correct answers: https://communities.sas.com/t5/forums/searchpage/tab/message?q=Compounding+monthly...
  • OK. This much more clear .   data have; infile cards expandtabs truncover; input stock da...

How to calculate annual compounding returns based on monthly return da...

by Calcite | Level 5 amanda_cz in SAS Programming
‎08-18-2014 10:18 PM
‎08-18-2014 10:18 PM
Currently I have multiple years' data for multiple firms of the monthly stock returns. Firm_ID year month return 101 2002 1 0.05 ... 101 2014 12 0.03 102 2003 1 0...
Show results in replies (1)
  • ...bsp; compound_ret=1;            compound_ret=compound...

HELP!!! COMPOUND Monthly Return

by Calcite | Level 5 556 in SAS Procedures
‎12-04-2014 08:27 PM
‎12-04-2014 08:27 PM
CompanyA 1.3% 3.9% 1.7% 0.5% 0.1% 3% 4% 5% 1% 0.7% 6% 4.7% Months Jan Feb Mar Apr May June July Aug Sep Oct Nov Dec if invest 3000 per month, first monthly return =3...

compounded annual returns

by Calcite | Level 5 shalmali in SAS Procedures
‎11-17-2013 01:02 AM
‎11-17-2013 01:02 AM
Hi All, I want to calculate Annual stock returns by compounding monthly stock returns for a twelve-month period ending four months after the end of the fiscal year of the firm. The information I h...

Help in calculating 5-year compounded return on monthly data

by Calcite | Level 5 danielhu in SAS Programming
‎04-12-2015 01:04 AM
‎04-12-2015 01:04 AM
Hi, I have a large data of monthly stock price from 1985 Aug-1990 July. And I am required to calculate the 5 year compounded return for each stock. How do i go about it? An example would as below, f...

How to construct monthly rebalanced/overlapping dataset

by Obsidian | Level 7 ZZB in SAS Programming
‎03-04-2014 10:24 PM
‎03-04-2014 10:24 PM
...bsp;    22                    ........ I know how to calculate the avearge monthly returns...
Get Momentum Stocks _ WRDS SAS Code.pdf (‏16 KB)

Help! Combining returns of portfolio based on two sorting variables

by Calcite | Level 5 Sheharyar24 in Statistical Procedures
‎07-18-2014 02:36 PM
‎07-18-2014 02:36 PM
...ill really be grateful. Thanks in advance. Momentum Strategies Based on Raw Returns and Sorted by Size (1980-2004) This table reports the average monthly returns of momentum portfolios formed b...
price_momentum_and_institutional_ownership.pdf (‏187 KB)

Working with Dates and Times in SAS (Tutorial)

by Community Manager ChrisHemedinger in SAS Communities Library
‎01-02-2018 02:53 PM
10 Likes
‎01-02-2018 02:53 PM
10 Likes
...ate and datetime ranges How to count the number of intervals (days, weeks, months, years) between events  Advanced methods for calculating duration, including examples that use health care d...
Date and Time Tutorial AHKarp.pdf (‏2,807 KB)
Labels:
  • New SAS User
  • SAS Conference Papers
  • SAS Programming

PROC HTTP: Using the Web to Combat Fraud in Auto Finance During a Glob...

by Calcite | Level 5 JOSHPIERS in SAS Global Forum Proceedings 2021
‎03-15-2021 09:47 AM
‎03-15-2021 09:47 AM
...dealership to float cash since it typically only has to pay a monthly interest amount as opposed to the full amount for the vehicle when it sells. Compounded, this practice can set a dealer back b...
Paper 1121-2021 - Joshua Piers.pdf (‏396 KB)
Labels:
  • Programming
  • « Previous
    • 1
    • 2
  • Next »
Powered by Khoros