This file contains hidden or 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
import { Posts } from 'meteor/example-forum'; | |
import Users from 'meteor/vulcan:users'; | |
import { Votes } from 'meteor/vulcan:voting'; | |
import { getSetting } from 'meteor/vulcan:core'; | |
import { Random } from 'meteor/random'; | |
async function runVoteMigration(collectionName) { | |
try { | |
//Abort early if votes collection is not empty | |
if (Votes.findOne()) { |
This file contains hidden or 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
# Econ 101A Problem Set | |
##Problem 1: Univariate unconstrained maximization | |
$$ \max_x f(x;x_0) = e^{-(x-x_0)^2} $$ | |
### 1. Write down the first order conditions for this problem with respect to x (notice that $x_0$ is a parameter, you should not maximize with respect to it). | |
$$ f'(x;x_0) = 2 e^{-(x-x_0)^2)} (x_0-x) = 0 $$ |
This file contains hidden or 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
# Paper for Yan: Multiple Hypothesis Comparison | |
## Introduction | |
The gap between standard statistical hypothesis testing and bayesian statistics is large, and there are only a few efforts trying to bridge the gap between these two approaches and analyzing one from the perspective of the other. The purpose of this paper is to analyze a fundamental practice in standard statistics, comparing a null hypothesis to a competing hypothesis, to the ideal bayesian approach. The goal is to find useful guidelines that can help us understand and estimate the validity of the standard statistical practice from a bayesian viewpoint. | |
## The difference between standard hypothesis testing and bayesian analysis | |
The main difference that we are going to focus on, is that standard hypothesis testing relies on something we are going to call "dual hypothesis testing". The practice that to estimate the validity of a hypothesis, you test it against a "null-hypothesis". The bayesian approach, on the other hand, compares not only two |
This file contains hidden or 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
# Paper for Yan: Multiple Hypothesis Comparison | |
## Introduction | |
The gap between standard statistical hypothesis testing and bayesian statistics is large, and there are only a few efforts trying to bridge the gap between these two approaches and analyzing one from the perspective of the other. The purpose of this paper is to analyze a fundamental practice in standard statistics, comparing a null hypothesis to a competing hypothesis, to the ideal bayesian approach. The goal is to find useful guidelines that can help us understand and estimate the validity of the standard statistical practice from a bayesian viewpoint. | |
## The difference between standard hypothesis testing and bayesian analysis | |
The main difference that we are going to focus on, is that standard hypothesis testing relies on something we are going to call "dual hypothesis testing". The practice that to estimate the validity of a hypothesis, you test it against a "null-hypothesis". The bayesian approach, on the other hand, compares not only two |
This file contains hidden or 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
<h1 id="paper-for-yan-multiple-hypothesis-comparison">Paper for Yan: Multiple Hypothesis Comparison</h1> | |
<h2 id="introduction">Introduction</h2> | |
<p>The gap between standard statistical hypothesis testing and bayesian statistics is large, and there are only a few efforts trying to bridge the gap between these two approaches and analyzing one from the perspective of the other. The purpose of this paper is to analyze a fundamental practice in standard statistics, comparing a null hypothesis to a competing hypothesis, to the ideal bayesian approach. The goal is to find useful guidelines that can help us understand and estimate the validity of the standard statistical practice from a bayesian viewpoint.</p> | |
This file contains hidden or 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
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains hidden or 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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
This file contains hidden or 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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |