The data I have is on the country, sector and time level. Specifically, I am finding the proportion of a sector's manufacturing output to the country's total manufacturing output for each country and year, i.e. group (CTY Time). The format of this data I am constructing is to be a vector. The problem is that mkmat may not be combined with the by command. Would anyone know a way around this? Thank you very much in advance!
Related Posts with Matrix and Vector Manipulation
Bootstrap for difference in proportionsDoes anyone know how to bootstrap the 95CI and obtain the p-value for the difference in proportion o…
bysort and vce optionHi, I am a graduate student. First, I will explain my situation. I have a dependent variable(score)…
How do you identify ICD-10-CM codes in Nationwide Inpatient Sample (NIS) using STATA?NIS has 40 Diagnoses (dx1 to dx40) listed for every patient. I am trying to find how many have diabe…
Create a new variable to combine the value of other variablesHi all, I have a dta file with data set as : fid year tbl_2001 tbl_2002 tbl_2003 tbl_2004 tbl_2005 …
Merging datasetHi, I want to ask a question on merging dataset. My Master dataset looks like an example given belo…
Subscribe to:
Post Comments (Atom)
0 Response to Matrix and Vector Manipulation
Post a Comment