-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
94 changed files
with
26,520 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,382 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> | ||
|
||
<meta charset="utf-8"> | ||
<meta name="generator" content="quarto-1.2.475"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
|
||
<title>mrrobust - About</title> | ||
<style> | ||
code{white-space: pre-wrap;} | ||
span.smallcaps{font-variant: small-caps;} | ||
div.columns{display: flex; gap: min(4vw, 1.5em);} | ||
div.column{flex: auto; overflow-x: auto;} | ||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} | ||
ul.task-list{list-style: none;} | ||
ul.task-list li input[type="checkbox"] { | ||
width: 0.8em; | ||
margin: 0 0.8em 0.2em -1.6em; | ||
vertical-align: middle; | ||
} | ||
</style> | ||
|
||
|
||
<script src="site_libs/quarto-nav/quarto-nav.js"></script> | ||
<script src="site_libs/quarto-nav/headroom.min.js"></script> | ||
<script src="site_libs/clipboard/clipboard.min.js"></script> | ||
<script src="site_libs/quarto-search/autocomplete.umd.js"></script> | ||
<script src="site_libs/quarto-search/fuse.min.js"></script> | ||
<script src="site_libs/quarto-search/quarto-search.js"></script> | ||
<meta name="quarto:offset" content="./"> | ||
<script src="site_libs/quarto-html/quarto.js"></script> | ||
<script src="site_libs/quarto-html/popper.min.js"></script> | ||
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> | ||
<script src="site_libs/quarto-html/anchor.min.js"></script> | ||
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> | ||
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"> | ||
<script src="site_libs/bootstrap/bootstrap.min.js"></script> | ||
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> | ||
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"> | ||
<script id="quarto-search-options" type="application/json">{ | ||
"location": "navbar", | ||
"copy-button": false, | ||
"collapse-after": 3, | ||
"panel-placement": "end", | ||
"type": "overlay", | ||
"limit": 20, | ||
"language": { | ||
"search-no-results-text": "No results", | ||
"search-matching-documents-text": "matching documents", | ||
"search-copy-link-title": "Copy link to search", | ||
"search-hide-matches-text": "Hide additional matches", | ||
"search-more-match-text": "more match in this document", | ||
"search-more-matches-text": "more matches in this document", | ||
"search-clear-button-title": "Clear", | ||
"search-detached-cancel-button-title": "Cancel", | ||
"search-submit-button-title": "Submit" | ||
} | ||
}</script> | ||
|
||
|
||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
|
||
<body class="nav-fixed"> | ||
|
||
|
||
<div id="quarto-search-results"></div> | ||
<header id="quarto-header" class="headroom fixed-top"> | ||
<nav class="navbar navbar-expand-lg navbar-dark "> | ||
<div class="navbar-container container-fluid"> | ||
<div class="navbar-brand-container"> | ||
<a class="navbar-brand" href="./index.html"> | ||
<span class="navbar-title">mrrobust</span> | ||
</a> | ||
</div> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarCollapse"> | ||
<ul class="navbar-nav navbar-nav-scroll me-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="./index.html"> | ||
<span class="menu-text">Home</span></a> | ||
</li> | ||
<li class="nav-item dropdown "> | ||
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-examples" role="button" data-bs-toggle="dropdown" aria-expanded="false"> | ||
<span class="menu-text">Examples</span> | ||
</a> | ||
<ul class="dropdown-menu" aria-labelledby="nav-menu-examples"> | ||
<li> | ||
<a class="dropdown-item" href="./examples/mrrobust-examples/index.html"> | ||
<span class="dropdown-text">Examples from the helpfiles</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./examples/spiller-ije-2018-examples/index.html"> | ||
<span class="dropdown-text">IJE article examples</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./examples/markstat-call-R-example/index.html"> | ||
<span class="dropdown-text">Using TwoSampleMR and mrrobust in a Stata Markdown document</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./examples/rmarkdown-call-stata-example/index.html"> | ||
<span class="dropdown-text">Using TwoSampleMR and mrrobust in an R Markdown or Quarto document</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./examples/save-estimates/index.html"> | ||
<span class="dropdown-text">Collecting and exporting results using <code>r(table)</code></span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./examples/mvcommands-example/index.html"> | ||
<span class="dropdown-text">Fitting MVMR models</span></a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-item dropdown "> | ||
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-helpfiles" role="button" data-bs-toggle="dropdown" aria-expanded="false"> | ||
<span class="menu-text">Helpfiles</span> | ||
</a> | ||
<ul class="dropdown-menu" aria-labelledby="nav-menu-helpfiles"> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrrobust-helpfile.html"> | ||
<span class="dropdown-text">mrrobust</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mr-helpfile.html"> | ||
<span class="dropdown-text">mr</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrdeps-helpfile.html"> | ||
<span class="dropdown-text">mrdeps</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mregger-helpfile.html"> | ||
<span class="dropdown-text">mregger</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mreggerplot-helpfile.html"> | ||
<span class="dropdown-text">mreggerplot</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mreggersimex-helpfile.html"> | ||
<span class="dropdown-text">mreggersimex</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmedian-helpfile.html"> | ||
<span class="dropdown-text">mrmedian</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmedianobs-helpfile.html"> | ||
<span class="dropdown-text">mrmedianobs</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmodal-helpfile.html"> | ||
<span class="dropdown-text">mrmodal</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmodalplot-helpfile.html"> | ||
<span class="dropdown-text">mrmodalplot</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrratio-helpfile.html"> | ||
<span class="dropdown-text">mrratio</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrivests-helpfile.html"> | ||
<span class="dropdown-text">mrivests</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrforest-helpfile.html"> | ||
<span class="dropdown-text">mrforest</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrfunnel-helpfile.html"> | ||
<span class="dropdown-text">mrfunnel</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmvivw-helpfile.html"> | ||
<span class="dropdown-text">mrmvivw</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrmvegger-helpfile.html"> | ||
<span class="dropdown-text">mrmvegger</span></a> | ||
</li> | ||
<li> | ||
<a class="dropdown-item" href="./helpfiles/mrleaveoneout-helpfile.html"> | ||
<span class="dropdown-text">mrleaveoneout</span></a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link active" href="./about.html" aria-current="page"> | ||
<span class="menu-text">About</span></a> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav navbar-nav-scroll ms-auto"> | ||
<li class="nav-item compact"> | ||
<a class="nav-link" href="https://github.com/remlapmot/mrrobust"><i class="bi bi-github" role="img" aria-label="GitHub"> | ||
</i> | ||
<span class="menu-text"></span></a> | ||
</li> | ||
</ul> | ||
<div id="quarto-search" class="" title="Search"></div> | ||
</div> <!-- /navcollapse --> | ||
</div> <!-- /container-fluid --> | ||
</nav> | ||
</header> | ||
<!-- content --> | ||
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar"> | ||
<!-- sidebar --> | ||
<!-- margin-sidebar --> | ||
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> | ||
|
||
</div> | ||
<!-- main --> | ||
<main class="content" id="quarto-document-content"> | ||
|
||
<header id="title-block-header" class="quarto-title-block default"> | ||
<div class="quarto-title"> | ||
<h1 class="title">About</h1> | ||
</div> | ||
|
||
|
||
|
||
<div class="quarto-title-meta"> | ||
|
||
|
||
|
||
|
||
</div> | ||
|
||
|
||
</header> | ||
|
||
<ul> | ||
<li>This is the website for the <strong>mrrobust</strong> Stata package</li> | ||
<li>GitHub repo: <a href="https://github.com/remlapmot/mrrobust" class="uri">https://github.com/remlapmot/mrrobust</a></li> | ||
</ul> | ||
|
||
|
||
|
||
</main> <!-- /main --> | ||
<script id="quarto-html-after-body" type="application/javascript"> | ||
window.document.addEventListener("DOMContentLoaded", function (event) { | ||
const toggleBodyColorMode = (bsSheetEl) => { | ||
const mode = bsSheetEl.getAttribute("data-mode"); | ||
const bodyEl = window.document.querySelector("body"); | ||
if (mode === "dark") { | ||
bodyEl.classList.add("quarto-dark"); | ||
bodyEl.classList.remove("quarto-light"); | ||
} else { | ||
bodyEl.classList.add("quarto-light"); | ||
bodyEl.classList.remove("quarto-dark"); | ||
} | ||
} | ||
const toggleBodyColorPrimary = () => { | ||
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); | ||
if (bsSheetEl) { | ||
toggleBodyColorMode(bsSheetEl); | ||
} | ||
} | ||
toggleBodyColorPrimary(); | ||
const icon = ""; | ||
const anchorJS = new window.AnchorJS(); | ||
anchorJS.options = { | ||
placement: 'right', | ||
icon: icon | ||
}; | ||
anchorJS.add('.anchored'); | ||
const clipboard = new window.ClipboardJS('.code-copy-button', { | ||
target: function(trigger) { | ||
return trigger.previousElementSibling; | ||
} | ||
}); | ||
clipboard.on('success', function(e) { | ||
// button target | ||
const button = e.trigger; | ||
// don't keep focus | ||
button.blur(); | ||
// flash "checked" | ||
button.classList.add('code-copy-button-checked'); | ||
var currentTitle = button.getAttribute("title"); | ||
button.setAttribute("title", "Copied!"); | ||
let tooltip; | ||
if (window.bootstrap) { | ||
button.setAttribute("data-bs-toggle", "tooltip"); | ||
button.setAttribute("data-bs-placement", "left"); | ||
button.setAttribute("data-bs-title", "Copied!"); | ||
tooltip = new bootstrap.Tooltip(button, | ||
{ trigger: "manual", | ||
customClass: "code-copy-button-tooltip", | ||
offset: [0, -8]}); | ||
tooltip.show(); | ||
} | ||
setTimeout(function() { | ||
if (tooltip) { | ||
tooltip.hide(); | ||
button.removeAttribute("data-bs-title"); | ||
button.removeAttribute("data-bs-toggle"); | ||
button.removeAttribute("data-bs-placement"); | ||
} | ||
button.setAttribute("title", currentTitle); | ||
button.classList.remove('code-copy-button-checked'); | ||
}, 1000); | ||
// clear code selection | ||
e.clearSelection(); | ||
}); | ||
function tippyHover(el, contentFn) { | ||
const config = { | ||
allowHTML: true, | ||
content: contentFn, | ||
maxWidth: 500, | ||
delay: 100, | ||
arrow: false, | ||
appendTo: function(el) { | ||
return el.parentElement; | ||
}, | ||
interactive: true, | ||
interactiveBorder: 10, | ||
theme: 'quarto', | ||
placement: 'bottom-start' | ||
}; | ||
window.tippy(el, config); | ||
} | ||
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); | ||
for (var i=0; i<noterefs.length; i++) { | ||
const ref = noterefs[i]; | ||
tippyHover(ref, function() { | ||
// use id or data attribute instead here | ||
let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); | ||
try { href = new URL(href).hash; } catch {} | ||
const id = href.replace(/^#\/?/, ""); | ||
const note = window.document.getElementById(id); | ||
return note.innerHTML; | ||
}); | ||
} | ||
const findCites = (el) => { | ||
const parentEl = el.parentElement; | ||
if (parentEl) { | ||
const cites = parentEl.dataset.cites; | ||
if (cites) { | ||
return { | ||
el, | ||
cites: cites.split(' ') | ||
}; | ||
} else { | ||
return findCites(el.parentElement) | ||
} | ||
} else { | ||
return undefined; | ||
} | ||
}; | ||
var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); | ||
for (var i=0; i<bibliorefs.length; i++) { | ||
const ref = bibliorefs[i]; | ||
const citeInfo = findCites(ref); | ||
if (citeInfo) { | ||
tippyHover(citeInfo.el, function() { | ||
var popup = window.document.createElement('div'); | ||
citeInfo.cites.forEach(function(cite) { | ||
var citeDiv = window.document.createElement('div'); | ||
citeDiv.classList.add('hanging-indent'); | ||
citeDiv.classList.add('csl-entry'); | ||
var biblioDiv = window.document.getElementById('ref-' + cite); | ||
if (biblioDiv) { | ||
citeDiv.innerHTML = biblioDiv.innerHTML; | ||
} | ||
popup.appendChild(citeDiv); | ||
}); | ||
return popup.innerHTML; | ||
}); | ||
} | ||
} | ||
}); | ||
</script> | ||
</div> <!-- /content --> | ||
|
||
|
||
|
||
</body></html> |
Oops, something went wrong.