1. A method for motivating users to improve their wellness, the method comprising: receiving sensor data and user-interaction data of a user at a system, the sensor data including information electronically sensed from one or more sensors, the user-interaction data including information derived from interactions between the user and the system and between the user and others in the system; performing continuous analytics on the received sensor and user-interaction data over time to determine current and predicted future wellness states of the user using complex event processing with inference and predictive models; performing background analytics on the received sensor and user-interaction data along with previously received sensor and user-interaction data for the user and other users to update parameters of the inference and predictive models; generating a personalized intervention for the user using at least the determined current and predicted future wellness states when a triggering rule is satisfied to motivate the user toward a wellness goal of the user; and performing outcomes analytics to investigate which interventions work for which users in order to optimize interventions over time.