ПочатиПочніть безкоштовно

The weights of an equally weighted portfolio

One of the most commonly used portfolios in investing is the equally weighted portfolio. This means that you choose to invest an equal amount of capital in each asset.

Suppose a portfolio is equally invested in \(N\) assets, where N <- 100. Use the R console to determine which of the following commands defines the weight vector for an equally weighted portfolio.

Ця вправа є частиною курсу

Introduction to Portfolio Analysis in R

Переглянути курс

Практична інтерактивна вправа

Перетворіть теорію на практику за допомогою однієї з наших інтерактивних вправ

Почати вправу