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
Conformability error, r(503)Hi. I've been getting the conformability error r(503) on running the code below. Obviously my matrix…
Difference in Difference in Matching by incorporating geographical fixed effectsDear All, I would like to ask about matching. If I have a panel data and I want to run Difference i…
how to create a factor variable in this case? and what is a threshold?Create factor variable “pop_fact” out of population, consisting of three categories: low populated, …
Netherlands coordinates not matching when reverse geomatchingHello, I am using the 'geoinpoly' package to extract countries from coordinates. The data I am usin…
Option for mass replace instead of manually replacing many string variablesHello Statalisters, I want to merge two datasets using two string identifiers i.e. name of state an…
Subscribe to:
Post Comments (Atom)
0 Response to Matrix of sums of submatrices
Post a Comment