diff --git a/inst/slides/compoisson.Rnw b/inst/slides/compoisson.Rnw index 900625b3e5b34c1e60c20fdc9686a2ba67be9845..944a295f3871c831618481016035d08f81d0f342 100644 --- a/inst/slides/compoisson.Rnw +++ b/inst/slides/compoisson.Rnw @@ -1,5 +1,5 @@ -<<setup-child, include=FALSE>>= -set_parent("slides-mrdcr.Rnw") +<<setup-childcmp, include=FALSE>>= +# set_parent("slides-mrdcr.Rnw") ## Pacotes utilizados nesta seção ## library(MRDCr) diff --git a/inst/slides/excesso_zeros.Rnw b/inst/slides/excesso_zeros.Rnw index 3d5bcf62afb37273434852d0f8bc4bd998e882f1..730612559c9bbefbdd8a1e77f85ec99d0ec39168 100644 --- a/inst/slides/excesso_zeros.Rnw +++ b/inst/slides/excesso_zeros.Rnw @@ -1,5 +1,5 @@ -<<setup-child, include=FALSE>>= -set_parent("slides-mrdcr.Rnw") +<<setup-childexczero, include=FALSE>>= +## set_parent("slides-mrdcr.Rnw") ## Pacotes utilizados nesta seção ## library(MRDCr) diff --git a/inst/slides/gamma_count.Rnw b/inst/slides/gamma_count.Rnw index a550c3dac7526614bd5314f3749e979db2a518e5..4f4820e6dc9c469576c1503f225d8d42b1dc97a2 100644 --- a/inst/slides/gamma_count.Rnw +++ b/inst/slides/gamma_count.Rnw @@ -1,4 +1,4 @@ -<<setup-child, eval=FALSE, include=FALSE>>= +<<setup-childgcnt, eval=FALSE, include=FALSE>>= set_parent("slides-mrdcr.Rnw") @ @@ -114,7 +114,9 @@ set_parent("slides-mrdcr.Rnw") \begin{frame}[fragile] <<fig.width = 9, fig.height = 4.5, out.width = "0.95\\textwidth">>= -library(MRDCr) +## library(MRDCr) +devtools::load_all() + grid <- expand.grid(lambda = c(2, 8, 15), alpha = c(0.5, 1, 2.5)) y <- 0:30 diff --git a/inst/slides/hurdle.Rnw b/inst/slides/hurdle.Rnw index 91199990bf20e55d83a0cd82a20b574a87c996d2..f2769ff3f8a48eff6c57493dc99ccc24d3c56a0d 100644 --- a/inst/slides/hurdle.Rnw +++ b/inst/slides/hurdle.Rnw @@ -1,5 +1,5 @@ -<<setup-child, include=FALSE>>= -set_parent("slides-mrdcr.Rnw") +<<setup-childhurdle, include=FALSE>>= +## set_parent("slides-mrdcr.Rnw") ## Pacotes utilizados nesta seção diff --git a/inst/slides/pois_bineg.Rnw b/inst/slides/pois_bineg.Rnw index e339b59f79f6f323668eebbf66c565af44b2e374..12a73c8ff77686f6eabf151816b13b4b2ed67b0b 100644 --- a/inst/slides/pois_bineg.Rnw +++ b/inst/slides/pois_bineg.Rnw @@ -1,5 +1,5 @@ -<<setup-child, include=FALSE>>= -set_parent("slides-mrdcr.Rnw") +<<setup-childpoisbneg, include=FALSE>>= +## set_parent("slides-mrdcr.Rnw") @ %%%----------------------------------------------------------------------------------------- @@ -31,7 +31,7 @@ Alguns exemplos de problemas envolvendo contagens: \begin{itemize} \item Modelos probabilÃsticos para variáveis aleatórias discretas, com suporte no conjunto de números inteiros não-negativos, são potenciais candidatos para a análise de dados de contagens. -\vspace{0.5cm} +\vspace{0.5cm} \item Algumas alternativas: Distribuição Binomial, Poisson e generalizações; distribuições geradas por misturas, como a beta-binomial, binomial negativa; distribuições fundamentadas na modelagem do tempo entre eventos, na razão de probabilidades sucessivas... @@ -572,10 +572,8 @@ $$ \hat{\phi} = \frac{1}{n-p}\sum_{i=1}^n \frac{y_i-\hat{\mu}_i}{V(\hat{\mu}_i)} %%%----------------------------------------------------------------------------------------- %%% Slide 47 -\section{Modelos Paramétricos Alternativos} -\label{sec-modelos-parametricos} -\subsection{Modelo Binomial Negativa} +\section{Modelo Binomial Negativa} \label{sec-binomial-negativa} \begin{frame}{Distribuição binomial negativa} diff --git a/inst/slides/poisson_generalizada.Rnw b/inst/slides/poisson_generalizada.Rnw index 7283cb71fe1d9d68b008271fa3422450292bc98d..dca02b0195027d9b301a8088052b53174b8ee108 100644 --- a/inst/slides/poisson_generalizada.Rnw +++ b/inst/slides/poisson_generalizada.Rnw @@ -1,4 +1,4 @@ -<<setup-child, eval=FALSE, include=FALSE>>= +<<setup-childpgnz, eval=FALSE, include=FALSE>>= set_parent("slides-mrdcr.Rnw") @ @@ -109,7 +109,8 @@ set_parent("slides-mrdcr.Rnw") \begin{frame}[fragile] \frametitle{Implementação da log-verossimilhança} <<echo = TRUE>>= -library(MRDCr) +## library(MRDCr) +devtools::load_all() llpgnz @ \end{frame} @@ -159,7 +160,3 @@ useOuterStrips(xyplot(py ~ y | factor(lambda) + factor(alpha), \end{description} \end{frame} -\begin{frame} - \frametitle{Conclusões} - TODO -\end{frame} diff --git a/inst/slides/zeroinfl.Rnw b/inst/slides/zeroinfl.Rnw index d2d8850925a0713412ed1b16aa71032fa1fdca0d..02af82050765bb37c3f2f8776da27f75c3df2dff 100644 --- a/inst/slides/zeroinfl.Rnw +++ b/inst/slides/zeroinfl.Rnw @@ -1,7 +1,5 @@ -<<setup-child, include=FALSE>>= -set_parent("slides-mrdcr.Rnw") - -## Pacotes utilizados nesta seção +<<setup-childzeroinfl, include=FALSE>>= +## set_parent("slides-mrdcr.Rnw") @