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
Necessary co-variate omitted due to collinearityHi everyone, I had a quick question. I am new to Stata, so please forgive me if this question seems…
Behavior analysis (relational or random variables?)Dear, good night! I read several topics, but I got more lost. I tried to make a tree to check a path…
Problem with number of instrument with xtabond2Hello everyone, I am just new to managing panel series and I am working on the investigation of fina…
Whether coefficients of before clustering and after clustering in using reg command is strange?Hi all, Today I run a simple reg for a panel dataset with a panel of units and time periods , I con…
Export adjusted ratios from dstdize commandDear all, Really appreciate if someone could kindly help me. I'm using Code: dstdize command to ca…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables for table values for percentile
Post a Comment