Skip to content

Commit

Permalink
rpowell22 published a site update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelasq committed Feb 25, 2024
1 parent 9f90384 commit f4a590b
Show file tree
Hide file tree
Showing 21 changed files with 558 additions and 558 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion anes-cb.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion c01-intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion c02-overview-surveys.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion c03-understanding-survey-data-documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion c04-set-up.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion c05-descriptive-analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
330 changes: 165 additions & 165 deletions c06-statistical-testing.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions c07-modeling.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="Stephanie Zimmer, Rebecca J. Powell, and Isabella Velásquez" />


<meta name="date" content="2024-02-12" />
<meta name="date" content="2024-02-25" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -721,7 +721,7 @@ <h4>Example 2: Linear Regression with Additional Variables and Interactions<a hr
## in svyglm(design = ., formula = DOLLAREL ~ (Region + Urbanicity +
## TOTSQFT_EN + ACUsed)^2 - 1, na.action = na.omit)
## F = 6.851 on 6 and 35 df: p= 7.2e-05</code></pre>
<p>This output indicates there is a significant interaction between urbanicity and region (p-value=<span class="math inline">\(7.2\times 10^{-5}\)</span>).</p>
<p>This output indicates there is a significant interaction between urbanicity and region (p-value=<span class="math inline">\(&lt;0.0001\)</span>).</p>
<p>To examine the predictions, residuals and more from the model, the function <code>augment()</code> from {broom} can be used. The <code>augment()</code> function will return a tibble with the independent and dependent variables and other fit statistics. The <code>augment()</code> function has not been specifically written for objects of class <code>svyglm</code>, and as such, a warning will be displayed indicating this at this time. As it was not written exactly for this class of objects, a little tweaking needs to be done after using augment to get the predicted (<code>.fitted</code>) and standard error (<code>.se.fit</code>) values. To obtain the standard error of the fitted values we need to use the <code>attr()</code> function on the <code>.fitted</code> values created by <code>augment()</code>.</p>
<div class="sourceCode" id="cb263"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb263-1"><a href="c07-modeling.html#cb263-1" aria-hidden="true" tabindex="-1"></a>fitstats <span class="ot">&lt;-</span> <span class="fu">augment</span>(m_electric_multi) <span class="sc">%&gt;%</span></span>
<span id="cb263-2"><a href="c07-modeling.html#cb263-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">mutate</span>(<span class="at">.se.fit =</span> <span class="fu">sqrt</span>(<span class="fu">attr</span>(.fitted, <span class="st">&quot;var&quot;</span>)), <span class="at">.fitted =</span> <span class="fu">as.numeric</span>(.fitted))</span>
Expand Down
Loading

0 comments on commit f4a590b

Please sign in to comment.