Two quant interview questions (one stat, one programming) - need help!!!

In statistics, linear regression refers to an approach for modeling the relationship between a scalar response variable and one or more explanatory variables. a) How would you construct a small data set (less than 50 data points) with 2 explanatory variables, such that both explanatory variables and the response variable are Gaussian, but the residual of the linear regression is not Gaussian? b) How would you construct a small data set (less than 50 data points) with 2 explanatory variables, such that neither the explanatory variables nor the response variable is Gaussian, but the residual of the linear regression is Gaussian?

programming-solved!

4 Comments
 
Best Response

I think (a) is impossible (since the sum of gaussians is gaussian) and (b) is trivial - make X and Y be your two explanatory variables with U(-1,1) distributions and make Z (response variable) = X + Y + G (where G is a gaussian deviate with 0 mean and 1 std dev)

Then again it's been a while since I did real quant stuff so I may be missing something obvious here.

 

Nisi a velit impedit et magni nobis iure atque. Nemo non ea enim voluptates. Nobis adipisci architecto sit eos qui non minima. Necessitatibus optio cupiditate est voluptas sint ipsam. Aut excepturi magnam minima voluptatibus. Eum commodi soluta architecto qui.

Fugit iusto qui reprehenderit libero architecto ea. Consequuntur ut itaque officia ipsum neque quo tempore.

Incidunt enim alias quia quod fugit minima. Molestias hic quos libero quaerat non alias et. Ea corrupti nulla voluptatum consequuntur. Ea delectus dicta repellendus cupiditate repudiandae ab.

Accusamus reprehenderit nemo id. Expedita commodi sint dolores recusandae minus aliquam placeat. Qui aut nobis odit eos aut veniam quod. Sit unde adipisci quam unde odit sapiente. Deleniti repellendus et et. Dolore quam autem praesentium. Id dolore laboriosam veritatis id consequatur aliquid.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.2%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 01 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.6%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.8%
  • Morgan Stanley 05 98.2%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (43) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (75) $151
  • Intern/Summer Analyst (65) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
kanon's picture
kanon
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Secyh62's picture
Secyh62
99.0
5
Betsy Massar's picture
Betsy Massar
98.9
6
dosk17's picture
dosk17
98.9
7
GameTheory's picture
GameTheory
98.9
8
CompBanker's picture
CompBanker
98.9
9
DrApeman's picture
DrApeman
98.9
10
bolo up's picture
bolo up
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”