13
$\begingroup$

This is a bit of a flippant question, but I have a serious interest in the answer. I work in a psychiatric hospital and I have three years' of data, collected every day across each ward regarding the level of violence on that ward.

Clearly the model which fits these data is a time series model. I had to difference the scores in order to make them more normal. I fit an ARMA model with the differenced data, and the best fit I think was a model with one degree of differencing and first order auto-correlation at lag 2.

My question is, what on earth can I use this model for? Time series always seems so useful in the textbooks when it's about hare populations and oil prices, but now I've done my own the result seems so abstract as to be completely opaque. The differenced scores correlate with each other at lag two, but I can't really advise everyone to be on high alert two days after a serious incident in all seriousness.

Or can I?

$\endgroup$
  • $\begingroup$ could you edit the title to something like "Using time series analysis to analyze/predict violent behavior"? $\endgroup$ – Paul Jul 20 '10 at 8:56
  • 1
    $\begingroup$ I really like this type of question, I think this type of precise real worl problem will increase the interest of the site. It would be even better if you had the possibility to add a link to the data, or to tell us (as a complement to the post) what you finally did, what was the conclusions .... however I understand that this can be confidential ... $\endgroup$ – robin girard Jul 25 '10 at 11:38
  • $\begingroup$ I whish I could vote up again to make you pass over the question about the definition of a random variable ;) $\endgroup$ – robin girard Jul 25 '10 at 11:41
  • $\begingroup$ I will come back to tell you what the results were, but it will be a while as I am working my way through this alongside lots of other tasks. Wasn't sure what you meant about "pass over the question about random variable"? Is there a question you recommend I look at? $\endgroup$ – Chris Beeley Jul 27 '10 at 7:46
  • $\begingroup$ sorry if I wasn't clear, I mean't that I prefer (personal subjective opinion) questions like yours than the question that asks "what is a random variable"... but I guess my pleasure is not that of everyone :) $\endgroup$ – robin girard Aug 8 '10 at 19:27
9
$\begingroup$

The model that fits the data doesn't have to be a time series model; I would advise thinking outside the box a little.

If you have multiple variables (e.g. age, gender, diet, ethnicity, illness, medication) you can use these for a different model. Maybe having certain patients in the same room is an important predictor? Or perhaps it has to do with the attending staff? Or consider using a multi-variate time series model (e.g. VECM) if you have other variables that you can use. Look at the relationships between violence across patients: do certain patients act out together?

The time series model is useful if time has some important role in the behavior. For instance, there might be a clustering of violence. Look at the volatility clustering literature. As @Jonas suggests, with a lag order of 2, you may need to be on higher alert on the day following a burst in violence. But that doesn't help you prevent the first day: there may be other information that you can link into the analysis to actually understand the cause of the violence, rather than simply forcasting it in a time series fashion.

Lastly, as a technical suggestion: if you're using R for the analysis, you might have a look at the forecast package from Rob Hyndman (the creator of this site). This has many very nice features; see the paper "Automatic Time Series Forecasting: The forecast Package for R" in the Journal of Statistical Software.

$\endgroup$
  • 1
    $\begingroup$ Agreed - just to throw out some additional ideas on modeling: logistic to predict which patients will have 1+ violent outbursts, Poisson(esque) regression to predict which patients will have many outbursts, multilevel to examine variations from room-to-room and/or ward-to-ward... $\endgroup$ – Matt Parker Jul 20 '10 at 20:13
  • 1
    $\begingroup$ +1 It's easy to get blinded by exhortations to not use linear models, etc, on time series because of auto-correlation issues, and to get caught up in ARIMA, DLM, etc, when LM, GLM, etc can be quite powerful with a little caution. $\endgroup$ – Wayne Aug 9 '11 at 20:43
6
$\begingroup$

You fitted the model to the differences, which means that you're describing the change in levels of violence. You get a lag of 2 days. A lag is indicative of the memory of the process. In other words, the change in levels of violence today has some dependency on the change in levels of violence in the last two days. For longer time-scales, the contribution of random influences becomes strong enough so that there is no clear link anymore.

Is the auto-correlation positive? Then a change of levels of violence today suggests a similar change in levels of violence in two days. Is it negative? Then violence might stay higher for two days.

Of course, you may want to have to control for confounding effects. For example, after a serious incident, people may be more likely to report minor incidents, but this "sensitization" would be going away after two days.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.