Hello, Everyone. I have household data of
more than 50,000 observations in Stata - like in Picture named 1.
I want to create the
household_index based on the relation variable
Like in Pic named 2.
How I can do this. I want to create the
do file Please
Related Posts with Creating household_index variable based on the relation variable
Viewing value labels in a loopHi there, I am trying to retrieve the value labels for the encoded variable pos_index (defined belo…
running a loop n times with different outcome variables and storing the beta, standard error and p valuesHi, STATA people, I have 12000 obs. I want to randomly assign fake treatment within each year with …
Non parametric estimation of Regression Discontinuity analysis in Stata(rdrobust)I use the following code for non parametric estimation: rdrobust y v,c(0) kernel(uni) bwselect(mser…
remove certain string chars if in beginning of string var onlyDear Statalist, I have been searching for ways to remove a sequence of characters from a string var…
Moving average code to moving additive?By using a time-series dataset, I want to create a moving additive index. For example, I need a 5-ye…
Subscribe to:
Post Comments (Atom)
0 Response to Creating household_index variable based on the relation variable
Post a Comment