SERVING THE QUANTITATIVE FINANCE COMMUNITY

Search found 9695 matches

by Alan
June 16th, 2019, 11:21 pm
Forum: Brainteaser Forum
Topic: Get 24 from 1, 3, 4 and 6
Replies: 30
Views: 2730

Re: Get 24 from 1, 3, 4 and 6

In Mathematica: StringJoin[ToString[1*6/3], ToString[4]] 24 I would have concerns about the run-time efficiency. Do the strings use hashing? answer = StringJoin[ToString[1*6/3], ToString[4]]; Hash[answer, "SHA256"] 87843000942654739416790862908851944946087349408853794374923081877917692795355 Hash["...
by Alan
June 16th, 2019, 3:33 am
Forum: Brainteaser Forum
Topic: Get 24 from 1, 3, 4 and 6
Replies: 30
Views: 2730

Re: Get 24 from 1, 3, 4 and 6

In Mathematica:

StringJoin[ToString[1*6/3], ToString[4]]

24
by Alan
June 15th, 2019, 4:56 pm
Forum: Brainteaser Forum
Topic: Get 24 from 1, 3, 4 and 6
Replies: 30
Views: 2730

Re: Get 24 from 1, 3, 4 and 6

Can the numbers be used more than once? 
by Alan
June 15th, 2019, 4:41 pm
Forum: Brainteaser Forum
Topic: Get 24 from 1, 3, 4 and 6
Replies: 30
Views: 2730

Re: Get 24 from 1, 3, 4 and 6

Write 24 using 1, 3, 4 and 6 and +, -, * or / operators. You have to use all 4 numbers.
int main()
{
int a, b, c, d, answer;
a = 1;
b = 3;
c = 4;
d = 6;
answer = a/b + c*d;
printf("The answer is %d\n",answer);
}
// output: The answer is 24
by Alan
June 11th, 2019, 6:14 pm
Forum: Book And Research Paper Forum
Topic: Need some ideas for a thesis topic on Machine learning
Replies: 3
Views: 663

Re: Need some ideas for a thesis topic on Machine learning

Just thinking out loud, here's an idea. The official arbiter of US recession/expansion periods is the NBER. As you can see from  here ,  Q: Typically, how long after the beginning of a recession does the BCDC declare that a recession has started? After the end of the recession? A: The committee's de...
by Alan
May 31st, 2019, 3:29 pm
Forum: Student Forum
Topic: Estimating Volatility is easier than Estimating Stock Price?
Replies: 1
Views: 684

Re: Estimating Volatility is easier than Estimating Stock Price?

It's true -- assuming of course that the professor meant a future stock price.  A way to see it is to consider estimating the drift [$]\mu[$] and volatility [$]\sigma[$] in the stock price model [$]dX_t = \mu dt + \sigma dB_t[$], where [$]X_t = \log P_t[$] and [$]B_t[$] is a Brownian motion. Here [$...
by Alan
May 30th, 2019, 4:02 am
Forum: Economics Forum
Topic: Is the Treasury Yield spread best in class forecastor for recession
Replies: 3
Views: 636

Re: Is the Treasury Yield spread best in class forecastor for recession

Well, as the old saw goes, it's a market of stocks, not a stock market. Everyone can find some things to like and especially things to like 10% lower. 
by Alan
May 30th, 2019, 3:53 am
Forum: Politics Forum
Topic: Trump -- the last 100 days
Replies: 2991
Views: 92324

Re: Trump -- the last 100 days

I agree that Trump probably thinks so. But he has been disappointed in his legal picks before -- let's hope he's disappointed again. To return abortion law to the states at this point, given the precedents and recent noxious behavior by various states, would bring humiliation to the Court. I believe...
by Alan
May 29th, 2019, 7:56 pm
Forum: Economics Forum
Topic: Is the Treasury Yield spread best in class forecastor for recession
Replies: 3
Views: 636

Re: Is the Treasury Yield spread best in class forecastor for recession

Historically, those spreads are pretty good indicators of recessions. The problem with attempting this kind of market timing is that, even if you know you entering a recession, the stock market will typically bounce back at recession lows. So, while you may get out and avoid some pain, wait 'till it...
by Alan
May 29th, 2019, 2:56 pm
Forum: Politics Forum
Topic: Trump -- the last 100 days
Replies: 2991
Views: 92324

Re: Trump -- the last 100 days

I think these states passing egregiously unconstitutional abortion restrictions have just shot themselves in the foot. They have provided a vivid demonstration to the Supreme Court of why they can never return this issue to the states -- as the disparity of outcomes for women is laughably beyond the...
by Alan
May 29th, 2019, 12:03 am
Forum: Economics Forum
Topic: Cryptoglax - How It Works?
Replies: 3
Views: 610

Re: Cryptoglax - How It Works?

Wow, 113% after 15 days! I am eager to join your program and invest all the bitcoins I own. At this point, could you please post the names and short biographies of your top three officers? Somehow I missed that at your website. Thanks!
by Alan
May 27th, 2019, 9:49 pm
Forum: General Forum
Topic: Random Walk - Market Invariants
Replies: 1
Views: 526

Re: Random Walk - Market Invariants

A brief google suggests his "invariants" just mean (a set of) IID variates. In that model, as in every exponential Levy process, the log-returns over (disjoint) fixed intervals are IID variates. So the answer is likely any set: [$]\{\log P(t_i)/P(t_{i-j})\}[$], with [$]P(t_i)[$] the model prices, an...
by Alan
May 24th, 2019, 8:47 pm
Forum: Off Topic
Topic: which movie should I see this weekend?
Replies: 45
Views: 84292

Re: which movie should I see this weekend?

Any movie with zombies -- zombies are boring. (Unless they're White Walkers  :D)
by Alan
May 24th, 2019, 3:23 pm
Forum: Technical Forum
Topic: Partial Time Barrier Option
Replies: 5
Views: 574

Re: Partial Time Barrier Option

Good. Finally got the eqns to display.
GZIP: On