-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEstudoCaso.vrb
40 lines (33 loc) · 1.24 KB
/
EstudoCaso.vrb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
\frametitle{Previsões com os modelos}
\protect\hypertarget{previsuxf5es-com-os-modelos}{}
\begin{itemize}
\tightlist
\item
Com dados de oferta
\end{itemize}
\begin{Shaded}
\begin{Highlighting}[]
\NormalTok{new <-}\StringTok{ }\NormalTok{dados[}\DecValTok{52}\NormalTok{, ]}
\NormalTok{p <-}\StringTok{ }\KeywordTok{predict}\NormalTok{(fit, }\DataTypeTok{newdata =}\NormalTok{ new, }\DataTypeTok{interval =} \StringTok{"confidence"}\NormalTok{, }\DataTypeTok{level =} \FloatTok{.80}\NormalTok{)}
\NormalTok{(P <-}\StringTok{ }\FloatTok{.9}\OperatorTok{*}\KeywordTok{exp}\NormalTok{(p))}
\end{Highlighting}
\end{Shaded}
\begin{verbatim}
## fit lwr upr
## 52 865494.6 832291.3 900022.4
\end{verbatim}
\begin{itemize}
\tightlist
\item
Com dados de oferta pré-ajustados
\end{itemize}
\begin{Shaded}
\begin{Highlighting}[]
\NormalTok{p1 <-}\StringTok{ }\KeywordTok{predict}\NormalTok{(fit1, }\DataTypeTok{newdata =}\NormalTok{ new, }\DataTypeTok{interval =} \StringTok{"confidence"}\NormalTok{, }\DataTypeTok{level =} \FloatTok{.80}\NormalTok{)}
\NormalTok{(P1 <-}\StringTok{ }\KeywordTok{exp}\NormalTok{(p1))}
\end{Highlighting}
\end{Shaded}
\begin{verbatim}
## fit lwr upr
## 52 865494.6 832291.3 900022.4
\end{verbatim}