Displaying 13 results from an estimated 13 matches similar to: "uniform sampling without replacement algorithm"
2017 Oct 18
0
uniform sampling without replacement algorithm
Splus used a similar method for sampling from "bigdata" objects. One
problem was that sample() is used both for creating a sample and for
scrambling the order of a vector. Scrambling the order of a big vector
wastes time. It would be nice to be able to tell sample() that we don't
care about the order.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 10:55
2017 Oct 18
1
uniform sampling without replacement algorithm
> From: "Pavel S. Ruzankin" <ruzankin at math.nsc.ru>
> Let us consider the current uniform sampling without replacement
> algorithm. It resides in function do_sample in
> https://svn.r-project.org/R/trunk/src/main/random.c
> Its complexity is obviously O(n), where the sample is selected from
> 1...n, since the algorithm has to create a vector of length n. So
2017 Aug 14
1
weight in lm
> On Aug 14, 2017, at 5:17 AM, peter dalgaard <pdalgd at gmail.com> wrote:
>
>
>> On 14 Aug 2017, at 13:43 , Spencer Graves <spencer.graves at effectivedefense.org> wrote:
>>
>>
>>
>> On 2017-08-14 5:53 AM, peter dalgaard wrote:
>>>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote:
>>>>
2017 Aug 14
0
weight in lm
> On 14 Aug 2017, at 13:43 , Spencer Graves <spencer.graves at effectivedefense.org> wrote:
>
>
>
> On 2017-08-14 5:53 AM, peter dalgaard wrote:
>>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote:
>>>
>>> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10
>>>
>>> I
2006 Jul 21
1
Merge two dataframes of different column length and row length by two columns at a time
Hello,
I have two dataframes of the following structures:
str(a)
`data.frame': 1354896 obs. of 14 variables:
$ V1 : int 0 1 2 3 4 5 6 7 8 9 ...
$ V2 : int 0 0 0 0 0 0 0 0 0 0 ...
$ V3 : int 74 12305 103 12337 46 57 12446 90 12097 79 ...
$ V4 : num 11.8 1529.2 17.8 1579.4 6.7 ...
$ V5 : int 88 11040 104 11557 56 58 11040 74 10991 81 ...
$ V6 : num 15.5 1921.3 20.3
2017 Aug 14
2
weight in lm
On 2017-08-14 5:53 AM, peter dalgaard wrote:
>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote:
>>
>> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10
>>
>> I have 204 "baskets" of three types corresponding to factor F, each of size from 2 to 33 containing measurements, and need to know if the
2013 Apr 01
2
Is DUD available in nls()?
SAS has DUD (Does not Use Derivatives)/Secant Method for nonlinear
regression, does R offer this option for nonlinear regression?
I have read the helpfile for nls() and could not find such option, any
suggestion?
Thanks,
Derek
[[alternative HTML version deleted]]
2007 May 24
2
Calculation of ratio distribution properties
Hi all,
Looking to calculate the expected mean and variance of a ratio
distribution where the source distributions are gaussian with known
parameters and sample values are correlated. I see (from wikipedia:
http://en.wikipedia.org/wiki/
Ratio_distribution#Gaussian_ratio_distribution) that this calculation
is quite involved, so I'm hoping that someone has already coded a
function to
2009 Dec 11
12
Literature analysis
Dear all,
i am new in R. I am writing a review paper about batteries. However, i
am interested in analyzing all the papers by keywords, author,
references and year.
This could be done by "refviz" a software, which is only running on
windows machines and which is not free.
So my question to you is, is it somehow possible to write a script that
can do all of this work?
And if yes, with
2017 Jun 09
3
Creating a private CRAN with webpages
I'm not trying to create a mirror of the CRAN. I also do not want to create
a "subset" of CRAN packages. Sorry if my explanation was confusing. There
are internal proprietary R packages that I would like to host on a private
repo. I like the CRAN web pages that allow a user to browse the various
packages from a browser without having to first install them. I want to
duplicate the
2017 May 30
2
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
>>>>> Serguei Sokol <sokol at insa-toulouse.fr>
>>>>> on Mon, 29 May 2017 15:28:12 +0200 writes:
> Sorry, I have seen it too late that we had different tab
> width in the original file and my editor. Here is the
> patch with all white spaces instead of mixing tabs and
> white spaces.
thank you - it still gives quite a few
2011 Jun 12
1
Score Test Function
Greeting R Community,
I'm trying to learn Logistic Regression on my own and am using An Introduction to Logistic Regression Analysis and Reporting (Peng, C., Lee, K., & Ingersoll, G. ,2002). This article uses a Score Test Stat as a measure of overall fit for a logistic regression model. The author calculates this statistic using SAS. I am looking for an [R] function that can compute
2017 May 30
3
stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3
>>>>> Serguei Sokol <sokol at insa-toulouse.fr>
>>>>> on Tue, 30 May 2017 16:01:17 +0200 writes:
> Le 30/05/2017 ? 09:33, Martin Maechler a ?crit : ...
>> However, even after the patch, The example from the SO
>> post differs from the result of Richie Cotton's
>> function...
> The explanation is quite simple.