GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Which code snippet below would correctly calculate the Sharp…

Which code snippet below would correctly calculate the Sharpe ratio for time series weekly_rets that represents 17 weeks of weekly returns? The risk free rate is represented by rfr

Read Details

Consider the following order book. Bid size Price Ask size 2…

Consider the following order book. Bid size Price Ask size 210.25 2000 210.20 2000 210.15 1500 490 210.10 500 210.05 1000 210.00 How would you expect the price to change over the next few minutes?

Read Details

What is the output of the following Python session? >>> def…

What is the output of the following Python session? >>> def func(x = 5): … g = 2 … return g – x … >>> z= 8 >>> g = 6 >>> print(func())

Read Details

According to the CAPM, which statement is true regarding Alp…

According to the CAPM, which statement is true regarding Alpha and Beta for a typical stock drawn at random from the market portfolio in upward trending market?

Read Details

Consider kNN, linear regression (LR), and Decision tree (DT)…

Consider kNN, linear regression (LR), and Decision tree (DT) learning (using correlation for splitting). Which option correctly lists the methods from fastest to slowest in query time?

Read Details

In CAPM, when returns are based primarily on an upward gener…

In CAPM, when returns are based primarily on an upward general market, this is called?

Read Details

According to the CAPM, which statement is true regarding Alp…

According to the CAPM, which statement is true regarding Alpha and Beta for a typical stock drawn at random from the market portfolio in an downward tranding market?

Read Details

Consider kNN, linear regression (LR), Decision tree (DT) (us…

Consider kNN, linear regression (LR), Decision tree (DT) (using correlation for splitting), and Random tree. Which model has the fastest training time?

Read Details

Consider two decision trees trained on the exact same data….

Consider two decision trees trained on the exact same data. DT was trained using correlation for splitting, RT was trained using splits determined randomly. Both trees were trained with leaf_size = 1. Which option below correctly describes (in order): The slowest to train, the slowest to query, the highest accuracy on in-sample data?

Read Details

Suppose you have historical stock price data with data missi…

Suppose you have historical stock price data with data missing on some days in history (the values are NaN). You still want to use the data in backtesting and calculation of technical factors. Which of the following options are recommended (in the book)?

Read Details

Posts pagination

Newer posts 1 … 68,683 68,684 68,685 68,686 68,687 … 82,584 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top