Hi,
I have some data in the following format:
Array
And what I need to do for my analysis is to select all the cases that contain a certain value (in my case "4") in any of the variables Q13_01 through Q13_10 (and vice versa, the ones that do not contain this value) - could anyone help me with the code here?
Thank you!
Related Posts with Select cases with single observation from multiple variables
export excelHi STATALIST, The following program runs fine when there is at least on observation in each sheet. …
Dependent variable lagsHello How to create a dependent variable lags in the data panel (in stata)? …
Fixed-effect panel threshold modelDear all im working on my PhD thesis and i'm using the fixed-effect threshold model i would ask yo…
Fixed effects dummies in OLS regression vs FE estimator (xtreg, fe)This is a very basic question but after doing some research I could not find the answer to this. I k…
Using NetCDF data in StataHello, I am trying to use data stored in the NetCDF format (.nc file extension) for a project I am …
Subscribe to:
Post Comments (Atom)
0 Response to Select cases with single observation from multiple variables
Post a Comment