Hi there!
The forum already helped me a great deal (thx especially to Nick Cox!). However I am now stuck to a problem since several days. I have 268 variables. Half of them (v83 v85 v87 etc) show how the workers of a task decided to answer: a) inserting a phone number of a certain firm ("The phone number of the company is:") // or b) claiming they have not found a phone number ("No phone number available."). The other half of the variables give the (already cleaned) text-entry of the workers (v84 is the text-entry for v83).
What am I searching for:
1)
LIST THOSE_VAR if (count of "stringABC" > count of "stringXYZ") in each of the SELECTED_VARS
cf.: LIST THOSE_VAR if (count of "No phone number available." > count of "The phone number of the company is:") in all the selected vars
2)
Table SELECTED_VARS => showing: (count of "stringABC" and also count of "stringXYZ")
codebook v83 and the other vars does not give a handy table but a "never" ending list
3)
Table SELECTED_VARS => showing: the two most common entries
Thx a lot for the help!
Array
Related Posts with different count problems within variables
Plotting a bar graph with two y-axisdear colleagues I am trying two create a bar graph with two y-axis from my data and code below and a…
My Lorenz curves are coming out as straight lines.Hello Stata Experts, I am trying to create lorenz curves for a variable with four categories. I hav…
Adding and simplifying observations; from daily to weeklyHello to all. I´m kind of new in using STATA, and I´m having trouble figuring out how to merge obser…
Interpretation of "/logs" in Stata17 output using mestregDear Stata users, Can someone please kindly explain in simple terms what the "/logs" output refers …
Difference in Difference analysis - how to create a group variableI think my question is pretty straightforward. I'd like to know what my "Group" is for a difference …
Subscribe to:
Post Comments (Atom)
0 Response to different count problems within variables
Post a Comment