Hi everyone,
I just started using STATA and I am wondering how can I compute covariances and variances for my variables at each date separately? I have to compute covariance of each portfolio return(45 portfolios in total) with cash-flow news variable at each t (877 months) and variance of my new variable (N_cf - N_dr) (cash-flow news minus discount rate news) also at each t (877 months) from my data set.
Any help from your side would be much appreciated!
Related Posts with Variances and Covariances in the panel data
Function to give year of startDear all, I have a dataset with the US census for the 1970-1999 period combined with a dataset with…
lincom calculation for a subset of dataHello, I'm trying to calculate the dfiference of certain Times on the basis of a mixed-effect linear…
How to analyze Panel Survey Data (Likert scale questions)Hi all, I would like to analyze a two-period survey data with attrition, with both dependent and in…
Lexis-diagramLexis I have wondered why there isn't any good Lexis-plot command in Stata? Most of them are very o…
Percentile based on age and year using loopHi all, I have a dataset that includes total income, variable age ranges from 25 to 54, year from 1…
Subscribe to:
Post Comments (Atom)
0 Response to Variances and Covariances in the panel data
Post a Comment