I have matrix A. I'd like to create a new matrix B where each element is the sum of a corresponding 60x60 submatrix of A. By sum I mean the sum of each element of the submatrix. How can I do that?
Related Posts with Matrix of sums of submatrices
Threshold for small/large T in quarterly panel dataDear all, Sorry for basic question. I am estimating dynamic panel data model for 40 countries &…
Creating variables for husband and wife using data for respondent and their partnerDear Statalist. I would like help to generate a variable, say level of education "educ" for the mal…
Creating a variable equal to 1 if a name (i.e., string) at time t-4 appears at time tI have Brazilian electoral data with the names of candidates who ran for mayor from 2000 to 2016. Th…
Coding a new variable: where a category selects 'high' responses for one variable only if there are low responses for another variableHi Statalist. I want to code 'impat' with three categories (1 = both low, 2 = one high, 3 = both hi…
Count and recordHi all, My data has four variables: acty, deady, nation, and id. "acty" is the year when company is…
Subscribe to:
Post Comments (Atom)
0 Response to Matrix of sums of submatrices
Post a Comment