Dear R users,
two quick questions about MCMCpoissonChange of the MCMCpack:

1. my data is stored into a vector (e.g. my_data), and as input for 
MCMCpoissonChange I need either a formula or a data frame.
If I simply transform my vector to a data frame with data.frame(my_data), it 
does not work.
If I use the formula my_data~1, then I get the following error: 'You have to 
prior for lambda (c0 and d0) when there is no covariate.'
What should I do to start using MCMCpoissonChange correctly?

2. c0 is the shape parameter for Gamma prior on lambda (the mean). When there 
is no covariate, this should be provided by users.
What does 'no covariate' mean, within this model?

thank you for your help
Stefano Sofia

AVVISO IMPORTANTE: Questo messaggio di posta elettronica può contenere 
informazioni confidenziali, pertanto è destinato solo a persone autorizzate 
alla ricezione. I messaggi di posta elettronica per i client di Regione Marche 
possono contenere informazioni confidenziali e con privilegi legali. Se non si 
è il destinatario specificato, non leggere, copiare, inoltrare o archiviare 
questo messaggio. Se si è ricevuto questo messaggio per errore, inoltrarlo al 
mittente ed eliminarlo completamente dal sistema del proprio computer. Ai sensi 
dell’art. 6 della  DGR n. 1394/2008 si segnala che, in caso di necessità ed 
urgenza, la risposta al presente messaggio di posta elettronica può essere 
visionata da persone estranee al destinatario.
IMPORTANT NOTICE: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages to clients of Regione Marche may contain information that is 
confidential and legally privileged. Please do not read, copy, forward, or 
store this message unless you are an intended recipient of it. If you have 
received this message in error, please forward it to the sender and delete it 
completely from your computer system.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to