Hi all,
Apologies in advance, I'm an inexperienced undergrad.
I have a dataset which has 1 household identifier variable, hhid, 2 profit variables (before an intervention, labeled profit_bl, and after an intervention, labeled profit_el) and 1 binary variable which indicates whether the observation was before or after the intervention, followup.
Seeing as the values of profit_el and porfit_bl for each household member are the same, I want to reduce the observations in profit_bl and profit_el to 1 per household so that the baseline and endline profit values belong to the same observation. Previous threads have suggested using tag() with hhid but it seems a little more complex than that.
Here is a screenshot of the data in the 'browse' tab:
Array
Thanks very much in advance!
Dan
Related Posts with Condense household observations
Formatting cells putdocx tableAccording to the "putdocx table" documentation, it should be possible to format cells in the table, …
Name groups of consecutive number seriesDear all, We are trying to make a new variable which gives every number within a consecutive series…
Count max of events in any 3 year period, in set of 20 years of data?!?Hi there, I have to see the maximum of deals a company has completed within any three- year period …
import excelI want to import a data from an excel sheet and I want all the variables to be in the format as doub…
Looping through column names as opposed to content of columnsHi! My goal is to find out how many questions were asked that received non-null responses before a p…
Subscribe to:
Post Comments (Atom)
0 Response to Condense household observations
Post a Comment