<div dir="ltr"><div>Hi,</div><div>I am analyzing 25 years monthly data (300 months) of a variable and would like to measure the trend of the variable from beginning to the end of the time. Questions are :</div><div>1. How do I remove the seasonal variability by using a 12-month running average prior to computing the linear trend. What function in NCL to be used.</div><div>2. Is there any weighted least square linear regression available in NCL to be used for regression and trend analysis ? <br></div><div><br></div><div>Appreciate your suggestions.</div><div>Thanks,</div><div>Deba<br></div></div>