Two regressor lists
Posted: Mon Mar 06, 2017 10:12 am
Hi everyone,
I am developing a proc that implements "unusual observation detection" in conjunction with a paper I am revising (joint work with Christian Garciga). Use of this procedure will help you detect weird observations (e.g., if you are cleaning data), to determine if your results are being driven by a small set of unusual observations, or to determine if you need to consider enriching your model by, e.g., implementing regime switching. (The procedure is up and running, but so far does not handle categorical variables gracefully.)
I require the procedure to read in two lists of variables: first a list of all continuous variables, and then a list of all categorical variables (if there are any).
Right now, I am using the standard code to pull the data into the procedure:
Enter(varying) VARID
Inquire(matrix=varid) K
Instructions like CMOMENT allow the user to input two lists of variables like this, but I don't think we can look at the code for instructions.
Thanks,
Randy
PS the new Enders programming manual does not seem to have a chapter on writing procedures.
I am developing a proc that implements "unusual observation detection" in conjunction with a paper I am revising (joint work with Christian Garciga). Use of this procedure will help you detect weird observations (e.g., if you are cleaning data), to determine if your results are being driven by a small set of unusual observations, or to determine if you need to consider enriching your model by, e.g., implementing regime switching. (The procedure is up and running, but so far does not handle categorical variables gracefully.)
I require the procedure to read in two lists of variables: first a list of all continuous variables, and then a list of all categorical variables (if there are any).
Right now, I am using the standard code to pull the data into the procedure:
Enter(varying) VARID
Inquire(matrix=varid) K
Instructions like CMOMENT allow the user to input two lists of variables like this, but I don't think we can look at the code for instructions.
Thanks,
Randy
PS the new Enders programming manual does not seem to have a chapter on writing procedures.