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
Creating deciles/quintiles based on a certain group of observations by yearHello I have a panel data of all NYSE, AMEX and NASDAQ firms. I am trying to create size deciles ba…
Sort two variables simultaneouslyHi is it possible to sort two variables for example by id number and sex. So if I have the following…
Using -rtfutil- for page breaks and other simple tasksHello Statatalist I just discovered the user-written -rtfutil- command from SSC, which seems to be …
Comparing models and profiles (including significance) using LPA (continous variables)Hello everyone, Thanks for all the helpful information on this site. I am trying to compare models…
KPSS stationarity test without trendHi there, I would like to perform KPSS stationarity tests to compliment my ADF tests. By default, th…
Subscribe to:
Post Comments (Atom)
0 Response to Reference to other rows
Post a Comment