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
Combining groups of percentiles in collapseHi guys, I'm trying to collapse a large dataset by year, gender, and economic sector but instead of…
Generate population data based on known population characteristicsHello everyone, My goal is to draw a random sample from a population of registered voters. However,…
high dimensional propensity scoresHi all, After high dimensional propensity scores matching in a research paper, I am asked this by a…
min, max, mean of correlaiton matrixI apologize if I've overlooked something, but I cannot find an answer. For simplicity, I'll use an e…
Panel data: plot the time series of cross-sectional averages and standard deviations for 2 variablesI have a panel data set and each observation is identified by an ID and a date. For example, there a…
Subscribe to:
Post Comments (Atom)
0 Response to create a matrix from single-observation values
Post a Comment