随笔分类 -  Simulation

摘要:Bootstrapping Boostrap 有放回的重抽样。 符号定义: 重复抽样的bootstrap $F^*$ 观测到的样本$\hat F$,是一个经验分布 真实分布$F$ Eg. 有一个要做估计的参数$\alpha$ 用原始样本做估计的估计值$\hat \alpha$ 用重抽样样本做估计的估 阅读全文
posted @ 2022-12-02 23:22 爱吃番茄的玛丽亚 阅读(831) 评论(0) 推荐(0)
摘要:Lecture_9-hypothesis_Testing_with_R library(tidyverse) library(knitr) library(dplyr) library(palmerpenguins) library(ggplot2) Statistical inference 通过 阅读全文
posted @ 2022-10-26 19:42 爱吃番茄的玛丽亚 阅读(94) 评论(0) 推荐(0)
摘要:Monte Carlo Integration 找到原函数,再计算 无法找到原函数,MC积分 Assume that we can generate $U_1, . . . , U_n \sim Uniform (0, 1)$, and define $\hat \theta_n = \frac{1 阅读全文
posted @ 2022-10-17 13:49 爱吃番茄的玛丽亚 阅读(58) 评论(0) 推荐(0)
摘要:library('ggplot2') library('dplyr') Lecture 6 Methods for generating random numbers Goal: Use U(0, 1) numbers to generate observations (variates) from 阅读全文
posted @ 2022-10-15 14:47 爱吃番茄的玛丽亚 阅读(94) 评论(0) 推荐(0)