Hello

I want to make an OLS regression in Stata my regression will be

Code:
regress  regress interestrate    lag_interestrate        inf_diff_quarterly      GDP4            if      ID==5
My data is xtset in panel format by

Code:
xtset ID DATE
My date is in quarterly format from 1997q1 to 2019q4 and I am trying to limit my time (want to regress for a specified time period). İs there way that ı can make regression for both ID restriction and also for example from 1997q1 to 2005q4.
Thank in advance