Questions tagged [irr]

The internal rate of return (IRR) or economic rate of return (ERR) is a rate of return used in capital budgeting to measure and compare the profitability of investments. It is also called the discounted cash flow rate of return (DCFROR) or the rate of return (ROR)

The internal rate of return (IRR) or economic rate of return (ERR) is a rate of return used in capital budgeting to measure and compare the profitability of investments. It is also called the discounted cash flow rate of return (DCFROR) or the rate of return (ROR)

88 questions
0
votes
2 answers

calculate IRR on dateframe

How calculate IRR on dateframe(df). I have…
0
votes
0 answers

How do I calculate incidence rate ratios for a categorical variable with more than two levels?

I am trying to calculate incidence rate ratio for each level of an an exposure variable in Dtata, but I'm only finding that I can do it when the exposure variable has only two levels. The exposure variable I am using is "agegroups" which has 5…
Becky
  • 1
  • 1
0
votes
1 answer

How to calculate internal rate of return (IRR) and yield to maturity (YTM) in Sympy

How do I calculate internal rate of return (IRR) and yield to maturity (YTM) in Sympy? I am trying to calculate the YTM of a bond of $1000 face value that pays $50 in coupons every year. The bond is currently selling for $900, and matures in 3…
Flux
  • 9,805
  • 5
  • 46
  • 92
0
votes
1 answer

How to calculate internal rate of return (IRR) and yield to maturity (YTM) in Maxima

How do I calculate internal rate of return (IRR) and yield to maturity (YTM) in Maxima? I am trying to calculate the YTM of a bond of $1000 face value that pays $50 in coupons every year. The bond is currently selling for $900, and matures in 3…
Flux
  • 9,805
  • 5
  • 46
  • 92
0
votes
1 answer

Calculation of Internal Rate of Return (IRR) in C#

Good evening, I ran into the problem of calculating IRR in C# for an array of cash flows. On the advice from another topic, I used the ExcelFinancialFunction package, but when calculating it gives an error: System.Exception: "Not found an interval…
0
votes
0 answers

Inter-rater reliabilty using raters packaing in R - Light's kappa

I have 5 raters who have rated 10 subjects. I've chosen to use the Light's Kappa to calculate inter-rater reliability because I have multiple raters. My issue is that when there is strong agreement between the raters, Light's kappa cannot be…
Roaring
  • 59
  • 7
0
votes
0 answers

Inter-rater reliability with Light's kappa in R

I have 4 raters who have rated 10 subjects. Because I have multiple raters (and in my actual dataset, these 4 raters have rated the 10 subjects on multiple variables) I've chosen to use the Light's Kappa to calculate inter-rater reliability. I've…
Roaring
  • 59
  • 7
0
votes
0 answers

Excel IRR formula in javasript

public static async IRRCalc(CArray: string | any[], guest: number) { const inc = 0.000001; let NPV; do { guest += inc; NPV = 0; for (let j = 0; j < CArray.length; j++) { NPV +=…
0
votes
1 answer

How to loop over grouped data Payments and dates in Pyxirr library in XIRR function

I am trying to get XIRR for each customer with multiple entries with dates and payments in float. I want to find XIRR for each customer by grouping them with Unique ID Code I am trying import pandas as pd from pyxirr import xirr result =…
Ajit
  • 39
  • 6
0
votes
1 answer

Passing an array into the IRR function in VBA. Keep getting the error "Compile error: Type mismatch: array or user-defined type expected."

I'm calculating the IRR of an array in VBA. Here's my ugly code: Dim iRRArray() As Variant Erase iRRArray() ReDim iRRArray(garageLife) Dim i As Integer i = 0 Do While i <= garageLife Dim difference As Double difference =…
hthrp
  • 1
  • 1
0
votes
1 answer

Internal rate of return calculation with a growing perpetuity

I'm pretty new in coding and I'm trying to learn it for application in finance. I should to find the r variable in this equation that I'm sharing. Can someone help me? enter image description here Basically I have one cashflow that I invest now with…
0
votes
1 answer

Calculating a Rolling IRR in Excel

I have two columns that I'd like to use to calculate a rolling monthly IRR with. The data looks like this: Date Net Cash Flow Principal IRR 2023-01-31 0 0 idk 2023-02-28 -62 62 …
weskpga
  • 2,017
  • 7
  • 29
  • 43
0
votes
0 answers

Error in R when using psych- Error in if (n.obs < n.obs.original) message("Warning, missing data were found for ", : argument is of length zero

Whenever I try to analyse my data using R it comes up with the above error message does anybody know why this is?
0
votes
1 answer

Calculate percentage agreement between values in every row

I'm trying to calculate the intra-class correlation between two raters and multiple subjects. However, I also want to be able to determine the raters' agreement for each and every subject so I can determine what areas have high agreement/low…
0
votes
1 answer

Different Robust Standard Errors of Poisson regression in Stata and R

i am not getting the same results by following Hilbe's, J. 2011 procedure (herein referred to as "the book") on page 20. The procedure is for computing Poisson regression with robust standard errors using the titanic data set in glm R. Hilbe's…
cn838
  • 69
  • 8