Re: [R] Function for Distribution Fitting

2022-10-26 Thread JRG via R-help
"all possible probability distributions" I doubt that is a finite set. To select "a bunch of them" would seem to imply a reduction of that set based on what's possible/promising/pertinent in your specific problem. IMHO, what's the "most suitable distribution" tends to depend partly on knowledge

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

2022-09-11 Thread JRG via R-help
On 9/11/22 12:22, akshay kulkarni wrote: > Dear members, > I came across this queer thing during my analysis: >> as.integer("09098") > 9098 > > Any idea on how to retain the "0"? Don't use as.integer(), which has performed precisely the service that it advertises? I certainly wouldn't call this

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/listinfo/r-help

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 proceed > to install it. > > > >

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 you in advance, > > Zyra > > >

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 prevent scientific

Re: [R] R rounding problem?

2020-09-03 Thread JRG via R-help
On 2020-09-04 00:46, array chip via R-help wrote: > Hello, > > I made a mistake today on simple counting in R, that almost got me into > trouble. After trying multiple times, I finally figured out it's rounding > issue in R. > > For exmaple, when I just simply type: > >> (6.9-6.3) > 0.6 > [1]