Hi everyone,
I am hoping someone can assist me with an issue I am having with nearmrg. I have been working on this for 2 weeks and for some reason I keep getting an error message. I have two data files, but with and ID variable. However, the master file has a date when the individuals were referred and the using data file has a date when individuals are assessed. I am using the below code to merge the data files and I keep getting the same error message. NOTE: I have deleted duplicates in the master date file to ensure there are no duplicates on ID and referral date.
I am using the following code:
nearmrg djjid using "E:\REF_FILE.dta", nearvar(reference_date) genmatch(pactref_date) limit(120) lower
When I use the above code I get the following message:
invalid 'Warren'
r(198);
I have no idea what this means. Any help the forum can provide is greatly appreciated.
PW
Related Posts with Nearmrg: Please help
Question about meologit Hello! I attempting to do a mixed model ordinal logistic regression with level 2 and level 1 varia…
Bug: encoding ID string with tens of millions of unique IDsI have found a bug in Stata 17 MP, where my dataset has hundreds of millions of observations and ten…
Generating a variable that counts the appearance of a particular value in rolling bases (across rows) Dear Statalist, I am having some difficulties in creating a variable I need. I would greatly a…
Balance tests in a loop?Hello. I am currently trying to run balance tests in a dataset with respondents from 8 countries. T…
loop in parallel with tokenize, comma as delimiterI'm currently using Stata for data management. Inspired by Nick Cox' (2021) paper "Speaking Stata: L…
Subscribe to:
Post Comments (Atom)
0 Response to Nearmrg: Please help
Post a Comment