Re: [R] Function for Distribution Fitting

2022-10-26 Thread JRG via R-help
uot; tends to depend partly on knowledge of the subject matter of your problem. Doesn't that put you back in your present situation? ---JRG On 10/26/22 09:41, Paul Bernal wrote: > Dear friends from the R community, > > Hope you are all doing great. So far, whenever I need to

Re: [R] inadequacy in as.integer....

2022-09-11 Thread JRG via R-help
t advertises? I certainly wouldn't call this an 'inadequacy'. And please stop posting in html. ---JRG > Yours sincerely, > AKSHAY M KULKARNI > > [[alternative HTML version deleted]] > > __ > R-help@r-proje

Re: [R] Multivariate tobit regression

2021-09-05 Thread JRG via R-help
Have you tried RSiteSearch("tobit") ?? ---JRG On 9/5/21 6:43 AM, Franklin Feukam via R-help wrote: > Multivariate Tobit regression __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/li

Re: [R] how to install npsm package

2021-09-01 Thread JRG via R-help
Does this link help? > https://rdrr.io/cran/npsm/ ---JRG On 9/1/21 10:34 AM, cag...@gmail.com wrote: > I need to install the package "npsm" to follow Kloke & McKean book. However, > npsm is no longer on CRAN. So, please let me know in detail how to

Re: [R] HW help

2021-01-08 Thread JRG via R-help
This list has a no-homework policy. ---JRG On 2021-01-08 09:43, zyra e madhe wrote: > Hello, > > I'm having difficulty doing the following exercise. > Can you please provide the code and some written explanation? > > Thank yo

Re: [R] long integer handling

2020-11-13 Thread JRG via R-help
The largest consecutive integer that can be represented in double precision is 2^53. You'll have to move past double precision. ---JRG On 2020-11-13 20:44, Yousri Fanous wrote: > I want to calculate 2^64-1 which is > 18446744073709551615 > > I set the following options to p

Re: [R] R rounding problem?

2020-09-03 Thread JRG via R-help
ems to be small, but this > could cause serious problem in real world. > > Can anyone shed a light on how to avoid the issue? Maybe learn a little bit about digital arithmetic? ---JRG > Thanks, > > Yi > > __ > R-help

Re: [R] R maintains old values

2018-07-03 Thread JRG
> variables > lurking. > > As usual, context is critical. Distributed scripts vs. developmental ones. Agreed! > > Now, to add to the controversy, how do you set a computer on fire? One of the Boring Company's Not A Flamethrowers ?? ---JRG John R. Gleason >

Re: [R] OT --- grammar.

2018-06-24 Thread JRG
acts or information ... 'Data' should not be used with a singular verb, as in 'the data is inconclusive'; it is by origin a Latin plural (the singular is 'datum') and should be used with a plural verb. ..." Interesting how Latin seemed to have changed in the past

Re: [R] OT --- grammar.

2018-06-24 Thread JRG
(I suspect there will be much disagreement about "is" vs. "are".) I'd say something like "the parameter degrees of freedom is defined to be ..." ---JRG On 06/24/2018 05:46 PM, Rolf Turner wrote: > > Does/should one say "the degrees of freedom

Re: [R] Interesting behavior of lm() with small, problematic data sets

2017-09-06 Thread JRG
Indeed (version-specific). With R 3.4.1 on linux, I get coefficients and residuals that are numerically exact, F-statistic = NaN, p-value = NA, R-squared = NaN, etc. All of which is what ought to happen, given that the response variable (y) is not actually variable. ---JRG John R. Gleason On

Re: [R] Interesting quirk with fractions and rounding

2017-04-21 Thread JRG
the same answer to the full precision available. So, it isn't "generally true true in R that (100*x)/y is more accurate than 100*(x/y), if x > y." The key (in your example) is a property of the way that floating point arithmetic is implemented. ---JRG On 04/21/2017 08:19 AM, P

Re: [R] Brown-Forsythe test of equality of MEANS

2010-08-30 Thread JRG
On 30 Aug 2010 at 13:25, Bert Gunter wrote: > Inline below. > > -- Bert Wrong. There *is* a Brown-Forsythe test of equality of means given heterogeneity of variance. [Kirk's experimental design tst, 3rd Ed. p. 155 describes the test.] ---JRG John R. Gleason > > On Mo

Re: [R] Stata files

2009-12-16 Thread JRG
hat was used by Versions 8 and 9 of Stata. ---JRG > On Wed, 16 Dec 2009, David Scott wrote: > > > I have a client who uses Stata 11. > > > > Can anyone advise me on ways of transferring data from this version of > > Stata > > to R? > > > > Readin

Re: [R] Inefficiency of SAS Programming

2009-02-26 Thread JRG
list could write it in R in a better way. Oh, it's definitely possible to write better SAS code than that. This should do the trick: Sub_n = input(scan("1 . 2 3 . 4 5 6 7 8 9 10 11 12 13 . 14 15 16", &N, " "), 2.); among various other ways. But it remains t

Re: [R] Simultaneous Confidence/Prediction Bands

2008-06-17 Thread JRG
rking-Hotelling approach one such possibility? ---JRG > cheers, > > Rolf Turner > > On 18/06/2008, at 9:32 AM, Jorge Ivan Velez wrote: > > > Dear Tom, > > > > See the examples in ?predict.lm > > > > HTH, > > > &g

Re: [R] Research Notes

2008-04-22 Thread JRG
/paste to other software. It's available for Windows and Linux, and it's free --- though more elaborate versions are available as shareware. (No connection, etc. Just a happy, long-term user.) ---JRG > __ > R-help@r-project.o

Re: [R] Mimicking SPSS weighted least squares

2008-03-10 Thread JRG
a frequency distribution table. I don't see anything fundamentally wrong with frequency weights, given an appropriate situation. ---JRG John R. Gleason > This seems to me to make little sense ... But then, it ***is*** > SPSS. :-) > > cheers, > >

Re: [R] Inferences for ratios of non-normal means

2007-09-11 Thread JRG
On 11 Sep 2007 at 22:10, Robert A LaBudde wrote: > I think a ratio of two normals has a Cauchy distribution, which > doesn't have a variance (the singularity in the denominator), so the > Central Limit theorem does not apply. > The Cauchy results if the denominator normal distribution has mean