IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 103 forks source link

Correlogram in R-Instat. #5175

Open shadrackkibet opened 5 years ago

shadrackkibet commented 5 years ago

Is your feature request related to a problem? Please describe. ar(),arima() functions are used in to model time series data. I tried doing time series analysis using R-Instat .I was happy to find this two functions in modelling menu(Modelling dialog). Perhaps this could be made easier in future, by having individual dialogs?. One thing that is missing in R-Instat is Correlogram. This plot is useful as a diagnostic tool to check presence of temporal correlation in a time series model.

I would like this feature to be added into R-Instat, not sure where axactly!

Additional context Correlogram can be simply obtained by; ar.fit1 <- arima(SOI$soi,order=c(1,0,0),method="ML") acf(residuals(ar.fit1),main="Residuals Correlogram")

rplot01

rdstern commented 5 years ago

You raise an example of a general problem here. The model dialogue currently starts with a dataset and then produces an object, plus some results. The next dialogue we need (or addition to this dialogue, is to be able to start with these objects and then produce further results.

I think it is another "halfway" dialogue to start with, and just below the current model dialogue. Then later, we take the most used options from here and produce "proper" dialogues for each of them.

@shadrackkibet I really like the way you are trying to "stretch" R-Instat, using materials from these later courses. Keep adding issues where you can.

dannyparsons commented 5 years ago

I would call this our general "Use Model" dialog with keyboards to manipulate created models. The range of possible functions might be bigger but we could group them sensibly.