search for: demec

Displaying 8 results from an estimated 8 matches for "demec".

Did you mean: demez
2017 Dec 27
2
Numerical stability in chisq.test
The chisq.test on line 57 contains following code: STATISTIC <- sum(sort((x - E)^2/E, decreasing = TRUE)) However, based on book "Accuracy and stability of numerical algorithms" available from: http://ftp.demec.ufpr.br/CFD/bibliografia/Higham_2002_Accuracy%20and%20Stability%20of%20Numerical%20Algorithms.pdf Table 4.1 on page 89, it is better to sort the data in increasing order than in decreasing order, when the data are non-negative. An example: x = matrix(c(rep(1.1, 10000)), 10^16, nrow = 10001, ncol...
2017 Dec 28
0
Numerical stability in chisq.test
...look strange, but seems to be ## a sensible way to deal with rounding issues (PR#3486): STATISTIC <- sum(sort((x - E) ^ 2 / E, decreasing = TRUE)) -k > However, based on book "Accuracy and stability of numerical algorithms" available from: > http://ftp.demec.ufpr.br/CFD/bibliografia/Higham_2002_Accuracy%20and%20Stability%20of%20Numerical%20Algorithms.pdf > Table 4.1 on page 89, it is better to sort the data in increasing order than in decreasing order, when the data are non-negative. > An example: > x = matrix(c(rep(1.1, 10000)), 10^16, nrow...
2004 Dec 01
1
Ethernet bridges + udev problem?
...---- I''d like to know if this is something to worry about or if I should start looking for something else. I''m running Xen 2.0, with a Fedora Core 3 Domain0, and (trying to) connecting to a Gentoo Unpriviledged Domain. Many thanks! -- Ramiro Brito Willmersdorf rbw@demec.ufpe.br Departamento de Eng. Mecânica UFPE ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading...
2017 Dec 27
0
Numerical stability in chisq.test
The chisq.test contains following code: STATISTIC <- sum(sort((x - E)^2/E, decreasing = TRUE)) However, based on book Accuracy and stability of numerical algorithms <http://ftp.demec.ufpr.br/CFD/bibliografia/Higham_2002_Accuracy%20and%20Stability%20of%20Numerical%20Algorithms.pdf> Table 4.1 on page 89, it is better to sort the data in increasing order than in decreasing order, when the data are non-negative. A demonstrative example: x = matrix(c(rep(1.1, 10000)), 10^16, nro...
2010 Apr 29
2
Encrypting files in Rails
So far the tutorials I''ve seen are for encrypting text and then decrypting it back. So for example you have a plaintext = "some text" you encrypt it and then you decrypt it depending on how you encrypted it. What I am looking for is to encrypt a whole file and then store it. for example I allow my users to upload .doc/.xls files. I want to encrypt those files so I would not
2017 Dec 28
1
Numerical stability in chisq.test
...cts equivalent tables in the same way. "Fixing" the code may therefore unfix PR#3486; at the very least some care is required if this is modified. -pd > >> However, based on book "Accuracy and stability of numerical algorithms" available from: >> http://ftp.demec.ufpr.br/CFD/bibliografia/Higham_2002_Accuracy%20and%20Stability%20of%20Numerical%20Algorithms.pdf >> Table 4.1 on page 89, it is better to sort the data in increasing order than in decreasing order, when the data are non-negative. > >> An example: >> x = matrix(c(rep(1.1, 100...
2010 Jan 25
3
Dynamic attributes!
I want to create a general model ''Product'' that I will be able to store several attributes in it. For example the attributes :id :name :description are pretty stantard. So each product will have this attributes. However, I wanted to know if it is possible to create dynamic attributes. In the case of a cell phone device I might want to store the IMEI of the phone, this
2009 Apr 28
0
Radio buttons in forms
<% form_for @group do |g| %> To create a new group please complete the details below <p> <label> Group Name </label> <%= g.text_field :name %> </p> <p> <label> Public </label> <%= g.radio_button :type, "public" %> <label> Private </label> <%=