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
Full example of using SEM estimates as regression coefficients (CFA)Hello, I am trying to construct indices for well being, stress and environmental concern. I am usin…
Constraints in a nonlinear regression with interaction termsDear all, I am running a fractional logit model, using fracglm, where Vote (the percentages of vote…
Problems with lower bound for a proportion below 0 for "teffects" commandDear Statalisters, I'm using Statalist 15.1. By using the "teffects" command in a case of binary out…
Tobit model with binary endogenous regressorsDear All, Ivtobit is for Tobit model with continuous endogenous regressors. My endogenous regressor …
testhere is my code: Code: regress y x1 x2 estimates store my_regress some question text HTML Cod…
Subscribe to:
Post Comments (Atom)
0 Response to different count problems within variables
Post a Comment