Is there any automatic procedure in Stata to do the following:
I have a fairly short time-series data (3 years) for four variables A, B, C, D for one subject and I would like to know which of the time-series patterns of A, B, or C most closely resembles the time-series behavoir of D. Bascially what I would be looking for is something to measure the similarity between two time series of the same subject.
Related Posts with Procedure to select the variable with values closest to the values to another variable
Creating a sum variable which depends on 2 other variablesHello! I am currently working on a panel dataset containing, amongst others, the variables "compani…
Propensity Score Matching - Regression on a matched sample and introducing new controlsHi, I am using propensity score matching to reduce selection bias and then running a regression on …
Current and Lagged Values of an Independent Variable in xtabond2Hi everyone! May I ask if it is technically correct to include both current and lagged values of an …
how to control for individual fixed effects in Stata?I know one method can be: Code: regress y x1 x2 i.id, vce(robust) But the problem is in my data set…
Nested foreach loops with panel dataDear Statalists, I am fairly new to Stata and am facing some issues regarding nested foreach loops.…
Subscribe to:
Post Comments (Atom)
0 Response to Procedure to select the variable with values closest to the values to another variable
Post a Comment