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
Help create a person ID for panel dataDear Statalisters, I would like to ask for advice regarding creating person ID variables from a hou…
Joinpoint RegressionSTATALIST, I want to fit 6 regression models with 0,1,2,3,4,5 joinpoints (knots), but the location …
Help with Longitudinal SEM - (Missing Means in Output)Hello! I'm having trouble running SEM on longitudinal data (4 waves - (same group followed over tim…
Barro Regression: 3SLS with panel dataHello! I am a student of a Master in Economics and I am new here but I hope that you can help me wit…
Question about Mixed effect modelDear all. I am looking for wise advice on what happened to my mixed effect model from the STATA expe…
Subscribe to:
Post Comments (Atom)
0 Response to Reference to other rows
Post a Comment