Introduction to Portfolio Analysis in R
Kris Boudt
Professor, Free University Brussels & Amsterdam
There are two similar companies: Do you invest in either of them based on a coin toss?
There are two similar companies: Do you invest in either of them based on a coin toss?
There are two similar companies: Do you invest in either of them based on a coin toss?
There are two similar companies: Do you invest in either of them based on a coin toss?
values <- c(500000, 200000, 100000, 20000) names(values) <- c("Inv 1", "Inv 2", "Inv 3", "Inv 4") weights <- values/sum(values)
barplot(weights)
values <- c(500000, 200000, 100000, 20000) names(values) <- c("Inv 1", "Inv 2", "Inv 3", "Inv 4") weights <- values/sum(values)
barplot(weights)
Introduction to Portfolio Analysis in R