Re: [R] Inquiry about bandwidth rescaling in Ksmooth
Dear Bert, Thank you very much for your quick reply. I have tested this, and it indeed appears to be the source of the discrepancy I observed. My apologies for overlooking this in the documentation and thank you for clarifying. Cheers, Jan From: Bert Gunter Sent: Thursday, 26 October 2023 20:19 To: Jan Failenschmid Cc: r-help@r-project.org Subject: Re: [R] Inquiry about bandwidth rescaling in Ksmooth Apologies in advance if my comments don't help, in which case, no need to respond, but I noted in ?ksmooth: "bandwidth the bandwidth. The kernels are scaled so that their quartiles (viewed as probability densities) are at ± 0.25*bandwidth." So, could this be a source of the discrepancies you cited? Given that ?ksmooth explicitly says: "Note: This function was implemented for compatibility with S, although it is nowhere near as slow as the S function. Better kernel smoothers are available in other packages such as KernSmooth." One wonder why you bother with it at all? (That was rhetorical -- do not answer). Cheers, Bert On Thu, Oct 26, 2023 at 11:06 AM Jan Failenschmid via R-help wrote: > > Dear Sir, Madam, or to whom this may concern, > > my name is Jan Failenschmid and I am a Ph.D. student at Tilburg University. > For my project I have been looking into different types of kernel regression > estimators and corresponding R functions. > While comparing different functions I noticed that stats::ksmooth returned > different estimates for the same bandwidth > as other kernel regression estimators that should be equivalent (i.e. the > local polynomial estimators KernSmooth::locpoly and > locpol::locpol with degree 0). However, when optimizing the bandwidth of > ksmooth separately using the same loss function, I find comparable estimates > to the other two estimators for a (larger) different bandwidth. To confirm > this, I wrote my own Nadaraya-Watson kernel regression estimator, which is > consistent with the two local polynomial estimators and shows the same > discordance with ksmooth. > > This led me to the suspicion that the bandwidth that is passed to kmooth is > rescaled or transformed within the function. Unfortunately, I was not able to > confirm this with either the code of the function or the documentation. It > would be of great help to me if you could clarify this for me. > > Thank you very much for your time and help in advance. > > Kind regards, > > Jan Failenschmid > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry about bandwidth rescaling in Ksmooth
Apologies in advance if my comments don't help, in which case, no need to respond, but I noted in ?ksmooth: "bandwidth the bandwidth. The kernels are scaled so that their quartiles (viewed as probability densities) are at ± 0.25*bandwidth." So, could this be a source of the discrepancies you cited? Given that ?ksmooth explicitly says: "Note: This function was implemented for compatibility with S, although it is nowhere near as slow as the S function. Better kernel smoothers are available in other packages such as KernSmooth." One wonder why you bother with it at all? (That was rhetorical -- do not answer). Cheers, Bert On Thu, Oct 26, 2023 at 11:06 AM Jan Failenschmid via R-help wrote: > > Dear Sir, Madam, or to whom this may concern, > > my name is Jan Failenschmid and I am a Ph.D. student at Tilburg University. > For my project I have been looking into different types of kernel regression > estimators and corresponding R functions. > While comparing different functions I noticed that stats::ksmooth returned > different estimates for the same bandwidth > as other kernel regression estimators that should be equivalent (i.e. the > local polynomial estimators KernSmooth::locpoly and > locpol::locpol with degree 0). However, when optimizing the bandwidth of > ksmooth separately using the same loss function, I find comparable estimates > to the other two estimators for a (larger) different bandwidth. To confirm > this, I wrote my own Nadaraya-Watson kernel regression estimator, which is > consistent with the two local polynomial estimators and shows the same > discordance with ksmooth. > > This led me to the suspicion that the bandwidth that is passed to kmooth is > rescaled or transformed within the function. Unfortunately, I was not able to > confirm this with either the code of the function or the documentation. It > would be of great help to me if you could clarify this for me. > > Thank you very much for your time and help in advance. > > Kind regards, > > Jan Failenschmid > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry for R software Licensing.
On Sat, Jul 11, 2020 at 6:20 PM Stephen Ellison wrote: > > > Patrick (Malone Quantitative) > > There's only one version and it's free. > > You're forgetting Microsoft R, formerly Revolution R > (https://mran.revolutionanalytics.com/download), which comes in open and > enterprise flavours, both with multithreading and the latter with beefed up > database access services (from the marketing fluff). Is there actually an enterprise version? All I've ever seen is MRO, which hasn't been updated from R 3.5.3. --Ista > > S Ellison > > On Sat, Jul 11, 2020 at 1:46 PM Sachin Patil > wrote: > > > > Dear R Software Team, > > > > > > > > We want to know about R software Licensing to procure it. Do you have > > R software License version or any professional version? > > > > > > > > Regards, > > > > Sachin Patil > > > > *** > This email and any attachments are confidential. Any u...{{dropped:8}} __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry for R software Licensing.
> Patrick (Malone Quantitative) > There's only one version and it's free. You're forgetting Microsoft R, formerly Revolution R (https://mran.revolutionanalytics.com/download), which comes in open and enterprise flavours, both with multithreading and the latter with beefed up database access services (from the marketing fluff). I should say I've tried neither; the standard R download at R-project.org is fine for what I do. S Ellison On Sat, Jul 11, 2020 at 1:46 PM Sachin Patil wrote: > > Dear R Software Team, > > > > We want to know about R software Licensing to procure it. Do you have > R software License version or any professional version? > > > > Regards, > > Sachin Patil *** This email and any attachments are confidential. Any use...{{dropped:8}} __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry for R software Licensing.
... and details for downloading including worldwide repositories (i.e. *mirrors*) can be found here: https://cran.r-project.org/ Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Jul 11, 2020 at 10:56 AM Patrick (Malone Quantitative) < mal...@malonequantitative.com> wrote: > There's only one version and it's free. > > On Sat, Jul 11, 2020 at 1:46 PM Sachin Patil > wrote: > > > > Dear R Software Team, > > > > > > > > We want to know about R software Licensing to procure it. Do you have R > > software License version or any professional version? > > > > > > > > Regards, > > > > Sachin Patil > > > > IT Executive > > > > Vergo Pharma Research Pvt Ltd. > > > > (Division - Vergo Clinicals) > > Plot 24/1 D-1 Mologa de Orora, Corlim, > > > > Tiswadi, Goa-403110 India, > > > > Tel: +91 8326640555 > > > > > > > > > > [[alternative HTML version deleted]] > > > > __ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Patrick S. Malone, Ph.D., Malone Quantitative > NEW Service Models: http://malonequantitative.com > > He/Him/His > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry for R software Licensing.
There's only one version and it's free. On Sat, Jul 11, 2020 at 1:46 PM Sachin Patil wrote: > > Dear R Software Team, > > > > We want to know about R software Licensing to procure it. Do you have R > software License version or any professional version? > > > > Regards, > > Sachin Patil > > IT Executive > > Vergo Pharma Research Pvt Ltd. > > (Division - Vergo Clinicals) > Plot 24/1 D-1 Mologa de Orora, Corlim, > > Tiswadi, Goa-403110 India, > > Tel: +91 8326640555 > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Patrick S. Malone, Ph.D., Malone Quantitative NEW Service Models: http://malonequantitative.com He/Him/His __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry: R library for bioinformatics development process
Faris Zaidi Bin Mohd Nor farisza...@mardi.gov.my [Wed, Jul 29, 2015 at 05:38:59AM CEST]: Hi, I would like to know about the R library. Is there any library for bioinformatic development software purpose? Have you looked at the Bioconductor project? -- Johannes Hüsing There is something fascinating about science. One gets such wholesale returns of conjecture mailto:johan...@huesing.name from such a trifling investment of fact. http://derwisch.wikidot.com (Mark Twain, Life on the Mississippi) __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry
One place to look is: http://www.burns-stat.com/documents/tutorials/impatient-r/ This gives basic information on using R, and if that doesn't suffice, gives some hints about asking questions. Welcome to the R world. Pat On 13/02/2014 02:01, Kei_Takeuchi wrote: Dear R users, Hello, this is Kei Takeuchi in Japan. I have started to use R(windows, version3.0.2) and have a problem. I think it is not difficlut but since I am beginner of R, I have no way to solve it. Where can I post my question? Thank you in advance. Kei Takeuchi __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Patrick Burns pbu...@pburns.seanet.com twitter: @burnsstat @portfolioprobe http://www.portfolioprobe.com/blog http://www.burns-stat.com (home of: 'Impatient R' 'The R Inferno' 'Tao Te Programming') __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry
Hi Kei, Welcome. I think you can first read an Introduction to R (http://cran.r-project.org/doc/manuals/R-intro.pdf) Then read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code, as requested when you ask a question to the R-help mailing list. Also, some specific questions have to be asked to specific mailing list: http://www.r-project.org/mail.html Hope this helps, Pascal On 13 February 2014 11:01, Kei_Takeuchi kt...@jari.or.jp wrote: Dear R users, Hello, this is Kei Takeuchi in Japan. I have started to use R(windows, version3.0.2) and have a problem. I think it is not difficlut but since I am beginner of R, I have no way to solve it. Where can I post my question? Thank you in advance. Kei Takeuchi __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Inquiry about matrix pooling
Jana Makedonska wrote on 12/14/2011 07:19:23 PM: Dear R-users, I am a relatively new R user and I have a simple question. Is there a command attached to a R function, which performs matrix pooling? Thanks in advance, Jana -- -- The world is full of mysteries. Life is one. The curious limitations of finite minds are another.(J.B.S. Haldane, The Causes of Evolution) Jana Makedonska, M.Sc. Ph.D. candidate/ Part-time lecturer Department of Anthropology College of Arts Sciences State University of New York at Albany 1400 Washington Avenue 1 Albany, NY Office phone: 518-442-4699 What do you mean by matrix pooling? Can you give a simple example using small matrices showing what you have to start with and what you would like to end up with? Jean [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] inquiry about Version 2.11.0
Maria Clara Soto Velez wrote: Hello, I am trying to download the newest versión of R (R version 2.11.0), but I haven´t been able, because it seems that the file is not working properly. Could you help me? No. You have not provided enough information for us to even take a guess at what the problem is or how to fix it. At the minimum we would need to know: - What operating system you are using - What you mean by the file is not working properly * Which file? * How are you trying to install it? * What errors are you getting? Plus any other information you may feel could be helpful. Good luck! -Charlie - Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://r.789695.n4.nabble.com/inquiry-about-Version-2-11-0-tp2135896p2142385.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] inquiry about Version 2.11.0
On May 7, 2010, at 3:27 PM, Maria Clara Soto Velez wrote: Hello, I am trying to download the newest versión of R (R version 2.11.0), but I haven´t been able, because it seems that the file is not working properly. Details? Could you help me? Best Regards, María Clara Soto Vélez Colombia snipped David Winsemius, MD West Hartford, CT __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] inquiry on R News
On 28/05/2008, at 1:48 PM, Glenn Howell wrote: Dear R News, I am inquiring whether the articles that are published in the 'R News' have undergone a peer-review/refereeing process, for the purpose of reporting the academics publications here at the University of Sydney to the Australian Government. The most recent issue of `R News' (Vol. 8/1, May 2008) says (p. 72): ``R News articles are peer-reviewed.'' I think that's clear enough! cheers, Rolf Turner ## Attention:\ This e-mail message is privileged and confid...{{dropped:9}} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.