estims_boxplot: Boxplot of estimates

Description Usage Arguments Value Examples

View source: R/estim_diagnostics.R

Description

Plot boxplots of estimators for different sample sizes.

Usage

1

Arguments

data

data frame returned by Estim_diagnost

sep

indicates whether all plots will be stacked together or returned as elements of a list

Value

ggplot2 object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Nmc=400
s<-seq(from = 1, to = 10, by = 2)*1e3
Inference<-function(s){
rrr<-rnorm(n=s)
list(Mn=mean(rrr), Sd=sd(rrr))
}

data <- Estim_diagnost(Nmc, s, Inference)
estims_boxplot(data)

estims_boxplot(data, sep=TRUE)

EstimDiagnostics documentation built on April 17, 2021, 1:08 a.m.