Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- How to find volatility of asset using two equation

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-17-2019
06:10 AM

10-17-2019
06:10 AM

How to find volatility of asset using two equation

Hi, I'm a Quantitative Sciences student and a first-time user of Mathcad.

As I do not have information on the asset volatility, I need to compute the value of asset volatility using two equations. However, the comment said that "The variable is undefined.."

May I know how to solve it? Thank you so much.

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-17-2019
07:18 AM

10-17-2019
07:18 AM

Re: How to find volatility of asset using two equation

we outlined the steps as follows –

- Calculate the average
- Calculate the deviation – Subtract the average from the actual observation
- Square and add up all deviations – this is called variance talktowendys
- Calculate the square root of variance – this is called standard deviation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-17-2019
08:15 AM

10-17-2019
08:15 AM

Re: How to find volatility of asset using two equation

Please check this Forum for examples of using a solve block with Prime (as it differs w.r.t. Mathcad 15 and before).

Regarding your sheet:

You can omit the "Given".

Move the constraint equations (E=.... and sigmaE*E=...) to the "Constraints" section of the solve block.

Provide a guess value for sigmaA (sigmaA := <a value>) in the "Guess Values" section of the solve block.

Come back here, with your updated sheet if you've done the above and there's still a problem.

Then do not forget to state which version of Prime you are using.

Success!

Luc

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-17-2019
08:43 AM

10-17-2019
08:43 AM

Re: How to find volatility of asset using two equation

You need a guess value for sigmaA.

And maybe I don't follow what you are trying to do, but the second equation by itself will lead you to a solution for sigmaA. One equation one unknown. (I suppose the first equation should do, but I get no solution found).

Given your setup both equations can't be satisfied with a single sigmaA. Do you need to solve for a second variable also? Like this:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-17-2019
08:52 AM

10-17-2019
08:52 AM

Re: How to find volatility of asset using two equation

You've (perhaps) used "old" Mathcad. Prime's solve blocks are a bit different"