Hello. I am working on a dataset where people were asked whether they use certain media outlets or not, with 50+ unique yes/no questions for each outlet. What I am trying to find is the minimum number of outlets that cover 95% of the population, which I think necessiates to use a function that stepwise adds up variables with most "yes" answers together and return a list. How can I achieve this in Stata?
Best regards.
Related Posts with Group of variables that explain most of the observations
float to string format error results in wrong values -- why?I need to create the fipscode for census tracts that were formatted incorrectly. The error occurs w…
xtpmg works in Stata 13/14 but not in 15/16?Dear All, I use (ssc install) xtpmg to estimate the following model. Code: * Example generated by -…
Inquire about keeping variables temporarilyLet me state my question clearly. I currently have a dataset which has so many variables. (since thi…
In logistic, binary response variable works but if it has 3 categories then it doesn't work!I'm using a logistic reg for my survey data. In the main control variable, it has 3 categories. The …
Translog cost function using foreach and one_id programHi, I have a panel of 270 firms with quarterly observations ranging from year 2000 to 2019. I want…
Subscribe to:
Post Comments (Atom)
0 Response to Group of variables that explain most of the observations
Post a Comment