i literally JUST put the book down I'm studying to become emissions repair certified: which is really a bunch of crap, but I am reading and studying like crazy and here is the deal with NOx:
NOx are always present in the combustion process, I could get into the exact chemical content and chemical reactions that take place but I wont bore you.
The thing about NOx is that they increase rapidally when the combustion chamber temp reaches over 2500 degrees: and is reduced in a properly working catylitic converter, by the metal rhodium.
Yes, the EGR is the main component that controls NOx, but the term "backpressure" doesn't really apply to an EGR. The EGR is controlled by manifold vacuum, or electronically. Make sure its getting vacuum (around 18"Hg) at the diaphram, or being commanded on, if it is electric.
Also make sure the ports in which it is bolted over are clear of carbon, that can clog them up, so even with a working EGR, the goal of putting exhaust gas back into the intake is not being met.
Speaking of carbon: if you have carbon build up in the combustion chambers, that can cause high NOx.
Also: the tstat really shouldn't effect NOx, like I said, it gets really high with more heat, so actually you should keep the engine cool. (but not too cool that you fail for CO or HC's)
Also: NOx can increase if your air/fuel mixture is too lean. Possibly bias rich O2 sensor, or vacuum leak (*which could also effect the EGR performance)
And yes, retarded timing can cause high NOx, so make sure its set to 0 degrees.
Good luck!