Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8623103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:12:22+00:00 2026-06-12T07:12:22+00:00

I am perplexed. The problem I am working on (using financial package in R)

  • 0

I am perplexed. The problem I am working on (using financial package in R) is ,

Question : How much money must Carol deposit every year starting 1 year from now at 5.5 % per year in order to accumulate $6000 seven years from now?

My correct solution is :

> 6000/usfv(5.5,7)
[1] 725.7865

I think this should also work… but does not:

> tvm(i=5.5,n=7,fv=-6000,pmt=NA,pyr=1)

Time Value of Money model

   I% #N PV    FV    PMT Days #Adv P/YR C/YR
1 5.5  7  0 -6000 687.95  360    0    1    1

I am getting a difference PMT amount. Does anyone have an insight in why I a getting the difference

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:12:23+00:00Added an answer on June 12, 2026 at 7:12 am

    Trying to check the numbers manually and playing with the indices helped me understand what is going on:

    p1 <- 6000 / usfv(5.5,7)
    

    matches the expectation that

    sum(p1*(1 + 5.5/100)^(0:6))
    # [1] 6000
    

    For

    p2 <- tvm(i=5.5,n=7,fv=-6000,pmt=NA,pyr=1)[1,"PMT"]
    

    you have to change the time of the cashflows to get

    sum(p2*(1 + 5.5/100)^(1:7))
    # [1] 6000
    

    In other words, usfv assumes cashflows at times 1 through 7 while tvm assumes cashflows at times 0 through 6 (and both functions assume future value is at time 7.)

    P.S.: when testing my intuition, I also found that both functions cannot work with a zero interest rate (one returns NaN, the other errors out.) These on top of the useless documentations: I would not recommend that package…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm perplexed that the R.oo package installation fails on RStudio server, any idea on
I am completely perplexed. I asked this question and it (any mentioned solution) doesn't
I'm really perplexed as to what the problem could be. I put libbson.a libbson.so
I'm perplexed as I'm not the method below is seemingly NOT working when looking
This is a strange problem but I am perplexed on how to solve this
I'm perplexed by the below. I've been using LINQ in my projects using formats
I have a problem getting my observers working properly when on specific threads. Subject<bool>
I have encountered a strange linker problem that has me utterly perplexed : I
I wrote something using atomics rather than locks and perplexed at it being so
I have an iPhone localization problem that has me perplexed. I was localizing my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.