PVP Function
            
         
         
         Returns the present value for a periodic cash flow
            stream (such as a bond), with repayment of principal at maturity.
            
         
         
         
         
         
         
         
         
         
         
         
            
            Syntax 
               
            
            
            
            
            
               
               
                  
                  Required Arguments
                     
                  
                  
                  
                  
                  
                     
                     c
                     
                     
                        
                        specifies the nominal
                           per-year coupon rate, expressed as a fraction.
                           
                        
                        
                        
                        
                      
                     
                   
                  
                  
                     
                     n
                     
                     
                        
                        specifies the number
                           of coupons per year.
                           
                        
                        
                        Range: 
                           
                           
  and is an integer
                           
                        
 
                        
                      
                     
                   
                  
                  
                     
                     K
                     
                     
                        
                        specifies the number
                           of remaining coupons.
                           
                        
                        
                        Range: 
                           
                           
  and is an integer
                           
                        
 
                        
                      
                     
                   
                  
                  
                     
                     k0
                     
                     
                        
                        specifies the time
                           from the present date to the first coupon date, expressed in terms
                           of the number of years.
                           
                        
                        
                        
                        
                      
                     
                   
                  
                  
                     
                     y
                     
                     
                        
                        specifies the nominal
                           per-year yield-to-maturity, expressed as a fraction.
                           
                        
                        
                        
                        
                      
                     
                   
                  
                
               
             
            
          
         
         
            
            Details 
               
            
            
            The PVP function is
                  based on the relationship 
                  
               
 
               
               
                  
                
               
               The following relationships
                  apply to the preceding equation:
                  
                  
                  
                     
                     
                        
                        - 
                           
                           
                           
                        
 
                        
                        - 
                           
                           
 
                                 
                                  
                                 
                               
                              
                            
                           
                         
                        
                        - 
                           
                           
                           
                        
 
                        
                     
                     
                    
                  
                
               
             
            
          
         
         Example 
            
            data _null_;
p=pvp(1000,.01,4,14,.33/2,.10);
put p;
run;
The value that is returned is 743.168.