BE-proff ● 2015-08-10 11:07 (3512 d 19:03 ago) Posting: # 15206 Views: 18,488 |
|
Hi All, Quite interesting article about comparison of normality tests is available at https://noppa.aalto.fi/noppa/kurssi/becs-114.5501/materiaali/Becs-114_5501_normality_tests_comparison.pdf But one thing worries: the article concludes that all tests are rather weak if sample size is below 30. ![]() What to think about BE-studies with samples 18, 24? ![]() Edit: Category changed from General statistics. Since the second reply I think that this category fits better. [Helmut] |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2015-08-11 03:21 (3512 d 02:49 ago) @ BE-proff Posting: # 15218 Views: 17,183 |
|
Hi BE-proff, interesting paper. So I stick with Shapiro-Wilk for my home brewed stuff. ❝ But one thing worries: the article concludes that all tests are rather weak if sample size is below 30. ❝ What to think about BE-studies with samples 18, 24? Don’t test for normality. The multiplicative model we are using in BE is based on
Nitpicking:
— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
BE-proff ● 2015-08-11 12:06 (3511 d 18:03 ago) @ Helmut Posting: # 15224 Views: 16,963 |
|
Hi Helmut, Many thanks for reply. My progress with R has pended because R-console doesn't want to see TOST library ![]() BTW is there a "support" where I could place a screenshot with the error? ![]() |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2015-08-11 14:07 (3511 d 16:02 ago) @ BE-proff Posting: # 15225 Views: 17,052 |
|
Hi BE-proff, ❝ […] R-console doesn't want to see TOST library Define “doesn’t want”. ![]() ❝ Maybe R doesn't work with Windows 8? Oh, it does. AFAIK, Detlew developed the latest version under Win8. Try this:
❝ BTW is there a "support" where I could place a screenshot with the error? Nope, there is no “support” in R. Generally you could ask the maintainer(s) of packages. You find the contact e-mail(s) in the DESCRIPTION-file. Type packageDescription("foo") , where foo is he name of the library.PS: Sometimes we forget to post the required libraries here. Without library(PowerTOST ) in the current R-session – if you copy/paste sampleN.TOST(CV=0.3) – R will tell you:Error: could not find function "sampleN.TOST" In my posts (containing multiple code sections) I start with library(foo) on top. Of course, if someone tries only a later part, an error will be thrown. I will change my habits and start all sections with library(foo) .PPS: For the code posted above you don’t need to load anything. — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
BE-proff ● 2015-08-11 14:29 (3511 d 15:41 ago) @ Helmut Posting: # 15226 Views: 16,934 |
|
Dear Helmut, Thank you for comprehensive instructions ) I will torture R again today ![]() Regarding screenshots - do you work with Gyazo links? |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2015-08-11 15:18 (3511 d 14:52 ago) @ BE-proff Posting: # 15228 Views: 16,949 |
|
Hi BE-proff, ❝ I will torture R again today Good luck! ❝ Regarding screenshots - do you work with Gyazo links? Nope. If you uploaded one, you could post the URL here. If the width of the screenshot is larger than ~720px I recommend to post a link (see here) instead of using the img-BBCode – otherwise it will screw up the layout of the post. — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
BE-proff ● 2015-08-12 00:15 (3511 d 05:55 ago) @ Helmut Posting: # 15236 Views: 16,979 |
|
Dear Helmut, This evening is not kind to me ![]() I entered library () and PowerTOST was shown in the list. But command library (PowerTOST) returns: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘mvtnorm’ Error: package or namespace load failed for ‘PowerTOST’ What could it mean? ![]() |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2015-08-12 00:28 (3511 d 05:41 ago) @ BE-proff Posting: # 15237 Views: 17,091 |
|
Hi BE-proff, package mvtnorm is required by PowerTOST to access the noncentral t-distribution. I always thought that dependent libraries are downloaded automatically. Suggestion: Close R, start it again, and download / install mvtnorm from your preferred mirror. Then try library(PowerTOST) again.— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
BE-proff ● 2015-08-12 00:39 (3511 d 05:30 ago) @ Helmut Posting: # 15238 Views: 16,901 |
|
Hi Helmut, It it getting really interesting ![]() I have installed missed mvtnorm package and now R says: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : object 'vI' not found Error: package or namespace load failed for ‘PowerTOST’ |
d_labes ★★★ Berlin, Germany, 2015-08-12 11:07 (3510 d 19:03 ago) @ BE-proff Posting: # 15240 Views: 17,630 |
|
Dear BE-proff, dear Helmut, ❝ It it getting really interesting ❝ ❝ I have installed missed mvtnorm package and now R says: ❝ ❝ Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : object 'vI' not found ❝ Error: package or namespace load failed for ‘PowerTOST’ That all is very mysterious to me ![]() I always got packages including all dependencies. And they worked out of the box. How do you install packages? Via menu within Rgui.exe? Or via install.packages() ? Any errors during installation?After Goggling a while I think this link Number 7 may be a hint to the reason: The user which you use to install packages must have write permissions to the location where the package will be saved on your drive(s). Usually this is "c:\Program Files\R\R-3.2.1\library\" if you haven't set it to other. And 'ordinary' users don't have write permissions there. You may query the path by .libPaths() Then check if the directories PowerTOST and/or mvtnorm look like the other packages of the base install.BTW: It may be a good idea to have the packages not in base installation separated. I have a directory "c:\Program Files\R\library\" for that ![]() To work with this setting you have to create under "c:\Program Files\R\R-3.2.1\etc\" a file named Renviron.site with the contentR_LIBS="C:/Program Files/R/library" But beware also your write permissions in that location. Hope this helps. — Regards, Detlew |
BE-proff ● 2015-08-12 12:36 (3510 d 17:34 ago) @ d_labes Posting: # 15241 Views: 16,836 |
|
Dear Detlew, I installed packages via Menu option - installation from local zip-file. Package was installed without any errors. Maybe this way was incorrect? As I am not strong user how to write relevant permissions? Thank you in advance! P.S. I will also try to install package on a netbook with Win 7 ![]() This Win has less problems with users and permissons ) |
d_labes ★★★ Berlin, Germany, 2015-08-12 13:13 (3510 d 16:57 ago) @ BE-proff Posting: # 15243 Views: 16,826 |
|
Dear BE-proff, ❝ I installed packages via Menu option - installation from local zip-file. Package was installed without any errors. Ok, then dependencies are not automatically resolved, I think. Use menu packages/install package(s) to install from CRAN directly (without download of any *.zip) and to resolve also the dependencies. Or type in the console install.packages("PowerTOST", dependencies=TRUE) .What puzzles me a little bit is "installed without any errors". Really? ❝ As I am not strong user how to write relevant permissions? Simplest: Log-on as administrator, if you are allowed, and then install package(s). Second simplest: Ask a good friend with Windoof's (doof=stupid) skills or ask your administrator ![]() Little bit harder: Consult Windows forums. This here is not such one. — Regards, Detlew |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2015-08-12 13:43 (3510 d 16:26 ago) @ d_labes Posting: # 15244 Views: 16,846 |
|
Dear Detlew, ❝ Exactly correct. ❝ What puzzles me a little bit is "installed without any errors". Really? Apparently, he downloaded the zip file of PowerTOST (as well as mvtnorm) from CRAN repository site first. And then install PowerTOST (and mvtnorm) from 'install package from a local zip file...'. In this case, there would not have any error at all. It looks like that the package mvtnorm need to import methods from its DESCRIPTION file. So he also needs to install the package methods using install.packages("methods"), if not to re-install PowerTOST as you suggest.— All the best, -- Yung-jin Lee bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee Kaohsiung, Taiwan https://www.pkpd168.com/bear Download link (updated) -> here |
BE-proff ● 2015-08-12 14:06 (3510 d 16:03 ago) @ yjlee168 Posting: # 15246 Views: 16,667 |
|
Hi Yung-jin Lee, ![]() I will try to follow your tip Thanks |
d_labes ★★★ Berlin, Germany, 2015-08-12 15:02 (3510 d 15:08 ago) @ yjlee168 Posting: # 15248 Views: 16,746 |
|
Dear Yung-jin, ❝ ... It looks like that the package Package methods is usually contained in the base installation, I think.— Regards, Detlew |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2015-08-12 15:13 (3510 d 14:57 ago) @ d_labes Posting: # 15249 Views: 16,997 |
|
Dear Detlew & Yung-jin, ❝ Package Correct. After starting R and cat(sort((.packages())), "\n") I got:
— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2015-08-12 16:58 (3510 d 13:12 ago) @ d_labes Posting: # 15250 Views: 16,649 |
|
Dear Detlew and Helmut, Yes, I was wrong about missing package methods. Is it possible because of missing another package crossdes required by PowerTOST? [edited] I just deleted the package crossdes from ../library, it seemed still OK to load PowerTOST. Failed to reproduce the error as described. ![]() ❝ Package — All the best, -- Yung-jin Lee bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee Kaohsiung, Taiwan https://www.pkpd168.com/bear Download link (updated) -> here |
d_labes ★★★ Berlin, Germany, 2015-08-12 18:33 (3510 d 11:36 ago) @ yjlee168 Posting: # 15251 Views: 16,799 |
|
Dear Yung-jin, Package crossdes is only named under suggest in the DESCRIPTION file of PowerTOST . That means it is not necessary for the correct functioning of PowerTOST . It's only necessary for some examples. Don't ask me which ![]() — Regards, Detlew |
BE-proff ● 2015-08-12 13:57 (3510 d 16:12 ago) @ d_labes Posting: # 15245 Views: 16,723 |
|
Dear Detlew, ❝ What puzzles me a little bit is "installed without any errors". Really? Really ![]() I will try to install it today ) |
BE-proff ● 2015-08-12 20:26 (3510 d 09:44 ago) @ BE-proff Posting: # 15252 Views: 16,777 |
|
Dear All, I don't believe but it looks like I have managed to install TOST! ![]() At least several codes placed by Helmut really work. Thanks to everyone to their tips and patience! ![]() |
d_labes ★★★ Berlin, Germany, 2015-08-13 10:36 (3509 d 19:33 ago) @ BE-proff Posting: # 15253 Views: 16,340 |
|
Dear BE-proff, That's a great step toward your name suffix ![]() Enjoy the big, wide world of power/sample size estimation possibilities in PowerTOST .— Regards, Detlew |