Let $w$ denote a vector of portfolio weights, $r_i$ denote the $i$th return vector, $\Sigma$ denote the Covariance matrix of $r_i$ and let $\hat{\Sigma}$ denote the sample covariance matrix of $r_i$.
The portfolio variance is given by $$ \mathbf{Var}\left( w' r_i\right) = w' \mathbf{Var}\left( r_i\right) w = w' \Sigma w. $$ Does it hold for the sample portfolio variance that $$ \widehat{\mathbf{Var}}\left( w' r_i\right) = w' \widehat{\mathbf{Var}}\left( r_i\right) w = w' \hat{\Sigma} w? $$