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
MI & GSEMMorning, I am looking to run a path analysis (two variables measured at two time points) using gsem…
Merging household census data for logistic regressionGood evening everyone, First, I'd like to say thank you to all of these helpful users from which I …
OLS MLR Regression Analysis PlanHello All, Hoping to receive feedback on a plan for an OLS MLR analysis planning in STATA. Questio…
Stata: Statistics vs "Data Science"I have recently joined a company heavy in "Data Science". I thought, great, I love statistics myself…
How to solve error "estimation result constrained not found" in lrtest commandHi everyone! I've run the following syntaxes to compute the global test of the parallel lines assump…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variables for table values for percentile
Post a Comment