Hi all, hoping this has an easy answer. I have different models which have different variables in them. I want to only use the respondents who answered all of the questions I am using. For example, Model 1 has a, b & c, and model 2 has a, b, c, d, e & f. How do I get model 1 to only use respondents who answered A through F?
I have tried googling this and searching on this forum, but I must not be using the correct keywords. Thanks in advance!
Related Posts with Restricting Observations
assign variable label to variable nameHi I have a dataset that has some variables, say, X1-X10. The corresponding variable labels are 2018…
Create new variables using two categorical variablesI have three variables gender sector and wf. Gender and sector are categorical variables, where gend…
What should I do to achieve the following result.? Code: * Example generated by -dataex-. For more info, type help dataex clear input str3 code str29 …
urlencoding() usageHi all, Anyone understand the usage of urlencoding()? string scalar urlencode(string scalar s ,…
required the sampled required the sampled firms to have at least five observations in the data setplease i required the sampled required the sampled firms to have at least five observations in the d…
Subscribe to:
Post Comments (Atom)
0 Response to Restricting Observations
Post a Comment