QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: CSE 291 Assignment 1, 2005
Views: 1586, Unique: 554 
Subscribers: 1
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 26-41  10-25 of 41  1-9 >>
About these ads
Who | When
Messagessort recent-bottom   
Post a new message
 
SH  25
01-13-2005 08:44 PM ET (US)
In probem #2. Can we assume anything about the independence of the ages of the husband and wife?
Charles ElkanPerson was signed in when posted  24
01-13-2005 12:03 AM ET (US)
/m21 answer: An algebraic expression is ideal, but failing that, an expression to be maximized numerically is almost as useful in practice.

In both cases, one or two figures to show qualitatively how m depends on c, d, s^2, and n would be informative.
Charles ElkanPerson was signed in when posted  23
01-12-2005 11:59 PM ET (US)
/m20 answer: Yes, if we are risk-neutral and we don't have the oracle, we will always invest in the stock market. However, the answer from the oracle may cause us to invest in cash for the first m years. We will always invest in the stock market for the last n-m years.

The oracle tells us the outcome of the random variable SUM xi for i=1 to i=m. Knowing the actual outcome is better than knowing its expectation!
Charles ElkanPerson was signed in when posted  22
01-12-2005 11:55 PM ET (US)
/19 answer: I just mean that every y value is a member of the set {0,1}. y can be dependent on x. This means that p(y|x1) =/= p(y|x2) in general.
Ryan Kelley  21
01-12-2005 07:48 PM ET (US)
In problem 4, are we expected to generate an algebraic expression for m where the gain is maximized? That is, something of the form, gain is maximized at m = F(c,d,s), or is it sufficient to give an function, F(c,d,s,m), which should be maximized (presumably numerically) with respect to m?
Stephen Krotosky  20
01-12-2005 06:55 PM ET (US)
I'm sorry, but I guess I'm still missing something after your clarification of Problem 4. If we only look at expected values, don't we always expect the stock market outperform the cash investment, since d>c. If we don't care about risk, why wouldn't we always invest in the stock market?

I guess I'm just having trouble formulating the problem so that we can find a optima for m that will correlate to maximium expected wealth or something to that effect.
Stephen Krotosky  19
01-12-2005 05:53 PM ET (US)
For problem 1c, do you mean that we assume p(y|x) = k for y=1 and (1-k) for y=0? or is it something more complicated so that y can be 0 or 1, but dependent on x also?
Charles ElkanPerson was signed in when posted  18
01-10-2005 08:40 PM ET (US)
For problem 4, just pay attention to the expected value of your wealth under alternative policies. That is, do not pay attention to risk. From this point of view, a 10% chance of $1000 is worth the same as a 50% chance of $200: you are neither risk-loving (like a gambler) nor risk-averse (like most real investors).

The value of the information is the expected extra profit that the information allows.
Stephen Krotosky  17
01-10-2005 08:29 PM ET (US)
On problem 4, I can see how we can get to a point where the value of investing in the stock market will be above the value of a cash investment with a certain probability.

Selecting m will change that probability. Namely, we can find an m corresponding to the cash investment being k standard deviations from the mean of the stock investment. The question is how many standard deviations, or equivalently, what probability of being better than the cash investment is desired?

This seems like it is dependent on how much you are willing to "gamble". Is it OK to leave the selection of m as a function of k standard deviations or probability?

Also, for part b, I'm a bit confused as to what makes a good price for the oracle. I initially thought that paying something less than the difference between the cash and expected stock market returns would be good, but that doesn't seem ok, since a large percentage of the time, you may make more than the cash but less than the expected value of stock market, resulting in a loss.

Can you say something about how to go about the selection of the appropriate cost, given the method for selecting m I described above. Thanks.
Charles ElkanPerson was signed in when posted  16
01-10-2005 02:47 PM ET (US)
Someone asked me whether instead of Matlab you can use Octave, an open-source alternative. The answer is yes, but I recommend Matlab.

Matlab is expensive, but a full student version is available at the UCSD bookstore for only $100.

Compared to Octave, Matlab is more comprehensive, and more widely used by other researchers. Matlab can increase research your productivity by more than it costs.

I am generally favorable to the open-source philosophy, but I am not a fan of open-source projects that mostly just aim to copy the functionality of existing software products. Doing that seems like a waste of human talent. Innovation should be rewarded and extended rather than copied.
Charles ElkanPerson was signed in when posted  15
01-08-2005 03:53 PM ET (US)
Assume that the age difference can be negative, i.e. do not take the absolute value. As you say, this would make the problem much harder. Also, it would be scientifically less interesting, if this was a real-world scenario.
Hyun Min Kang  14
01-07-2005 08:33 PM ET (US)
/m12 Thanks for your answer. I have another question on problem 2. Did you mean the age difference can be negative? Is it x-y or |x-y|? By definition, it seems to be latter one, but it makes the problem much complicated.
Charles ElkanPerson was signed in when posted  13
01-07-2005 02:02 PM ET (US)
I've received a lot of feedback saying it would be helpful to extend the deadline, so we'll extend it by one week, to Tuesday January 18. Please use the extra time to review basic statistics and probability!
Charles ElkanPerson was signed in when posted  12
01-07-2005 12:02 AM ET (US)
/m11 answer: You are right that when you generate simulated data, the std. devs will not be exactly 4.0 and 3.0. That's ok. Every simulation only captures some aspects of the real-world phenomenon being studied. It's a judgment call whether the important aspects are being captured. The same is true for every mathematical model: it never captures all aspects of the real world.

Use real-valued ages for mathematical simplicity. Forcing ages to be integers would be an unnecessary layer of complexity.
Hyun Min Kang  11
01-06-2005 07:57 PM ET (US)
Edited by author 01-06-2005 07:59 PM
For the simulation in problem 2, you told me that assuming Gaussian would be sufficient. I have a few more questions on this.

1. The problem says that the standard deviation of the husbands' and wives' ages are four and three, respectively. Even if I assume a Gaussian distribution with the stdev, the stdev of n sampled data might not be exactly 4.0 and 3.0. Would it be okay? I guess so, but it looks like not okay by the statement itself in the problem. "In a sample of n married couples, the standard deviation of the husbands' ages is four years, and the standard deviation of the wives' ages is three years."

2. The ages are integers usually. Do you want us to use integer value of ages, or just a real value?

Thanks,

Hyun
Charles ElkanPerson was signed in when posted  10
01-06-2005 07:08 PM ET (US)
I have made a couple of small corrections to the notes about Question 4--nothing major.
RSS link What's this?
All messages    << 26-41  10-25 of 41  1-9 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.