Mata Matters: Subscripting
Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. Subscripting is the subject of this column. Stata has three subscripting modes, and two of them are about more th...
Saved in:
Published in | The Stata journal Vol. 7; no. 1; pp. 106 - 116 |
---|---|
Main Author | |
Format | Journal Article |
Language | English |
Published |
Sage Publications, Inc
01.01.2007
|
Subjects | |
Online Access | Get full text |
ISSN | 1536-867X 1536-8734 |
DOI | 10.1177/1536867X0700700107 |
Cover
Loading…
Abstract | Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. Subscripting is the subject of this column. Stata has three subscripting modes, and two of them are about more than accessing an element of a vector or matrix. The advanced forms of subscripting can, by themselves, be the solution to some problems. |
---|---|
AbstractList | Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. Subscripting is the subject of this column. Stata has three subscripting modes, and two of them are about more than accessing an element of a vector or matrix. The advanced forms of subscripting can, by themselves, be the solution to some problems. Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. Subscripting is the subject of this column. Stata has three subscripting modes, and two of them are about more than accessing an element of a vector or matrix. The advanced forms of subscripting can, by themselves, be the solution to some problems. Keywords: pr0028, Mata, subscripts, list subscripts, range subscripts, sampling with replacement, permutation matrices and vectors |
Audience | Academic |
Author | Gould, William |
Author_xml | – sequence: 1 givenname: William surname: Gould fullname: Gould, William organization: StataCorp College Station, TX |
BookMark | eNplUE1LAzEQDVLBtvoHeuof2JpJ0s2st1LUChUPreAtZPNRIu1uSeLBf2-W6klmmDc85j2YNyGjru8cITOgCwAp72HJa6zlB5V0aKDyiowHskLJxehvLxc3ZJLSJ6VCAmNjMnvVWc_LyC6mh_nuq00mhnMO3eGWXHt9TO7uF6fk_elxv95U27fnl_VqWxmGkCsPrWMoam-XWGwBGUqHTmOjvTNgUQgQVrYWGmmR-hp1ix6LjNvGmIZPyeLie9BHp0Ln-xy1KWXdKZjypw-FXwkmBKOCQRGwi8DEPqXovDrHcNLxWwFVQxzqfxz8B4dBUp4 |
Cites_doi | 10.1177/1536867X0600600308 |
ContentType | Journal Article |
Copyright | COPYRIGHT 2007 Sage Publications, Inc. |
Copyright_xml | – notice: COPYRIGHT 2007 Sage Publications, Inc. |
DBID | AAYXX CITATION |
DOI | 10.1177/1536867X0700700107 |
DatabaseName | CrossRef |
DatabaseTitle | CrossRef |
DatabaseTitleList | CrossRef |
DeliveryMethod | fulltext_linktorsrc |
Discipline | Statistics Mathematics |
EISSN | 1536-8734 |
EndPage | 116 |
ExternalDocumentID | A424420421 10_1177_1536867X0700700107 |
GroupedDBID | -TM -~X 0R~ 123 51Z 54M AADUE AAGLT AAHPS AAQXI AARIX AATAA AAYXX ABCCA ABDBF ABEHJ ABIDT ABKRH ABPNF ABRHV ABTDE ABUJY ACCVC ACDXX ACHQT ACJER ACOFE ACOXC ACROE ACSIQ ACUHS ACUIR ADEBD ADRRZ AEEHM AENEX AESZF AEWDL AEWHI AEXNY AFKRG AFMOU AFQAA AFUIA AGKLV AGNHF AHDMH AJGYC AJUZI ALFTD ALMA_UNASSIGNED_HOLDINGS AMNSR ANDLU ARTOV BPACV CITATION DOPDO DV7 EAP EBS EJD ESX F5P FHBDP GROUPED_SAGE_PREMIER_JOURNAL_COLLECTION H13 IAO INS ITC J8X JAG OJV OK1 SAFTQ SAUOL SCNPE SFC SJN YHZ ZPPRI M4V |
ID | FETCH-LOGICAL-c281t-f1be2846fd5800418287e8ea89afec1d84414d7bd197d80f68ab8f8f1b3d9cc93 |
ISSN | 1536-867X |
IngestDate | Tue Jun 10 21:32:09 EDT 2025 Tue Jul 01 05:27:57 EDT 2025 |
IsDoiOpenAccess | false |
IsOpenAccess | true |
IsPeerReviewed | true |
IsScholarly | true |
Issue | 1 |
Language | English |
License | https://journals.sagepub.com/page/policies/text-and-data-mining-license |
LinkModel | OpenURL |
MergedId | FETCHMERGED-LOGICAL-c281t-f1be2846fd5800418287e8ea89afec1d84414d7bd197d80f68ab8f8f1b3d9cc93 |
OpenAccessLink | https://journals.sagepub.com/doi/pdf/10.1177/1536867X0700700107 |
PageCount | 11 |
ParticipantIDs | gale_infotracacademiconefile_A424420421 crossref_primary_10_1177_1536867X0700700107 |
ProviderPackageCode | CITATION AAYXX |
PublicationCentury | 2000 |
PublicationDate | 2007-01-01 |
PublicationDateYYYYMMDD | 2007-01-01 |
PublicationDate_xml | – month: 01 year: 2007 text: 2007-01-01 day: 01 |
PublicationDecade | 2000 |
PublicationTitle | The Stata journal |
PublicationYear | 2007 |
Publisher | Sage Publications, Inc |
Publisher_xml | – name: Sage Publications, Inc |
References | bibr1-1536867X0700700107 |
References_xml | – ident: bibr1-1536867X0700700107 doi: 10.1177/1536867X0600600308 |
SSID | ssj0047122 |
Score | 1.7227613 |
Snippet | Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add... |
SourceID | gale crossref |
SourceType | Aggregation Database Index Database |
StartPage | 106 |
SubjectTerms | Algorithms Mathematical research Matrices Programming languages |
Title | Mata Matters: Subscripting |
Volume | 7 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV1LSwMxEA5SL_UgWhVbH_QgeCgr3e12k3gropZCPbXQW8nz4KFKu4L4653JZh99HKqwhCXsJpt82ZnJY74h5E6pPm7fmKAbGR7EytBA6G4_4DGnRjKNHFJ42uItGU7j0aw_K9n8nHdJKh_Uz06_kv-gCnmAK3rJ_gHZolDIgHvAF1JAGNK9MB6LVHTGGUMmTu1XhRTw-ui9HAtoVYpOtVhRCXDtl13W1gDoxhpA9XiPa9PWOUqQa0nAEheVvhB8dAvfTIiFjgNgh3B127tYFJT0DbICLx-0doO0eoD-cxEIBJiYHkaUuh300eA1V5KgEt0GT_FduT8TMgFsVbBmM9TyU4veBpickGNvvLcHGRKn5MAsGuRoXDDfrhqkjv2ckV-fkRYC1PYAPbar8JyT6cvz5GkY-GAUgYpYmAY2lAZUeWJ1nyFJGQYKMMwIxoU1KtQM7MpYU6lDTjXr2oQJySyD13qaK8V7F6S2-FiYS9KGvyCyVvciY2mspJWUSd41DGw3HjMVNkknb-78M-McmYeelt13zqzsnCa5xx6ZI1TpUijh_SqgLqT2mpdQtPZ-8orUy2F2TWrp8svcgPGVylsH4y_ZGiqt |
linkProvider | University of Minnesota |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Mata+Matters%3A+subscripting&rft.jtitle=The+Stata+journal&rft.au=Gould%2C+William&rft.date=2007-01-01&rft.pub=Sage+Publications%2C+Inc&rft.issn=1536-867X&rft.volume=7&rft.issue=1&rft.spage=106&rft_id=info:doi/10.1177%2F1536867x0700700107&rft.externalDocID=A424420421 |
thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=1536-867X&client=summon |
thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=1536-867X&client=summon |
thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=1536-867X&client=summon |