Hey guys,
I want to create one dummy variable which assigns a value of 1 for values above 90 percentile cites for each journal.
What I mean is that I want a dummy variable = ( if journal = "A", cites >107 AND if journal = "B", cites >92 AND if journal = "C", cites >55 AND if journal = "D", cites >51 AND if journal = "E", cites >106)
How do I do it?
journal N(cites) p90(cites)
----
A 152 107
B 227 92
C 181 55
D 156 51
E 144 106
----
Thanks!
Related Posts with Dummy variables for table values for percentile
Kappa statisticHello, I have 30 patients and want to compare correlation between two measures of physical activity…
Export Graphs and Charts from Stata to Word with asdocxWith the recent update of the asdocx, its users can now export Stata graphs / charts to Word files. …
use 3d surface graph to explain in*the interaction effectDear all,@Nick Cox Can i use stata command to plot a 3d surface graph to explain in the interaction …
Tsset--ITSA issueArray Hi all, I am setting a variable up like the above. However, when I try to run itsa analysis u…
Unbalanced PanelArray Hi all, I am trying to run ITSA analysis and I have a weakly balanced panel. Can you help me f…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables for table values for percentile
Post a Comment