Trying to conduct mean-variance portfolio optimization and need some help. Should I be using a correllation matrix or a sample covariance matrix?

I am seeing a ton of examples that use a correlation matrix, but the formula for portfolio variance uses covariance. What is correct here and why?

Portfolio variance = (weight(1)^2variance(1) + weight(2)^2variance(2) + 2*weight(1)*weight(2)*covariance(1,2)

πŸ‘︎ 23
πŸ’¬︎
πŸ‘€︎ u/Pipvault
πŸ“…︎ Sep 22 2013
🚨︎ report
On the Large-Sample Bias, Variance, and Mean Squared Error of the Conventional Noncentrality Parameter Estimator of Covariance Structure Models tandfonline.com/doi/abs/1…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/TrannyPornO
πŸ“…︎ Feb 09 2019
🚨︎ report
How do we Know the sample covariance between u and Y is zero?

In other words, how can we explain that the cov(Y-hat,u-hat)=0?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/keynesisgoat
πŸ“…︎ Sep 14 2019
🚨︎ report
[Statistics] Need help calculating covariance and expected value from a sample set

Hi. Let's assume that
i.) 60% of people are young i.e. under the age of 50 and rest are old
ii.) 35% of young people use glasses and 85% of old people use glasses.
We will pick a sample set of 100 (with a return). Let X be the number of young people in the sample and Y be the number of people who use glasses.

a.) Calculate E(X)
b.) Calculate E(Y)
c.) Calculate covariance Cov(X, Y)

My results:
a.) E(X) = sum of x, x*f_X(x) = 100 * 0.6 = 60, which makes sense as we would expect 60% of the sample to be young people.
b.) As Pr(X) = 0.6 and Pr(negation X) = 1 - Pr(X) = 0.4 and Pr(Y|X) = 0.35 and Pr(Y|negation X) = 0.85,
Pr(Y) = 0.6 * 0.35 + 0.4*0.85 = 0.55
So,
E(Y) = 100 * 0.55 = 55
c.)
Here's where I got stuck. I know that covariance is (in code)

sum = 0
for x=1 to n:
    for y=1 to n:
        sum += (x - E(X))*(y - E(Y))*f_X,Y(x,y)

How do I find the covariance with the given information?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/wabhabin
πŸ“…︎ Nov 30 2019
🚨︎ report
[Article] The surprising sample covariance matrix: Unexpected characteristics and understanding them

10.1121/1.4933859

https://asa.scitation.org/doi/abs/10.1121/1.4933859

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/3r2s4A4q
πŸ“…︎ May 13 2018
🚨︎ report
Given a Covariance and a sample vector, how do I find the percentage likelihood?

I have sample data of 9 dimensions. 3 for position, 3 for dimensions and 3 for orientation. They are not of the same scale. I have computed the covariance of this data, and now I have sample vector. I want to compute the percentage likelihood of this sample vector. How do I do this?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/soulslicer0
πŸ“…︎ Aug 04 2016
🚨︎ report
For all the producers out there here's a pretty dope FREE Violin plugin Called French Violin by Sample Science. It's got 6 different articulations, reverb, glide and different LFO controls. It's definitely worth checking out. I mean who doesn't need a solid violin in the collection? youtu.be/cTlQ-3w7Gvo
πŸ‘︎ 308
πŸ’¬︎
πŸ‘€︎ u/SumnSumnSumnHTK
πŸ“…︎ Jul 29 2021
🚨︎ report
Do you understand what this means??? We have 45.6m verified shares and 37.7k (1%) verified voters. Average share count is 1200. There's a 99.999% chance the sample size is correct +/- 1% (12 shares). 1200 x 4M share holders = 4.8B shares in circulation. The float is 500M. THIS IS FREAKING HUGE!!! reddit.com/gallery/oyb76c
πŸ‘︎ 97
πŸ’¬︎
πŸ“…︎ Aug 05 2021
🚨︎ report
melogit - sample and covariates

I'm running a random intercepts model on repeated measures data as such:

melogit outcome_var x1 x2 x3 x4  || participant_id, or

Essentially I have a sample that was followed up over the span of a couple years (so different participants were followed up at different times post-baseline measurements).

- However, only about 50% of the sample was followed up, would it be better to restrict the sample in the analyses to just those who were followed up on. Or... I've read in some places that melogit is quite robust to this so I wouldn't need to restrict the sample. Thoughts on this?

  • I'm also wondering whether I should include the wave or occasion variable in the model as a covariate. I'm just a little confused because participants were followed up at different times (I have no information on the actual time since baseline - I've only got an occasion variable indicated whether the information was collected at baseline or at a later follow up date).
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/lilakhd
πŸ“…︎ Jan 24 2021
🚨︎ report
Why shouldn't sample covariance be divided by n-2?

I can understand that population covariance should be divided by n, and the sample variance is divided by n-1. However, there are two unknown population means for sample covariance, why shouldn't sample covariance be divided by n-2?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/fffchao
πŸ“…︎ Oct 03 2016
🚨︎ report
Estimating population covariance matrix from many incomplete sample covariance matrices

What is the procedure for estimating the population covariance matrix from many incomplete sample covariance matrices?

For example, say my data consist of 7 flavors of time series, A-G. My goal is to estimate the population covariance among all 7 flavors. However, each of my (many) observation periods and thus my sample covariance matrices only contain 4 flavors each, selected at random, e.g. [B C F G], [A C D F].

My intuition is that it is some variant of mixed-effect modeling with pair-wise covariance being the fixed effect and per-observation flavor grouping being the random effect.

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/_Neuromancer_
πŸ“…︎ Jun 27 2017
🚨︎ report
Does this mean I'm descended of the Lombards and all these other people? | Ancient Sample Breakdown
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/JoshuaJerremy
πŸ“…︎ Sep 27 2021
🚨︎ report
Why do I get negative eigenvalues for a sample covariance matrix in matlab?

Covariance matrices are positive semidefinite, thus have all positive eigenvalues (http://en.wikipedia.org/wiki/Positive-definite_matrix). Does this problem occur simply because the columns of the matrix are nearly linearly dependent? Is there anything I can do about this if a method I'm doing (involving matrix logs, matrix exponentials, and matrix^.5's) requires positive eigenvalues?

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/DemonKingWart
πŸ“…︎ May 06 2013
🚨︎ report
Does anyone know what this β€œS” means on this Morgan? This is a buddies coin and he didn’t know. Neither did I. Any ideas? I’m thinking someone did it after mint. Maybe it’s a β€œsample” or a movie prop?? πŸ€·β€β™‚οΈ
πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/jdude2u
πŸ“…︎ Sep 02 2021
🚨︎ report
All reporters have pulled out of CES due to COVID. It is strictly business to business as reported generally in the media now. Does that mean we will get no media reviews of the new headset during CES? Is PIMAX sending review samples to anyone or allowing anyone to come in to try it out?
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/Thud2
πŸ“…︎ Dec 22 2021
🚨︎ report
Can someone tell influencers that 38 people is not a sample size and this isn’t peer reviewed so it means absolutely nothing? Especially when there’s things like genetics, age, etc. as variables?
πŸ‘︎ 77
πŸ’¬︎
πŸ‘€︎ u/SearsShearsSeries
πŸ“…︎ Jun 17 2021
🚨︎ report
Sample Covariance

Does anyone know how to find the sample covariance of two variables on a TI-Nspire CX? Our teacher only went over how to do it in the 84 and even that he did in like 30 seconds before the bell rang.

Thanks in advance!

πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Oct 12 2017
🚨︎ report
New job at Web’s is working out pretty, pretty, pretty good! Store sample for a new yarn means store credit y’all!
πŸ‘︎ 860
πŸ’¬︎
πŸ“…︎ Oct 08 2021
🚨︎ report
I went at Adidas outlet and got 19’s, 21’s and DNA’s for 50€ each - the guys there told me they were samples. What does that mean?
πŸ‘︎ 22
πŸ’¬︎
πŸ‘€︎ u/aarktoss
πŸ“…︎ Jul 18 2021
🚨︎ report
confidence band for sample covariance matrix

I have a data set that is iid. it could be multivariate normal, or not. Is it possible to get a confidence band for the sample covariance matrix, or should I simply calculate confidence intervals for pairwise correlations?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/FailedLifeForm
πŸ“…︎ Apr 11 2012
🚨︎ report
Has anyone and I mean anyone seen these is a size 14US or 48.5 EUR?! Off white bred samples
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/lymask32
πŸ“…︎ Jun 18 2021
🚨︎ report
So this is the research you're basing your scam on? Where your sample size is 41 participants and results showed no significant differences? Just because an article has buzzwords like randomised controlled trial doesn't mean jackshit if you have weak parameters!!
πŸ‘︎ 50
πŸ’¬︎
πŸ“…︎ Mar 21 2021
🚨︎ report
I walk up to you on the street and say β€œI have a random variable with mean 1, standard deviation 2, and I observed 25% of my samples taking a value larger than 9.” Do you believe me? Why or why not?

I have a task whose text is as follows:

>I walk up to you on the street and say β€œI have a random variable with mean 1, standard deviation 2, and I observed 25% of my samples taking a value larger than 9.” Do you believe me? Why or why not?

My answer is: I'm inclined to disbelieve you, but I can't be 100% sure. Here's why:

I'm inclined to disbelieve you if your random variable can be modeled after a Gaussian. Then I know that the probability of you observing 25% of your samples with a value larger than 9 (4 standard deviations from the mean) is miniscule and therefore I would distrust you.

On the other hand, maybe the probability distribution behind your variable is not Gaussian or Gaussian-like and therefore you metrics like the mean and the standard deviation don't behave as I expect them to.

My conclusion: I disbelieve, but keep an open mind because the probability distribution behind your random variable might not be Gaussian.

Is my answer correct?

πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ Jun 22 2021
🚨︎ report
For all the producers out there here's a pretty dope FREE Violin plugin Called French Violin by Sample Science. It's got 6 different articulations, reverb, glide and different LFO controls. It's definitely worth checking out. I mean who doesn't need a solid violin in the collection? youtu.be/cTlQ-3w7Gvo
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/SumnSumnSumnHTK
πŸ“…︎ Jul 28 2021
🚨︎ report
What means samples and shorts etc. in movie extras

Hello.

This is about a naming convention of movies and series. English is not my native language and I have one problem.

I know what means "behind the scenes" and "interviews". I also know what are "trailers"

But what is "sample"? I know what it means when the producer uses a sample in music, or if I go to the shopping center and got a free tasting sample from a new bread. I know that word, but what it means in movies. How it's different from "trailer"?

I read from other forums that "scenes" are just short clips that people want to watch over and over again without needing to watch the whole movie. But how they are different from "shorts" or "clips"?

And how do I know if something is "featurette" or "behind a scenes"? Wikipedia says that featurette is a "brief documentary film covering one or more aspects of the film creation process ... Β usually refers to "behind-the-scenes"–type bonus material ".

And about "deleted scenes". I know they are clips that are filmed and acted, but for some reason, they are not added for the final products. But how about so-called "bloopers". Should they go to the same folder as "deleted scenes" or should they go to "extras"? How do you usually do it?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Zeamar
πŸ“…︎ Aug 05 2021
🚨︎ report
What does 'sample' mean does shoes on the goat app and why are the prices different? Thanks! reddit.com/gallery/mlskw0
πŸ‘︎ 30
πŸ’¬︎
πŸ‘€︎ u/Ligma_patient_0
πŸ“…︎ Apr 07 2021
🚨︎ report
For all the producers out there here's a pretty dope FREE Violin plugin Called French Violin by Sample Science. It's got 6 different articulations, reverb, glide and different LFO controls. It's definitely worth checking out. I mean who doesn't need a solid violin in the collection? youtu.be/cTlQ-3w7Gvo
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/SumnSumnSumnHTK
πŸ“…︎ Jul 29 2021
🚨︎ report
TIL the African clawed frog was imported around the world to be used as a pregnancy test. Urine would be injected into the frogs and if the frogs had ovulated, that would mean the woman who produced the urine sample was pregnant. britannica.com/video/1827…
πŸ‘︎ 108
πŸ’¬︎
πŸ‘€︎ u/tealrose8
πŸ“…︎ Mar 31 2021
🚨︎ report
[WP] You are the commander of an alien fleet. You come in peace. As a token of goodwill, you give the Humans the schematics and samples of a simple fusion reactor. It should elevate the humans to a new era, but somehow the nations on Earth are very angry with you. What do the Humans mean by oil?
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/baelrog
πŸ“…︎ Jul 11 2021
🚨︎ report
Day one with Creality Ender 3 V2 I got this error after running the sample G code for 10 min. What does this mean and how do I fix it? reddit.com/gallery/nmop6n
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/AL-MightIE
πŸ“…︎ May 28 2021
🚨︎ report
Check the difference between means and medians in a sample and if it is significant

Hello,

I am quite a beginner with Stata and could use some help.

I have a sample where I would like to create a table listing the means and medians of the variables as well as the difference between the two.

I would also like to check if the difference between the mean and median of each variable is significant.

How can I do this?

Cheers

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/RoadRunner589
πŸ“…︎ May 22 2021
🚨︎ report
What does "Router" means in this chart and what does it do? Can anyone give example code or link to sample app that uses it?
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/ipponpx
πŸ“…︎ Jun 11 2021
🚨︎ report
This is Queso. He works at a cheese farm in Guatemala... and by β€˜works’, I mean he samples all of the cheese
πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/Zoccoraba
πŸ“…︎ Jan 09 2020
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.