PowerTOST <1.2.7? [Power / Sample Size]
Hi IP,
the line
is a hint that you are using an outdated version of
If the first case “works” and you get an error in the second case, try
If you get the correct result this time I suspect that your version is ≤1.2-5. Try
In my posts I always presume the current version of R and libraries.
the line
Loading required package: mvtnorm
is a hint that you are using an outdated version of
PowerTOST
. Since the first five columns are correct, try this:library(PowerTOST)
power.TOST(CV=0.262, n=30) # case 1
# [1] 0.8005133 my result
power.TOST(CV=0.262, n=c(15, 15)) # case 2
# [1] 0.8005133 my result
If the first case “works” and you get an error in the second case, try
power2.TOST(CV=0.262, n=c(15, 15))
If you get the correct result this time I suspect that your version is ≤1.2-5. Try
packageVersion("PowerTOST")
power2.TOST()
was depreciated in 1.2.6 and removed in 1.2.7 (2015-06-03); the current version is 1.2.8 (2015-07-10).In my posts I always presume the current version of R and libraries.
—
Dif-tor heh smusma 🖖🏼 Довге життя Україна!![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Adjusting for expected dropout-rate Helmut 2015-06-17 12:33 [Power / Sample Size]
- Percentage calculation d_labes 2015-06-18 09:02
- Adjusting for expected dropout-rate - Nitpicking zizou 2015-08-18 23:34
- Good point! Helmut 2015-08-19 02:20
- Good point! intuitivepharma 2015-08-19 07:47
- Copy paste error d_labes 2015-08-19 10:12
- Copy paste error intuitivepharma 2015-08-19 11:18
- PowerTOST <1.2.7?Helmut 2015-08-19 11:44
- PowerTOST <1.2.7? intuitivepharma 2015-08-26 14:41
- PowerTOST <1.2.7?Helmut 2015-08-19 11:44
- Copy paste error intuitivepharma 2015-08-19 11:18
- Copy paste error d_labes 2015-08-19 10:12
- Good point! intuitivepharma 2015-08-19 07:47
- Good point! Helmut 2015-08-19 02:20