Skip to contents

Assuming that an observed mean (intensity) and sd are from a truncated normal distribution that is truncated on one side only.

Usage

correct_peak(observed_mean, observed_sd, n_observed, n_should_observe)

Arguments

observed_mean

the observed mean

observed_sd

the observed sd

n_observed

how many observations went into this mean

n_should_observe

how many observations should there have been?

Value

data.frame, with corrected mean and sd

References

https://en.wikipedia.org/wiki/Truncated_normal_distribution