Hello,
Does anyone know if there is a simple way to create a matrix from single-observation values? For example, suppose I have a dataset that contains 1 observation (for more than 1 I will use a loop) and Nx(N-1)/2 + N variables, each of which contains a correlation between something and something else (these somethings have been previously computed, for example via mgarch dcc). I'd like to create an NxN upper triangular matrix of these correlations.
Thank you,
Stan
Related Posts with create a matrix from single-observation values
Different result with Abrigo and Love (2015)Hi all, I used Abrigo and Love (2015)'s pvar package available from the Stata Journal and repeat the…
The percentage of independent directors on the boardHi everyone, For my research I need 1 more control variable. I need a control variable which equals…
Change observations valuesHello, I recently started using STATA however I have a datset with approximately 7 million observati…
Endogeneity test for conditional logistic regressionHi, I'm trying to do a Hausman test for checking endogeneity. I have cross sectional data with a ma…
How to drop duplicate observations within two different variables?Hello everyone, I know that it is possible in Stata to drop duplicates. My problem is that I have t…
Subscribe to:
Post Comments (Atom)
0 Response to create a matrix from single-observation values
Post a Comment