[R] Yield-to-Maturity problem

Bert Gunter
Thu, 16 Nov 2017 15:55:20 -0000

This list has a no homework policy.

Also, please read the posting guidebelow to learn what sorts of posts are
legitimate and how to post.
Note: plain text , not html, which often gets mangked by the server.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Thu, Nov 16, 2017 at 6:25 AM, Alexander Bergm?ller <
AlexanderB.22 at hotmail.de> wrote:

> Hello everybody,
>
> I am not very advanced in my R skills so I really hope anybody of you can
> help me with this problem on which I have been working for hours.
>
> I would like to write a function, which can guess the yield-to-maturity
> for any values: C, NV, r, s1, s2, and for a freely chosen tolerance (tol).
>
> Additionaly, for freely chosen T; -> s1, s2, s3, ..., sT
>
> I appreciate your help so much.
> Greetings,
>
> Alexandra Becker
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]