モンティ・ホール問題のプログラム

「モンティ・ホール問題のプログラム」の編集履歴(バックアップ)一覧はこちら

モンティ・ホール問題のプログラム - (2011/07/13 (水) 23:43:46) の1つ前との変更点

追加された行は緑色になります。

削除された行は赤色になります。

そのうち作る予定。C++でつくろかな。(OK) **モンティ・ホール問題 ***[[ためしてガッテン2011年7月6日放送分>http://www9.nhk.or.jp/gatten/archives/P20110706.html]] これを見たことをきっかけにして興味を持った。2年前期のSG田先生による確率・統計の授業でもBayesの定理を使って似たような話を扱った気がするが、よく覚えていない。ちなみにためしてガッテンは何年ぶりかで見たのだが(というか真剣に見たのは初めて)、この回はお恥ずかしいことに出だしのポイントカードの話の時点で目から鱗で、続いてモンティ・ホール問題はばっちり間違えたし、最後は「予約すると合格率70%超の阪大受験生向けのアパート」というので阪大生と阪大教授が出てきたりと、なかなか面白かった。なんで見ようかと思ったかというと、奥村先生やきくちさんのツイートから。 #html2(){<!-- http://twitter.com/#!/h_okumura/status/88512563540803584 --> <style type='text/css'>.bbpBox88512563540803584 {background:url(http://a0.twimg.com/images/themes/theme1/bg.png) #C0DEED;padding:20px;} p.bbpTweet{background:#fff;padding:10px 12px 10px 12px;margin:0;min-height:48px;color:#000;font-size:18px !important;line-height:22px;-moz-border-radius:5px;-webkit-border-radius:5px} p.bbpTweet span.metadata{display:block;width:100%;clear:both;margin-top:8px;padding-top:12px;height:40px;border-top:1px solid #fff;border-top:1px solid #e6e6e6} p.bbpTweet span.metadata span.author{line-height:19px} p.bbpTweet span.metadata span.author img{float:left;margin:0 7px 0 0px;width:38px;height:38px} p.bbpTweet a:hover{text-decoration:underline}p.bbpTweet span.timestamp{font-size:12px;display:block}</style> <div class='bbpBox88512563540803584'><p class='bbpTweet'>今夜のガッテン「数字トリック見破り術」<a href="http://www9.nhk.or.jp/gatten/schedule/" rel="nofollow">http://www9.nhk.or.jp/gatten/schedule/</a> マンモの話は有名ですね<span class='timestamp'><a title='Wed Jul 06 07:40:14 +0000 2011' href='http://twitter.com/#!/h_okumura/status/88512563540803584'>less than a minute ago</a> via <a href="http://www.echofon.com/" rel="nofollow">Echofon</a> <a href='http://twitter.com/intent/favorite?tweet_id=88512563540803584'><img src='http://si0.twimg.com/images/dev/cms/intents/icons/favorite.png' /> Favorite</a> <a href='http://twitter.com/intent/retweet?tweet_id=88512563540803584'><img src='http://si0.twimg.com/images/dev/cms/intents/icons/retweet.png' /> Retweet</a> <a href='http://twitter.com/intent/tweet?in_reply_to=88512563540803584'><img src='http://si0.twimg.com/images/dev/cms/intents/icons/reply.png' /> Reply</a></span><span class='metadata'><span class='author'><a href='http://twitter.com/h_okumura'><img src='http://a0.twimg.com/profile_images/597427742/okumura-091227-200_normal.jpg' /></a><strong><a href='http://twitter.com/h_okumura'>Haruhiko Okumura</a></strong><br/>h_okumura</span></span></p></div> <!-- end of tweet -->}
そのうち作る予定。C++でつくろかな。(OK) **モンティ・ホール問題 ***[[ためしてガッテン2011年7月6日放送分>http://www9.nhk.or.jp/gatten/archives/P20110706.html]] これを見たことをきっかけにして興味を持った。2年前期のSG田先生による確率・統計の授業でもBayesの定理を使って似たような話を扱った気がするが、よく覚えていない。ちなみにためしてガッテンは何年ぶりかで見たのだが(というか真剣に見たのは初めて)、この回はお恥ずかしいことに出だしのポイントカードの話の時点で目から鱗で、続いてモンティ・ホール問題はばっちり間違えたし、最後は「予約すると合格率70%超の阪大受験生向けのアパート」というので阪大生と阪大教授が出てきたりと、なかなか面白かった。なんで見ようかと思ったかというと、奥村先生やきくちさんのツイートから。 #html2(){<div class="kwout" style="text-align: center;"><img src="http://kwout.com/cutout/b/hv/nn/ife_bor.jpg" alt="http://twitter.com/#!/h_okumura/status/88512563540803584" title="Twitter" width="472" height="269" style="border: none;" usemap="#map_bhvnnife" /><map id="map_bhvnnife" name="map_bhvnnife"><area coords="235,215,252,236" href="http://twitter.com/#!/tekitobibouroku" alt="" shape="rect" /><area coords="20,76,417,103" href="http://www9.nhk.or.jp/gatten/schedule/" alt="" shape="rect" /><area coords="196,215,213,236" href="http://twitter.com/#!/yasaiijuice" alt="" shape="rect" /><area coords="98,215,115,236" href="http://twitter.com/#!/Ponkitta" alt="" shape="rect" /><area coords="40,215,57,236" href="http://twitter.com/#!/nishi_aki" alt="" shape="rect" /><area coords="59,215,76,236" href="http://twitter.com/#!/7m4gmh" alt="" shape="rect" /><area coords="20,142,40,154" href="http://twitter.com/#!/h_okumura/status/88512563540803584" alt="" shape="rect" /><area coords="137,215,154,236" href="http://twitter.com/#!/daisuke1021" alt="" shape="rect" /><area coords="254,215,271,236" href="http://twitter.com/#!/hycbee" alt="" shape="rect" /><area coords="79,215,96,236" href="http://twitter.com/#!/Yoneckland2" alt="" shape="rect" /><area coords="176,215,193,236" href="http://twitter.com/#!/hkondo" alt="" shape="rect" /><area coords="118,215,135,236" href="http://twitter.com/#!/ShueiYAMADA" alt="" shape="rect" /><area coords="100,185,151,201" href="http://twitter.com/#!/tss_0101" alt="" shape="rect" /><area coords="20,215,37,236" href="http://twitter.com/#!/tss_0101" alt="" shape="rect" /><area coords="64,2,158,19" href="http://twitter.com/#!/h_okumura" alt="" shape="rect" /><area coords="215,215,232,236" href="http://twitter.com/#!/ringorou" alt="" shape="rect" /><area coords="157,215,174,236" href="http://twitter.com/#!/do_gugan" alt="" shape="rect" /><area coords="274,215,291,236" href="http://twitter.com/#!/yuto_w_pa_" alt="" shape="rect" /><area coords="60,142,95,154" href="http://www.echofon.com/" alt="" shape="rect" /></map><p style="margin-top: 10px; text-align: center;"><a href="http://twitter.com/#!/h_okumura/status/88512563540803584">Twitter</a> via <a href="http://kwout.com/quote/bhvnnife">kwout</a></p></div>} http://twitter.com/#!/h_okumura/status/88512563540803584 http://twitter.com/#!/kikumaco/status/88525434521784320 http://twitter.com/#!/h_okumura/status/88576648756203520 http://twitter.com/#!/kikumaco/status/88592396576751616

表示オプション

横に並べて表示:
変化行の前後のみ表示: