Trend Analysis and Modeling of Health and Environmental Data: Joinpoint and Functional Approach