Interview Question: Sample Variance

Sample Question #29 (statistics)

How do you calculate sample variance? Show me the formula and implement it in C or C++.

(Comment: I was asked this question at a hedge fund interview a few years ago – and I got both parts wrong! Needless to say I was feeling utterly mortified and defeated, and I didn’t get the trader job. The moral of this little story is: never assume a quantitative topic or interview question is "too" easy!)

Advertisements
This entry was posted in Sample Qs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s