sample.size.floored.variance: Sample size floored variance

Description Usage Arguments Value

View source: R/background.functions.r

Description

Returns necessary sample size for a given power and dataset, but treats any standard deviation below 0.1 as 0.1

Usage

1
sample.size.floored.variance(alpha, margin, dependent.variable, weights)

Arguments

alpha

Numeric alpha.

margin

Numeric error margin.

dependent.variable

The variable being sampled as a vector.

weights

Numeric weights (if present) as a vector.

Value

A list containing the parameters and a data.frame with the smoothed estimates.


kernelPhil documentation built on Feb. 25, 2021, 5:08 p.m.