Comments (2)
Excel uses a different root-finding algo, so it's not guaranteed that the results are the same for the functions like Rate
(there're other differences too).
When the approximate rates are known, it's always better to specify guess
parameter. The library default guess is 0.1, which is too far from the expected value in this case and the lib doesn't find the root (we could increase the number of iterations, but that would be slower). Here that might be 0.04 or 0.05 or even 0.06.
Note, that in general case you won't get the same results as in Excel anyway
Financial.Rate(260.0,-60.0, 13500.0, 1400.0, PaymentDue.BeginningOfPeriod, 0.04)
Alternatively, you can use any solver to find the rate from FV(r,...) - fv = 0
Probably, it makes sense to adjust the algo, but hard to say what the library defaults should be.
from excelfinancialfunctions.
Hi, I'm cleaning up old issues. From luajalla's comments, it seems that this issue is by design. And the behavior is covered in the docs. I don't expect any further change here, so closing.
from excelfinancialfunctions.
Related Issues (20)
- ExcelFinancialFuctions equivalent for Percentile.Inc HOT 2
- Generating Documentation HOT 7
- Compilation error on local machine HOT 3
- C# .NET Core Port HOT 4
- FSharp.Core 4.3.4 Nuget update HOT 3
- Behavior of AccrInt does not match Excel when firstInterest <= settlement HOT 4
- Call for maintainers HOT 4
- Compile project HOT 1
- Find Root operation does not follow Excel spec as stated in comment => common.fs HOT 2
- The interaction of Bisection and Newton algo in findRoot needs review HOT 5
- Disable unstable test: mduration shouldn't be greater than maturity()
- Release 3.0.0-rc1 HOT 10
- Release 3.0.1 HOT 7
- GitHub pages are not working? HOT 3
- Implement CAGR/RRI HOT 2
- Release 3.0.0 HOT 1
- Implement PDURATION
- Release 3.1.0 HOT 2
- Release 3.2.0
- Release 3.3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excelfinancialfunctions.