Dear all,
I have a table (that results from dependency parsing) with some rows referencing to other rows.
It looks like:
Position Word Wordclass Reference
1 xxx Adj 2
2 xxx Noun 3
3 xxx Verb 0
4 xxx Noun 3
…
I have the following question: How can I generate a dummy variable that tells me whehter the row refers to a verb? In this case, observations 2 and 4 should get 1 (they refer to the third row); observations 1 and 3 should get 0.
Thanks for any suggestions!
Related Posts with Reference to other rows
How to make interactive pie charts (three)?How to create a graph with interactive pie charts (three). For example, I made a graph (find below) …
Creating Two Matrices from a Data FileDear Statalisters: I have a data file in the following format: clear input str2(firmid ownerid) floa…
Expanding dataset to make it balanacedHi All, My current dataset resembles the following: Code: * Example generated by -dataex-. To ins…
Doubts about ipdmetanHi all, I am performing an analysis using meta-analysis techniques, with raw data at patient level.…
Gini coefficient standard errorsDear all, Is there any Stata module available that is able to produce Gini coefficients with standa…
Subscribe to:
Post Comments (Atom)
0 Response to Reference to other rows
Post a Comment