Programming the statistical procedures from SAS

sample size required to estimate correlation with specified CI width

Reply
Regular Contributor
Posts: 164

sample size required to estimate correlation with specified CI width

is this possible with proc power? it seems the halfwidth option (used here: https://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_power_a0000...) is not available for the onecorr statement (https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_power_sect0...). There is an R function that can do it (https://people.ucsc.edu/~dgbonett/psyc181.html - function 6 in the word doc) but unsure if i should code from scratch in sas or use proc power. cheers

--------------
blog: papersandprograms.com
Ask a Question
Discussion stats
  • 0 replies
  • 83 views
  • 0 likes
  • 1 in conversation