ヒストグラム ~Rプログラミング~【Statistics with “R”- histogram】
トップページに戻る コード 意味 hist(x) xのヒストグラムを描く ヒストグラムとは,縦軸に度数横軸に階級をとったグラフで,1次元データの分布状況を確認す…
トップページに戻る コード 意味 hist(x) xのヒストグラムを描く ヒストグラムとは,縦軸に度数横軸に階級をとったグラフで,1次元データの分布状況を確認す…
トップページに戻る 定義(四分位数) 大きさ\(n\)の標本\(x_1,…,x_n\)に対し,これらを小さい順に並べたものを,\(x_\left(1…
トップページに戻る 中央値は、統計学においてデータの中央に位置する値を表す。データの中央値は、平均とは異なる統計的な指標である。 コード 意味 median(x…
トップページに戻る 大まかにまとめると以下の表のような区別になります。 値 由来 日本語 説明 NA Not Available 欠損値 本来データが存在してい…
トップページに戻る コード 意味 mean(x) xの平均を求める。 標本平均 データの位置を表す代表値のなかで最もポピュラーなのが標本平均だろう。 定義(標本…
トップページに戻る コード 意味 sum(x) xの総和を求める。 prod(x) xの総積を求める。 総和(シグマ) 統計学で扱う基本的な計算に総和があります…
トップページに戻る Rではデータの構造や型が関数などに想定されたものと異なるとエラーが出てしまい、命令が実行できない場合があります。なので、データの型について知…
トップページに戻る MathJaxとは MathJax とは、LaTeX や MathML で記述されたコマンドをWeb上で数式として表示するJavaScrip…
トップページに戻る プログラムを書く上で、「if文」などによる条件分岐が重要ですが、ifをうまく使うには真偽の扱いに慣れておく必要があります。Rでは真を「TRU…
トップページに戻る 比較演算子は、数学で2つの値を比較して関係性を評価する記号や演算子です。 以下によく使われる比較演算子を説明します。 Rでは加減乗除が出来る…