Pearson sample size
Prior to running an analysis, the minimum sample size needed to attempt to achieve the results desired.
A company is interested in running a correlation on the data collected from users on their website. To ensure an appropriate amount of data is collected, determine the minimum number of subjects needed for the results that are of interest.
Questo esercizio fa parte del corso
A/B Testing in R
Istruzioni dell'esercizio
- Load the
pwrpackage. - Derive the sample size needed to detect an effect of
0.8and a power of0.95using an alpha of0.05by runningpwr.r.test().
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Load the pwr package
___
# Determine the sample size needed
___